From 84884bf9916f774fbdd996e4d5caad1780600e60 Mon Sep 17 00:00:00 2001 From: Ben Dean-Kawamura Date: Tue, 12 Dec 2023 14:13:45 +0000 Subject: [PATCH] Bug 1867639 - Running mach uniffi generate. r=markh,janerik Differential Revision: https://phabricator.services.mozilla.com/D195155 --- .../generated/RustRemoteSettings.sys.mjs | 78 +- .../components/generated/RustSuggest.sys.mjs | 62 +- .../components/generated/RustTabs.sys.mjs | 294 +-- .../fixtures/generated/RustArithmetic.sys.mjs | 74 +- .../generated/RustCustomTypes.sys.mjs | 2 +- .../generated/RustExternalTypes.sys.mjs | 73 +- .../generated/RustFixtureCallbacks.sys.mjs | 14 +- .../fixtures/generated/RustGeometry.sys.mjs | 4 +- .../fixtures/generated/RustRondpoint.sys.mjs | 2088 ++++++++--------- .../fixtures/generated/RustSprites.sys.mjs | 60 +- .../fixtures/generated/RustTodolist.sys.mjs | 248 +- .../uniffi-js/UniFFIFixtureScaffolding.cpp | 1828 ++++++++------- .../uniffi-js/UniFFIGeneratedScaffolding.cpp | 568 ++--- 13 files changed, 2737 insertions(+), 2656 deletions(-) diff --git a/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustRemoteSettings.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustRemoteSettings.sys.mjs index 5f92849d4b56..8ca22a33e166 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustRemoteSettings.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustRemoteSettings.sys.mjs @@ -158,7 +158,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerRemoteSettings() { - const pointerId = 3; // remote_settings:RemoteSettings + const pointerId = 0; // remote_settings:RemoteSettings const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); this.pos += 8; return res; @@ -168,7 +168,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. writePointerRemoteSettings(value) { - const pointerId = 3; // remote_settings:RemoteSettings + const pointerId = 0; // remote_settings:RemoteSettings UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -356,18 +356,52 @@ export class RemoteSettings { throw e; } return UniFFIScaffolding.callSync( - 24, // remote_settings:uniffi_remote_settings_fn_constructor_remotesettings_new + 0, // remote_settings:uniffi_remote_settings_fn_constructor_remotesettings_new FfiConverterTypeRemoteSettingsConfig.lower(remoteSettingsConfig), ) } return handleRustResult(functionCall(), liftResult, liftError);} + downloadAttachmentToPath(attachmentId,path) { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeRemoteSettingsError.lift(data); + const functionCall = () => { + try { + FfiConverterString.checkType(attachmentId) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("attachmentId"); + } + throw e; + } + try { + FfiConverterString.checkType(path) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("path"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 1, // remote_settings:uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path + FfiConverterTypeRemoteSettings.lower(this), + FfiConverterString.lower(attachmentId), + FfiConverterString.lower(path), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + getRecords() { const liftResult = (result) => FfiConverterTypeRemoteSettingsResponse.lift(result); const liftError = (data) => FfiConverterTypeRemoteSettingsError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 25, // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records + 2, // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records FfiConverterTypeRemoteSettings.lower(this), ) } @@ -391,7 +425,7 @@ export class RemoteSettings { throw e; } return UniFFIScaffolding.callAsync( - 26, // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records_since + 3, // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records_since FfiConverterTypeRemoteSettings.lower(this), FfiConverterU64.lower(timestamp), ) @@ -403,40 +437,6 @@ export class RemoteSettings { } } - downloadAttachmentToPath(attachmentId,path) { - const liftResult = (result) => undefined; - const liftError = (data) => FfiConverterTypeRemoteSettingsError.lift(data); - const functionCall = () => { - try { - FfiConverterString.checkType(attachmentId) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("attachmentId"); - } - throw e; - } - try { - FfiConverterString.checkType(path) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("path"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 27, // remote_settings:uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path - FfiConverterTypeRemoteSettings.lower(this), - FfiConverterString.lower(attachmentId), - FfiConverterString.lower(path), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - } // Export the FFIConverter object to make external types work. diff --git a/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustSuggest.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustSuggest.sys.mjs index 12efae3f840e..be3ded472752 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustSuggest.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustSuggest.sys.mjs @@ -158,7 +158,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerSuggestStore() { - const pointerId = 2; // suggest:SuggestStore + const pointerId = 1; // suggest:SuggestStore const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); this.pos += 8; return res; @@ -168,7 +168,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. writePointerSuggestStore(value) { - const pointerId = 2; // suggest:SuggestStore + const pointerId = 1; // suggest:SuggestStore UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -464,29 +464,20 @@ export class SuggestStore { throw e; } return UniFFIScaffolding.callSync( - 18, // suggest:uniffi_suggest_fn_constructor_suggeststore_new + 4, // suggest:uniffi_suggest_fn_constructor_suggeststore_new FfiConverterString.lower(path), FfiConverterOptionalTypeRemoteSettingsConfig.lower(settingsConfig), ) } return handleRustResult(functionCall(), liftResult, liftError);} - query(query) { - const liftResult = (result) => FfiConverterSequenceTypeSuggestion.lift(result); + clear() { + const liftResult = (result) => undefined; const liftError = (data) => FfiConverterTypeSuggestApiError.lift(data); const functionCall = () => { - try { - FfiConverterTypeSuggestionQuery.checkType(query) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("query"); - } - throw e; - } return UniFFIScaffolding.callAsync( - 19, // suggest:uniffi_suggest_fn_method_suggeststore_query + 5, // suggest:uniffi_suggest_fn_method_suggeststore_clear FfiConverterTypeSuggestStore.lower(this), - FfiConverterTypeSuggestionQuery.lower(query), ) } try { @@ -496,18 +487,6 @@ export class SuggestStore { } } - interrupt() { - const liftResult = (result) => undefined; - const liftError = null; - const functionCall = () => { - return UniFFIScaffolding.callSync( - 20, // suggest:uniffi_suggest_fn_method_suggeststore_interrupt - FfiConverterTypeSuggestStore.lower(this), - ) - } - return handleRustResult(functionCall(), liftResult, liftError); - } - ingest(constraints) { const liftResult = (result) => undefined; const liftError = (data) => FfiConverterTypeSuggestApiError.lift(data); @@ -521,7 +500,7 @@ export class SuggestStore { throw e; } return UniFFIScaffolding.callAsync( - 21, // suggest:uniffi_suggest_fn_method_suggeststore_ingest + 6, // suggest:uniffi_suggest_fn_method_suggeststore_ingest FfiConverterTypeSuggestStore.lower(this), FfiConverterTypeSuggestIngestionConstraints.lower(constraints), ) @@ -533,13 +512,34 @@ export class SuggestStore { } } - clear() { + interrupt() { const liftResult = (result) => undefined; + const liftError = null; + const functionCall = () => { + return UniFFIScaffolding.callSync( + 7, // suggest:uniffi_suggest_fn_method_suggeststore_interrupt + FfiConverterTypeSuggestStore.lower(this), + ) + } + return handleRustResult(functionCall(), liftResult, liftError); + } + + query(query) { + const liftResult = (result) => FfiConverterSequenceTypeSuggestion.lift(result); const liftError = (data) => FfiConverterTypeSuggestApiError.lift(data); const functionCall = () => { + try { + FfiConverterTypeSuggestionQuery.checkType(query) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("query"); + } + throw e; + } return UniFFIScaffolding.callAsync( - 22, // suggest:uniffi_suggest_fn_method_suggeststore_clear + 8, // suggest:uniffi_suggest_fn_method_suggeststore_query FfiConverterTypeSuggestStore.lower(this), + FfiConverterTypeSuggestionQuery.lower(query), ) } try { @@ -1407,7 +1407,7 @@ export function rawSuggestionUrlMatches(rawUrl,url) { throw e; } return UniFFIScaffolding.callSync( - 23, // suggest:uniffi_suggest_fn_func_raw_suggestion_url_matches + 9, // suggest:uniffi_suggest_fn_func_raw_suggestion_url_matches FfiConverterString.lower(rawUrl), FfiConverterString.lower(url), ) diff --git a/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustTabs.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustTabs.sys.mjs index f360fd9662f2..1feac5218504 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustTabs.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustTabs.sys.mjs @@ -154,31 +154,11 @@ class ArrayBufferDataStream { return value; } - // Reads a TabsStore pointer from the data stream - // UniFFI Pointers are **always** 8 bytes long. That is enforced - // by the C++ and Rust Scaffolding code. - readPointerTabsStore() { - const pointerId = 0; // tabs:TabsStore - const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); - this.pos += 8; - return res; - } - - // Writes a TabsStore pointer into the data stream - // UniFFI Pointers are **always** 8 bytes long. That is enforced - // by the C++ and Rust Scaffolding code. - writePointerTabsStore(value) { - const pointerId = 0; // tabs:TabsStore - UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); - this.pos += 8; - } - - // Reads a TabsBridgedEngine pointer from the data stream // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerTabsBridgedEngine() { - const pointerId = 1; // tabs:TabsBridgedEngine + const pointerId = 2; // tabs:TabsBridgedEngine const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); this.pos += 8; return res; @@ -188,7 +168,27 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. writePointerTabsBridgedEngine(value) { - const pointerId = 1; // tabs:TabsBridgedEngine + const pointerId = 2; // tabs:TabsBridgedEngine + UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); + this.pos += 8; + } + + + // Reads a TabsStore pointer from the data stream + // UniFFI Pointers are **always** 8 bytes long. That is enforced + // by the C++ and Rust Scaffolding code. + readPointerTabsStore() { + const pointerId = 3; // tabs:TabsStore + const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); + this.pos += 8; + return res; + } + + // Writes a TabsStore pointer into the data stream + // UniFFI Pointers are **always** 8 bytes long. That is enforced + // by the C++ and Rust Scaffolding code. + writePointerTabsStore(value) { + const pointerId = 3; // tabs:TabsStore UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -333,69 +333,12 @@ export class TabsBridgedEngine { this[uniffiObjectPtr] = opts[constructUniffiObject]; } - lastSync() { - const liftResult = (result) => FfiConverterI64.lift(result); + apply() { + const liftResult = (result) => FfiConverterSequencestring.lift(result); const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 5, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_last_sync - FfiConverterTypeTabsBridgedEngine.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - setLastSync(lastSync) { - const liftResult = (result) => undefined; - const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); - const functionCall = () => { - try { - FfiConverterI64.checkType(lastSync) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("lastSync"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 6, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync - FfiConverterTypeTabsBridgedEngine.lower(this), - FfiConverterI64.lower(lastSync), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - syncId() { - const liftResult = (result) => FfiConverterOptionalstring.lift(result); - const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 7, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_id - FfiConverterTypeTabsBridgedEngine.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - resetSyncId() { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 8, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id + 10, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_apply FfiConverterTypeTabsBridgedEngine.lower(this), ) } @@ -419,7 +362,7 @@ export class TabsBridgedEngine { throw e; } return UniFFIScaffolding.callAsync( - 9, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id + 11, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id FfiConverterTypeTabsBridgedEngine.lower(this), FfiConverterString.lower(newSyncId), ) @@ -431,6 +374,22 @@ export class TabsBridgedEngine { } } + lastSync() { + const liftResult = (result) => FfiConverterI64.lift(result); + const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 12, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_last_sync + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + prepareForSync(clientData) { const liftResult = (result) => undefined; const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); @@ -444,7 +403,7 @@ export class TabsBridgedEngine { throw e; } return UniFFIScaffolding.callAsync( - 10, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync + 13, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync FfiConverterTypeTabsBridgedEngine.lower(this), FfiConverterString.lower(clientData), ) @@ -456,12 +415,12 @@ export class TabsBridgedEngine { } } - syncStarted() { + reset() { const liftResult = (result) => undefined; const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 11, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_started + 14, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset FfiConverterTypeTabsBridgedEngine.lower(this), ) } @@ -472,38 +431,38 @@ export class TabsBridgedEngine { } } - storeIncoming(incomingEnvelopesAsJson) { + resetSyncId() { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 15, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + setLastSync(lastSync) { const liftResult = (result) => undefined; const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); const functionCall = () => { try { - FfiConverterSequencestring.checkType(incomingEnvelopesAsJson) + FfiConverterI64.checkType(lastSync) } catch (e) { if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("incomingEnvelopesAsJson"); + e.addItemDescriptionPart("lastSync"); } throw e; } return UniFFIScaffolding.callAsync( - 12, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_store_incoming - FfiConverterTypeTabsBridgedEngine.lower(this), - FfiConverterSequencestring.lower(incomingEnvelopesAsJson), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - apply() { - const liftResult = (result) => FfiConverterSequencestring.lift(result); - const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 13, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_apply + 16, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync FfiConverterTypeTabsBridgedEngine.lower(this), + FfiConverterI64.lower(lastSync), ) } try { @@ -534,7 +493,7 @@ export class TabsBridgedEngine { throw e; } return UniFFIScaffolding.callAsync( - 14, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded + 17, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded FfiConverterTypeTabsBridgedEngine.lower(this), FfiConverterI64.lower(newTimestamp), FfiConverterSequenceTypeTabsGuid.lower(uploadedIds), @@ -547,12 +506,37 @@ export class TabsBridgedEngine { } } + storeIncoming(incomingEnvelopesAsJson) { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); + const functionCall = () => { + try { + FfiConverterSequencestring.checkType(incomingEnvelopesAsJson) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("incomingEnvelopesAsJson"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 18, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_store_incoming + FfiConverterTypeTabsBridgedEngine.lower(this), + FfiConverterSequencestring.lower(incomingEnvelopesAsJson), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + syncFinished() { const liftResult = (result) => undefined; const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 15, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_finished + 19, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_finished FfiConverterTypeTabsBridgedEngine.lower(this), ) } @@ -563,12 +547,28 @@ export class TabsBridgedEngine { } } - reset() { + syncId() { + const liftResult = (result) => FfiConverterOptionalstring.lift(result); + const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 20, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_id + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + syncStarted() { const liftResult = (result) => undefined; const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 16, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset + 21, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_started FfiConverterTypeTabsBridgedEngine.lower(this), ) } @@ -584,7 +584,7 @@ export class TabsBridgedEngine { const liftError = (data) => FfiConverterTypeTabsApiError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 17, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_wipe + 22, // tabs:uniffi_tabs_fn_method_tabsbridgedengine_wipe FfiConverterTypeTabsBridgedEngine.lower(this), ) } @@ -654,7 +654,7 @@ export class TabsStore { throw e; } return UniFFIScaffolding.callAsync( - 0, // tabs:uniffi_tabs_fn_constructor_tabsstore_new + 23, // tabs:uniffi_tabs_fn_constructor_tabsstore_new FfiConverterString.lower(path), ) } @@ -664,12 +664,44 @@ export class TabsStore { return Promise.reject(error) }} + bridgedEngine() { + const liftResult = (result) => FfiConverterTypeTabsBridgedEngine.lift(result); + const liftError = null; + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 24, // tabs:uniffi_tabs_fn_method_tabsstore_bridged_engine + FfiConverterTypeTabsStore.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + getAll() { const liftResult = (result) => FfiConverterSequenceTypeClientRemoteTabs.lift(result); const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 1, // tabs:uniffi_tabs_fn_method_tabsstore_get_all + 25, // tabs:uniffi_tabs_fn_method_tabsstore_get_all + FfiConverterTypeTabsStore.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + registerWithSyncManager() { + const liftResult = (result) => undefined; + const liftError = null; + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 26, // tabs:uniffi_tabs_fn_method_tabsstore_register_with_sync_manager FfiConverterTypeTabsStore.lower(this), ) } @@ -693,7 +725,7 @@ export class TabsStore { throw e; } return UniFFIScaffolding.callAsync( - 2, // tabs:uniffi_tabs_fn_method_tabsstore_set_local_tabs + 27, // tabs:uniffi_tabs_fn_method_tabsstore_set_local_tabs FfiConverterTypeTabsStore.lower(this), FfiConverterSequenceTypeRemoteTabRecord.lower(remoteTabs), ) @@ -705,38 +737,6 @@ export class TabsStore { } } - registerWithSyncManager() { - const liftResult = (result) => undefined; - const liftError = null; - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 3, // tabs:uniffi_tabs_fn_method_tabsstore_register_with_sync_manager - FfiConverterTypeTabsStore.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - bridgedEngine() { - const liftResult = (result) => FfiConverterTypeTabsBridgedEngine.lift(result); - const liftError = null; - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 4, // tabs:uniffi_tabs_fn_method_tabsstore_bridged_engine - FfiConverterTypeTabsStore.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - } // Export the FFIConverter object to make external types work. diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustArithmetic.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustArithmetic.sys.mjs index 4f9b6123e5e0..19ff4c3e4714 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustArithmetic.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustArithmetic.sys.mjs @@ -377,41 +377,7 @@ export function add(a,b) { throw e; } return UniFFIScaffolding.callAsync( - 30, // arithmetic:uniffi_arithmetic_fn_func_add - FfiConverterU64.lower(a), - FfiConverterU64.lower(b), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } -} - -export function sub(a,b) { - - const liftResult = (result) => FfiConverterU64.lift(result); - const liftError = (data) => FfiConverterTypeArithmeticError.lift(data); - const functionCall = () => { - try { - FfiConverterU64.checkType(a) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("a"); - } - throw e; - } - try { - FfiConverterU64.checkType(b) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("b"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 31, // arithmetic:uniffi_arithmetic_fn_func_sub + 28, // arithmetic:uniffi_arithmetical_fn_func_add FfiConverterU64.lower(a), FfiConverterU64.lower(b), ) @@ -445,7 +411,7 @@ export function div(dividend,divisor) { throw e; } return UniFFIScaffolding.callAsync( - 32, // arithmetic:uniffi_arithmetic_fn_func_div + 29, // arithmetic:uniffi_arithmetical_fn_func_div FfiConverterU64.lower(dividend), FfiConverterU64.lower(divisor), ) @@ -479,7 +445,41 @@ export function equal(a,b) { throw e; } return UniFFIScaffolding.callAsync( - 33, // arithmetic:uniffi_arithmetic_fn_func_equal + 30, // arithmetic:uniffi_arithmetical_fn_func_equal + FfiConverterU64.lower(a), + FfiConverterU64.lower(b), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } +} + +export function sub(a,b) { + + const liftResult = (result) => FfiConverterU64.lift(result); + const liftError = (data) => FfiConverterTypeArithmeticError.lift(data); + const functionCall = () => { + try { + FfiConverterU64.checkType(a) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("a"); + } + throw e; + } + try { + FfiConverterU64.checkType(b) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("b"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 31, // arithmetic:uniffi_arithmetical_fn_func_sub FfiConverterU64.lower(a), FfiConverterU64.lower(b), ) diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustCustomTypes.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustCustomTypes.sys.mjs index 2ba5f2dc1ad9..b1fb4f9bff53 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustCustomTypes.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustCustomTypes.sys.mjs @@ -452,7 +452,7 @@ export function getCustomTypesDemo(demo) { throw e; } return UniFFIScaffolding.callAsync( - 117, // custom_types:uniffi_custom_types_fn_func_get_custom_types_demo + 32, // custom_types:uniffi_uniffi_custom_types_fn_func_get_custom_types_demo FfiConverterOptionalTypeCustomTypesDemo.lower(demo), ) } diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustExternalTypes.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustExternalTypes.sys.mjs index 90faf2b63f97..d1c223b89278 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustExternalTypes.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustExternalTypes.sys.mjs @@ -310,6 +310,43 @@ export class FfiConverterOptionalTypeLine extends FfiConverterArrayBuffer { } } +// Export the FFIConverter object to make external types work. +export class FfiConverterOptionalTypePoint extends FfiConverterArrayBuffer { + static checkType(value) { + if (value !== undefined && value !== null) { + FfiConverterTypePoint.checkType(value) + } + } + + static read(dataStream) { + const code = dataStream.readUint8(0); + switch (code) { + case 0: + return null + case 1: + return FfiConverterTypePoint.read(dataStream) + default: + throw UniFFIError(`Unexpected code: ${code}`); + } + } + + static write(dataStream, value) { + if (value === null || value === undefined) { + dataStream.writeUint8(0); + return; + } + dataStream.writeUint8(1); + FfiConverterTypePoint.write(dataStream, value) + } + + static computeSize(value) { + if (value === null || value === undefined) { + return 1; + } + return 1 + FfiConverterTypePoint.computeSize(value) + } +} + import { FfiConverterTypeLine, Line, @@ -344,7 +381,7 @@ export function gradient(value) { throw e; } return UniFFIScaffolding.callAsync( - 118, // external_types:uniffi_external_types_fn_func_gradient + 33, // external_types:uniffi_uniffi_fixture_external_types_fn_func_gradient FfiConverterOptionalTypeLine.lower(value), ) } @@ -354,3 +391,37 @@ export function gradient(value) { return Promise.reject(error) } } + +export function intersection(ln1,ln2) { + + const liftResult = (result) => FfiConverterOptionalTypePoint.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterTypeLine.checkType(ln1) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("ln1"); + } + throw e; + } + try { + FfiConverterTypeLine.checkType(ln2) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("ln2"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 34, // external_types:uniffi_uniffi_fixture_external_types_fn_func_intersection + FfiConverterTypeLine.lower(ln1), + FfiConverterTypeLine.lower(ln2), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } +} diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustFixtureCallbacks.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustFixtureCallbacks.sys.mjs index 2df269bbda86..bc6fe7d7e20d 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustFixtureCallbacks.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustFixtureCallbacks.sys.mjs @@ -480,7 +480,7 @@ export class FfiConverterString extends FfiConverter { // Export the FFIConverter object to make external types work. -export class FfiConverterCallbackInterfaceLogger extends FfiConverter { +export class FfiConverterTypeLogger extends FfiConverter { static lower(callbackObj) { return callbackHandlerLogger.storeCallbackObj(callbackObj) } @@ -580,7 +580,7 @@ export function logEvenNumbers(logger,items) { const liftError = null; const functionCall = () => { try { - FfiConverterCallbackInterfaceLogger.checkType(logger) + FfiConverterTypeLogger.checkType(logger) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("logger"); @@ -596,8 +596,8 @@ export function logEvenNumbers(logger,items) { throw e; } return UniFFIScaffolding.callAsync( - 115, // fixture_callbacks:uniffi_fixture_callbacks_fn_func_log_even_numbers - FfiConverterCallbackInterfaceLogger.lower(logger), + 35, // fixture_callbacks:uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers + FfiConverterTypeLogger.lower(logger), FfiConverterSequencei32.lower(items), ) } @@ -614,7 +614,7 @@ export function logEvenNumbersMainThread(logger,items) { const liftError = null; const functionCall = () => { try { - FfiConverterCallbackInterfaceLogger.checkType(logger) + FfiConverterTypeLogger.checkType(logger) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("logger"); @@ -630,8 +630,8 @@ export function logEvenNumbersMainThread(logger,items) { throw e; } return UniFFIScaffolding.callSync( - 116, // fixture_callbacks:uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread - FfiConverterCallbackInterfaceLogger.lower(logger), + 36, // fixture_callbacks:uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread + FfiConverterTypeLogger.lower(logger), FfiConverterSequencei32.lower(items), ) } diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustGeometry.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustGeometry.sys.mjs index cf0fd3d1dfd0..95594f6efdbd 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustGeometry.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustGeometry.sys.mjs @@ -468,7 +468,7 @@ export function gradient(ln) { throw e; } return UniFFIScaffolding.callAsync( - 28, // geometry:uniffi_geometry_fn_func_gradient + 37, // geometry:uniffi_uniffi_geometry_fn_func_gradient FfiConverterTypeLine.lower(ln), ) } @@ -501,7 +501,7 @@ export function intersection(ln1,ln2) { throw e; } return UniFFIScaffolding.callAsync( - 29, // geometry:uniffi_geometry_fn_func_intersection + 38, // geometry:uniffi_uniffi_geometry_fn_func_intersection FfiConverterTypeLine.lower(ln1), FfiConverterTypeLine.lower(ln2), ) diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustRondpoint.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustRondpoint.sys.mjs index 43bb9271a4ae..3ea8b6b131f1 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustRondpoint.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustRondpoint.sys.mjs @@ -154,51 +154,11 @@ class ArrayBufferDataStream { return value; } - // Reads a Retourneur pointer from the data stream - // UniFFI Pointers are **always** 8 bytes long. That is enforced - // by the C++ and Rust Scaffolding code. - readPointerRetourneur() { - const pointerId = 4; // rondpoint:Retourneur - const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); - this.pos += 8; - return res; - } - - // Writes a Retourneur pointer into the data stream - // UniFFI Pointers are **always** 8 bytes long. That is enforced - // by the C++ and Rust Scaffolding code. - writePointerRetourneur(value) { - const pointerId = 4; // rondpoint:Retourneur - UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); - this.pos += 8; - } - - - // Reads a Stringifier pointer from the data stream - // UniFFI Pointers are **always** 8 bytes long. That is enforced - // by the C++ and Rust Scaffolding code. - readPointerStringifier() { - const pointerId = 5; // rondpoint:Stringifier - const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); - this.pos += 8; - return res; - } - - // Writes a Stringifier pointer into the data stream - // UniFFI Pointers are **always** 8 bytes long. That is enforced - // by the C++ and Rust Scaffolding code. - writePointerStringifier(value) { - const pointerId = 5; // rondpoint:Stringifier - UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); - this.pos += 8; - } - - // Reads a Optionneur pointer from the data stream // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerOptionneur() { - const pointerId = 6; // rondpoint:Optionneur + const pointerId = 4; // rondpoint:Optionneur const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); this.pos += 8; return res; @@ -208,7 +168,47 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. writePointerOptionneur(value) { - const pointerId = 6; // rondpoint:Optionneur + const pointerId = 4; // rondpoint:Optionneur + UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); + this.pos += 8; + } + + + // Reads a Retourneur pointer from the data stream + // UniFFI Pointers are **always** 8 bytes long. That is enforced + // by the C++ and Rust Scaffolding code. + readPointerRetourneur() { + const pointerId = 5; // rondpoint:Retourneur + const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); + this.pos += 8; + return res; + } + + // Writes a Retourneur pointer into the data stream + // UniFFI Pointers are **always** 8 bytes long. That is enforced + // by the C++ and Rust Scaffolding code. + writePointerRetourneur(value) { + const pointerId = 5; // rondpoint:Retourneur + UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); + this.pos += 8; + } + + + // Reads a Stringifier pointer from the data stream + // UniFFI Pointers are **always** 8 bytes long. That is enforced + // by the C++ and Rust Scaffolding code. + readPointerStringifier() { + const pointerId = 6; // rondpoint:Stringifier + const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); + this.pos += 8; + return res; + } + + // Writes a Stringifier pointer into the data stream + // UniFFI Pointers are **always** 8 bytes long. That is enforced + // by the C++ and Rust Scaffolding code. + writePointerStringifier(value) { + const pointerId = 6; // rondpoint:Stringifier UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -620,7 +620,7 @@ export class Optionneur { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 63, // rondpoint:uniffi_rondpoint_fn_constructor_optionneur_new + 39, // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_optionneur_new ) } try { @@ -642,7 +642,7 @@ export class Optionneur { throw e; } return UniFFIScaffolding.callAsync( - 64, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_boolean + 40, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_boolean FfiConverterTypeOptionneur.lower(this), FfiConverterBool.lower(value), ) @@ -654,12 +654,12 @@ export class Optionneur { } } - sinonString(value = "default") { - const liftResult = (result) => FfiConverterString.lift(result); + sinonEnum(value = Enumeration.TROIS) { + const liftResult = (result) => FfiConverterTypeEnumeration.lift(result); const liftError = null; const functionCall = () => { try { - FfiConverterString.checkType(value) + FfiConverterTypeEnumeration.checkType(value) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("value"); @@ -667,509 +667,9 @@ export class Optionneur { throw e; } return UniFFIScaffolding.callAsync( - 65, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_string + 41, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_enum FfiConverterTypeOptionneur.lower(this), - FfiConverterString.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonSequence(value = []) { - const liftResult = (result) => FfiConverterSequencestring.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterSequencestring.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 66, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_sequence - FfiConverterTypeOptionneur.lower(this), - FfiConverterSequencestring.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonNull(value = null) { - const liftResult = (result) => FfiConverterOptionalstring.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterOptionalstring.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 67, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_null - FfiConverterTypeOptionneur.lower(this), - FfiConverterOptionalstring.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonZero(value = 0) { - const liftResult = (result) => FfiConverterOptionali32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterOptionali32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 68, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_zero - FfiConverterTypeOptionneur.lower(this), - FfiConverterOptionali32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU8Dec(value = 42) { - const liftResult = (result) => FfiConverterU8.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU8.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 69, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec - FfiConverterTypeOptionneur.lower(this), - FfiConverterU8.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonI8Dec(value = -42) { - const liftResult = (result) => FfiConverterI8.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI8.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 70, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec - FfiConverterTypeOptionneur.lower(this), - FfiConverterI8.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU16Dec(value = 42) { - const liftResult = (result) => FfiConverterU16.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU16.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 71, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec - FfiConverterTypeOptionneur.lower(this), - FfiConverterU16.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonI16Dec(value = 42) { - const liftResult = (result) => FfiConverterI16.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI16.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 72, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec - FfiConverterTypeOptionneur.lower(this), - FfiConverterI16.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU32Dec(value = 42) { - const liftResult = (result) => FfiConverterU32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 73, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec - FfiConverterTypeOptionneur.lower(this), - FfiConverterU32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonI32Dec(value = 42) { - const liftResult = (result) => FfiConverterI32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 74, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec - FfiConverterTypeOptionneur.lower(this), - FfiConverterI32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU64Dec(value = 42) { - const liftResult = (result) => FfiConverterU64.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU64.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 75, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec - FfiConverterTypeOptionneur.lower(this), - FfiConverterU64.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonI64Dec(value = 42) { - const liftResult = (result) => FfiConverterI64.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI64.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 76, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec - FfiConverterTypeOptionneur.lower(this), - FfiConverterI64.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU8Hex(value = 0xff) { - const liftResult = (result) => FfiConverterU8.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU8.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 77, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex - FfiConverterTypeOptionneur.lower(this), - FfiConverterU8.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonI8Hex(value = -127) { - const liftResult = (result) => FfiConverterI8.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI8.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 78, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex - FfiConverterTypeOptionneur.lower(this), - FfiConverterI8.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU16Hex(value = 0xffff) { - const liftResult = (result) => FfiConverterU16.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU16.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 79, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex - FfiConverterTypeOptionneur.lower(this), - FfiConverterU16.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonI16Hex(value = 0x7f) { - const liftResult = (result) => FfiConverterI16.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI16.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 80, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex - FfiConverterTypeOptionneur.lower(this), - FfiConverterI16.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU32Hex(value = 0xffffffff) { - const liftResult = (result) => FfiConverterU32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 81, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex - FfiConverterTypeOptionneur.lower(this), - FfiConverterU32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonI32Hex(value = 0x7fffffff) { - const liftResult = (result) => FfiConverterI32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 82, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex - FfiConverterTypeOptionneur.lower(this), - FfiConverterI32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU64Hex(value = 0xffffffffffffffff) { - const liftResult = (result) => FfiConverterU64.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU64.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 83, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex - FfiConverterTypeOptionneur.lower(this), - FfiConverterU64.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonI64Hex(value = 0x7fffffffffffffff) { - const liftResult = (result) => FfiConverterI64.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI64.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 84, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex - FfiConverterTypeOptionneur.lower(this), - FfiConverterI64.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - sinonU32Oct(value = 0o755) { - const liftResult = (result) => FfiConverterU32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 85, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct - FfiConverterTypeOptionneur.lower(this), - FfiConverterU32.lower(value), + FfiConverterTypeEnumeration.lower(value), ) } try { @@ -1192,7 +692,7 @@ export class Optionneur { throw e; } return UniFFIScaffolding.callAsync( - 86, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_f32 + 42, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f32 FfiConverterTypeOptionneur.lower(this), FfiConverterF32.lower(value), ) @@ -1217,7 +717,7 @@ export class Optionneur { throw e; } return UniFFIScaffolding.callAsync( - 87, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_f64 + 43, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f64 FfiConverterTypeOptionneur.lower(this), FfiConverterF64.lower(value), ) @@ -1229,12 +729,12 @@ export class Optionneur { } } - sinonEnum(value = Enumeration.TROIS) { - const liftResult = (result) => FfiConverterTypeEnumeration.lift(result); + sinonI16Dec(value = 42) { + const liftResult = (result) => FfiConverterI16.lift(result); const liftError = null; const functionCall = () => { try { - FfiConverterTypeEnumeration.checkType(value) + FfiConverterI16.checkType(value) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("value"); @@ -1242,9 +742,509 @@ export class Optionneur { throw e; } return UniFFIScaffolding.callAsync( - 88, // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_enum + 44, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec FfiConverterTypeOptionneur.lower(this), - FfiConverterTypeEnumeration.lower(value), + FfiConverterI16.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonI16Hex(value = 0x7f) { + const liftResult = (result) => FfiConverterI16.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI16.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 45, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex + FfiConverterTypeOptionneur.lower(this), + FfiConverterI16.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonI32Dec(value = 42) { + const liftResult = (result) => FfiConverterI32.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 46, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec + FfiConverterTypeOptionneur.lower(this), + FfiConverterI32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonI32Hex(value = 0x7fffffff) { + const liftResult = (result) => FfiConverterI32.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 47, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex + FfiConverterTypeOptionneur.lower(this), + FfiConverterI32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonI64Dec(value = 42) { + const liftResult = (result) => FfiConverterI64.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI64.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 48, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec + FfiConverterTypeOptionneur.lower(this), + FfiConverterI64.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonI64Hex(value = 0x7fffffffffffffff) { + const liftResult = (result) => FfiConverterI64.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI64.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 49, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex + FfiConverterTypeOptionneur.lower(this), + FfiConverterI64.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonI8Dec(value = -42) { + const liftResult = (result) => FfiConverterI8.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI8.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 50, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec + FfiConverterTypeOptionneur.lower(this), + FfiConverterI8.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonI8Hex(value = -127) { + const liftResult = (result) => FfiConverterI8.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI8.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 51, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex + FfiConverterTypeOptionneur.lower(this), + FfiConverterI8.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonNull(value = null) { + const liftResult = (result) => FfiConverterOptionalstring.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterOptionalstring.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 52, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_null + FfiConverterTypeOptionneur.lower(this), + FfiConverterOptionalstring.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonSequence(value = []) { + const liftResult = (result) => FfiConverterSequencestring.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterSequencestring.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 53, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_sequence + FfiConverterTypeOptionneur.lower(this), + FfiConverterSequencestring.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonString(value = "default") { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterString.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 54, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_string + FfiConverterTypeOptionneur.lower(this), + FfiConverterString.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU16Dec(value = 42) { + const liftResult = (result) => FfiConverterU16.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU16.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 55, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec + FfiConverterTypeOptionneur.lower(this), + FfiConverterU16.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU16Hex(value = 0xffff) { + const liftResult = (result) => FfiConverterU16.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU16.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 56, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex + FfiConverterTypeOptionneur.lower(this), + FfiConverterU16.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU32Dec(value = 42) { + const liftResult = (result) => FfiConverterU32.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 57, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec + FfiConverterTypeOptionneur.lower(this), + FfiConverterU32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU32Hex(value = 0xffffffff) { + const liftResult = (result) => FfiConverterU32.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 58, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex + FfiConverterTypeOptionneur.lower(this), + FfiConverterU32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU32Oct(value = 0o755) { + const liftResult = (result) => FfiConverterU32.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 59, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct + FfiConverterTypeOptionneur.lower(this), + FfiConverterU32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU64Dec(value = 42) { + const liftResult = (result) => FfiConverterU64.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU64.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 60, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec + FfiConverterTypeOptionneur.lower(this), + FfiConverterU64.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU64Hex(value = 0xffffffffffffffff) { + const liftResult = (result) => FfiConverterU64.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU64.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 61, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex + FfiConverterTypeOptionneur.lower(this), + FfiConverterU64.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU8Dec(value = 42) { + const liftResult = (result) => FfiConverterU8.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU8.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 62, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec + FfiConverterTypeOptionneur.lower(this), + FfiConverterU8.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonU8Hex(value = 0xff) { + const liftResult = (result) => FfiConverterU8.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU8.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 63, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex + FfiConverterTypeOptionneur.lower(this), + FfiConverterU8.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + sinonZero(value = 0) { + const liftResult = (result) => FfiConverterOptionali32.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterOptionali32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 64, // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_zero + FfiConverterTypeOptionneur.lower(this), + FfiConverterOptionali32.lower(value), ) } try { @@ -1305,7 +1305,7 @@ export class Retourneur { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 34, // rondpoint:uniffi_rondpoint_fn_constructor_retourneur_new + 65, // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_retourneur_new ) } try { @@ -1314,12 +1314,12 @@ export class Retourneur { return Promise.reject(error) }} - identiqueI8(value) { - const liftResult = (result) => FfiConverterI8.lift(result); + identiqueBoolean(value) { + const liftResult = (result) => FfiConverterBool.lift(result); const liftError = null; const functionCall = () => { try { - FfiConverterI8.checkType(value) + FfiConverterBool.checkType(value) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("value"); @@ -1327,209 +1327,9 @@ export class Retourneur { throw e; } return UniFFIScaffolding.callAsync( - 35, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i8 + 66, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_boolean FfiConverterTypeRetourneur.lower(this), - FfiConverterI8.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - identiqueU8(value) { - const liftResult = (result) => FfiConverterU8.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU8.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 36, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u8 - FfiConverterTypeRetourneur.lower(this), - FfiConverterU8.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - identiqueI16(value) { - const liftResult = (result) => FfiConverterI16.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI16.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 37, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i16 - FfiConverterTypeRetourneur.lower(this), - FfiConverterI16.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - identiqueU16(value) { - const liftResult = (result) => FfiConverterU16.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU16.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 38, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u16 - FfiConverterTypeRetourneur.lower(this), - FfiConverterU16.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - identiqueI32(value) { - const liftResult = (result) => FfiConverterI32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 39, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i32 - FfiConverterTypeRetourneur.lower(this), - FfiConverterI32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - identiqueU32(value) { - const liftResult = (result) => FfiConverterU32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 40, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u32 - FfiConverterTypeRetourneur.lower(this), - FfiConverterU32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - identiqueI64(value) { - const liftResult = (result) => FfiConverterI64.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI64.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 41, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i64 - FfiConverterTypeRetourneur.lower(this), - FfiConverterI64.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - identiqueU64(value) { - const liftResult = (result) => FfiConverterU64.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU64.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 42, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u64 - FfiConverterTypeRetourneur.lower(this), - FfiConverterU64.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - identiqueFloat(value) { - const liftResult = (result) => FfiConverterF32.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterF32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 43, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_float - FfiConverterTypeRetourneur.lower(this), - FfiConverterF32.lower(value), + FfiConverterBool.lower(value), ) } try { @@ -1552,7 +1352,7 @@ export class Retourneur { throw e; } return UniFFIScaffolding.callAsync( - 44, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_double + 67, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_double FfiConverterTypeRetourneur.lower(this), FfiConverterF64.lower(value), ) @@ -1564,12 +1364,12 @@ export class Retourneur { } } - identiqueBoolean(value) { - const liftResult = (result) => FfiConverterBool.lift(result); + identiqueFloat(value) { + const liftResult = (result) => FfiConverterF32.lift(result); const liftError = null; const functionCall = () => { try { - FfiConverterBool.checkType(value) + FfiConverterF32.checkType(value) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("value"); @@ -1577,9 +1377,9 @@ export class Retourneur { throw e; } return UniFFIScaffolding.callAsync( - 45, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_boolean + 68, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_float FfiConverterTypeRetourneur.lower(this), - FfiConverterBool.lower(value), + FfiConverterF32.lower(value), ) } try { @@ -1589,12 +1389,12 @@ export class Retourneur { } } - identiqueString(value) { - const liftResult = (result) => FfiConverterString.lift(result); + identiqueI16(value) { + const liftResult = (result) => FfiConverterI16.lift(result); const liftError = null; const functionCall = () => { try { - FfiConverterString.checkType(value) + FfiConverterI16.checkType(value) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("value"); @@ -1602,9 +1402,9 @@ export class Retourneur { throw e; } return UniFFIScaffolding.callAsync( - 46, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_string + 69, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i16 FfiConverterTypeRetourneur.lower(this), - FfiConverterString.lower(value), + FfiConverterI16.lower(value), ) } try { @@ -1614,12 +1414,12 @@ export class Retourneur { } } - identiqueNombresSignes(value) { - const liftResult = (result) => FfiConverterTypeDictionnaireNombresSignes.lift(result); + identiqueI32(value) { + const liftResult = (result) => FfiConverterI32.lift(result); const liftError = null; const functionCall = () => { try { - FfiConverterTypeDictionnaireNombresSignes.checkType(value) + FfiConverterI32.checkType(value) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("value"); @@ -1627,9 +1427,59 @@ export class Retourneur { throw e; } return UniFFIScaffolding.callAsync( - 47, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes + 70, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i32 FfiConverterTypeRetourneur.lower(this), - FfiConverterTypeDictionnaireNombresSignes.lower(value), + FfiConverterI32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + identiqueI64(value) { + const liftResult = (result) => FfiConverterI64.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI64.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 71, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i64 + FfiConverterTypeRetourneur.lower(this), + FfiConverterI64.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + identiqueI8(value) { + const liftResult = (result) => FfiConverterI8.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI8.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 72, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i8 + FfiConverterTypeRetourneur.lower(this), + FfiConverterI8.lower(value), ) } try { @@ -1652,7 +1502,7 @@ export class Retourneur { throw e; } return UniFFIScaffolding.callAsync( - 48, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_nombres + 73, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres FfiConverterTypeRetourneur.lower(this), FfiConverterTypeDictionnaireNombres.lower(value), ) @@ -1664,6 +1514,31 @@ export class Retourneur { } } + identiqueNombresSignes(value) { + const liftResult = (result) => FfiConverterTypeDictionnaireNombresSignes.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterTypeDictionnaireNombresSignes.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 74, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes + FfiConverterTypeRetourneur.lower(this), + FfiConverterTypeDictionnaireNombresSignes.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + identiqueOptionneurDictionnaire(value) { const liftResult = (result) => FfiConverterTypeOptionneurDictionnaire.lift(result); const liftError = null; @@ -1677,7 +1552,7 @@ export class Retourneur { throw e; } return UniFFIScaffolding.callAsync( - 49, // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire + 75, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire FfiConverterTypeRetourneur.lower(this), FfiConverterTypeOptionneurDictionnaire.lower(value), ) @@ -1689,6 +1564,131 @@ export class Retourneur { } } + identiqueString(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterString.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 76, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_string + FfiConverterTypeRetourneur.lower(this), + FfiConverterString.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + identiqueU16(value) { + const liftResult = (result) => FfiConverterU16.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU16.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 77, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u16 + FfiConverterTypeRetourneur.lower(this), + FfiConverterU16.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + identiqueU32(value) { + const liftResult = (result) => FfiConverterU32.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 78, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u32 + FfiConverterTypeRetourneur.lower(this), + FfiConverterU32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + identiqueU64(value) { + const liftResult = (result) => FfiConverterU64.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU64.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 79, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u64 + FfiConverterTypeRetourneur.lower(this), + FfiConverterU64.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + identiqueU8(value) { + const liftResult = (result) => FfiConverterU8.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU8.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 80, // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u8 + FfiConverterTypeRetourneur.lower(this), + FfiConverterU8.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + } // Export the FFIConverter object to make external types work. @@ -1740,7 +1740,7 @@ export class Stringifier { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 50, // rondpoint:uniffi_rondpoint_fn_constructor_stringifier_new + 81, // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_stringifier_new ) } try { @@ -1749,12 +1749,12 @@ export class Stringifier { return Promise.reject(error) }} - wellKnownString(value) { + toStringBoolean(value) { const liftResult = (result) => FfiConverterString.lift(result); const liftError = null; const functionCall = () => { try { - FfiConverterString.checkType(value) + FfiConverterBool.checkType(value) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("value"); @@ -1762,234 +1762,9 @@ export class Stringifier { throw e; } return UniFFIScaffolding.callAsync( - 51, // rondpoint:uniffi_rondpoint_fn_method_stringifier_well_known_string + 82, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_boolean FfiConverterTypeStringifier.lower(this), - FfiConverterString.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringI8(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI8.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 52, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i8 - FfiConverterTypeStringifier.lower(this), - FfiConverterI8.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringU8(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU8.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 53, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u8 - FfiConverterTypeStringifier.lower(this), - FfiConverterU8.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringI16(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI16.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 54, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i16 - FfiConverterTypeStringifier.lower(this), - FfiConverterI16.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringU16(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU16.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 55, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u16 - FfiConverterTypeStringifier.lower(this), - FfiConverterU16.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringI32(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 56, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i32 - FfiConverterTypeStringifier.lower(this), - FfiConverterI32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringU32(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 57, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u32 - FfiConverterTypeStringifier.lower(this), - FfiConverterU32.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringI64(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterI64.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 58, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i64 - FfiConverterTypeStringifier.lower(this), - FfiConverterI64.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringU64(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterU64.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 59, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u64 - FfiConverterTypeStringifier.lower(this), - FfiConverterU64.lower(value), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - toStringFloat(value) { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterF32.checkType(value) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("value"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 60, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_float - FfiConverterTypeStringifier.lower(this), - FfiConverterF32.lower(value), + FfiConverterBool.lower(value), ) } try { @@ -2012,7 +1787,7 @@ export class Stringifier { throw e; } return UniFFIScaffolding.callAsync( - 61, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_double + 83, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_double FfiConverterTypeStringifier.lower(this), FfiConverterF64.lower(value), ) @@ -2024,12 +1799,12 @@ export class Stringifier { } } - toStringBoolean(value) { + toStringFloat(value) { const liftResult = (result) => FfiConverterString.lift(result); const liftError = null; const functionCall = () => { try { - FfiConverterBool.checkType(value) + FfiConverterF32.checkType(value) } catch (e) { if (e instanceof UniFFITypeError) { e.addItemDescriptionPart("value"); @@ -2037,9 +1812,234 @@ export class Stringifier { throw e; } return UniFFIScaffolding.callAsync( - 62, // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_boolean + 84, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_float FfiConverterTypeStringifier.lower(this), - FfiConverterBool.lower(value), + FfiConverterF32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + toStringI16(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI16.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 85, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i16 + FfiConverterTypeStringifier.lower(this), + FfiConverterI16.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + toStringI32(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 86, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i32 + FfiConverterTypeStringifier.lower(this), + FfiConverterI32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + toStringI64(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI64.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 87, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i64 + FfiConverterTypeStringifier.lower(this), + FfiConverterI64.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + toStringI8(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterI8.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 88, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i8 + FfiConverterTypeStringifier.lower(this), + FfiConverterI8.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + toStringU16(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU16.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 89, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u16 + FfiConverterTypeStringifier.lower(this), + FfiConverterU16.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + toStringU32(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU32.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 90, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u32 + FfiConverterTypeStringifier.lower(this), + FfiConverterU32.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + toStringU64(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU64.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 91, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u64 + FfiConverterTypeStringifier.lower(this), + FfiConverterU64.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + toStringU8(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterU8.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 92, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u8 + FfiConverterTypeStringifier.lower(this), + FfiConverterU8.lower(value), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + wellKnownString(value) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterString.checkType(value) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("value"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 93, // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_well_known_string + FfiConverterTypeStringifier.lower(this), + FfiConverterString.lower(value), ) } try { @@ -3243,6 +3243,31 @@ export class FfiConverterMapStringTypeEnumerationAvecDonnees extends FfiConverte +export function copieCarte(c) { + + const liftResult = (result) => FfiConverterMapStringTypeEnumerationAvecDonnees.lift(result); + const liftError = null; + const functionCall = () => { + try { + FfiConverterMapStringTypeEnumerationAvecDonnees.checkType(c) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("c"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 94, // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_carte + FfiConverterMapStringTypeEnumerationAvecDonnees.lower(c), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } +} + export function copieDictionnaire(d) { const liftResult = (result) => FfiConverterTypeDictionnaire.lift(result); @@ -3257,7 +3282,7 @@ export function copieDictionnaire(d) { throw e; } return UniFFIScaffolding.callAsync( - 89, // rondpoint:uniffi_rondpoint_fn_func_copie_dictionnaire + 95, // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_dictionnaire FfiConverterTypeDictionnaire.lower(d), ) } @@ -3282,7 +3307,7 @@ export function copieEnumeration(e) { throw e; } return UniFFIScaffolding.callAsync( - 90, // rondpoint:uniffi_rondpoint_fn_func_copie_enumeration + 96, // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_enumeration FfiConverterTypeEnumeration.lower(e), ) } @@ -3307,7 +3332,7 @@ export function copieEnumerations(e) { throw e; } return UniFFIScaffolding.callAsync( - 91, // rondpoint:uniffi_rondpoint_fn_func_copie_enumerations + 97, // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_enumerations FfiConverterSequenceTypeEnumeration.lower(e), ) } @@ -3318,31 +3343,6 @@ export function copieEnumerations(e) { } } -export function copieCarte(c) { - - const liftResult = (result) => FfiConverterMapStringTypeEnumerationAvecDonnees.lift(result); - const liftError = null; - const functionCall = () => { - try { - FfiConverterMapStringTypeEnumerationAvecDonnees.checkType(c) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("c"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 92, // rondpoint:uniffi_rondpoint_fn_func_copie_carte - FfiConverterMapStringTypeEnumerationAvecDonnees.lower(c), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } -} - export function switcheroo(b) { const liftResult = (result) => FfiConverterBool.lift(result); @@ -3357,7 +3357,7 @@ export function switcheroo(b) { throw e; } return UniFFIScaffolding.callAsync( - 93, // rondpoint:uniffi_rondpoint_fn_func_switcheroo + 98, // rondpoint:uniffi_uniffi_rondpoint_fn_func_switcheroo FfiConverterBool.lower(b), ) } diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustSprites.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustSprites.sys.mjs index 4e33f0ce4460..6d72cfa69c78 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustSprites.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustSprites.sys.mjs @@ -325,7 +325,7 @@ export class Sprite { throw e; } return UniFFIScaffolding.callAsync( - 94, // sprites:uniffi_sprites_fn_constructor_sprite_new + 99, // sprites:uniffi_uniffi_sprites_fn_constructor_sprite_new FfiConverterOptionalTypePoint.lower(initialPosition), ) } @@ -361,7 +361,7 @@ export class Sprite { throw e; } return UniFFIScaffolding.callAsync( - 95, // sprites:uniffi_sprites_fn_constructor_sprite_new_relative_to + 100, // sprites:uniffi_uniffi_sprites_fn_constructor_sprite_new_relative_to FfiConverterTypePoint.lower(reference), FfiConverterTypeVector.lower(direction), ) @@ -377,7 +377,7 @@ export class Sprite { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 96, // sprites:uniffi_sprites_fn_method_sprite_get_position + 101, // sprites:uniffi_uniffi_sprites_fn_method_sprite_get_position FfiConverterTypeSprite.lower(this), ) } @@ -388,31 +388,6 @@ export class Sprite { } } - moveTo(position) { - const liftResult = (result) => undefined; - const liftError = null; - const functionCall = () => { - try { - FfiConverterTypePoint.checkType(position) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("position"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 97, // sprites:uniffi_sprites_fn_method_sprite_move_to - FfiConverterTypeSprite.lower(this), - FfiConverterTypePoint.lower(position), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - moveBy(direction) { const liftResult = (result) => undefined; const liftError = null; @@ -426,7 +401,7 @@ export class Sprite { throw e; } return UniFFIScaffolding.callAsync( - 98, // sprites:uniffi_sprites_fn_method_sprite_move_by + 102, // sprites:uniffi_uniffi_sprites_fn_method_sprite_move_by FfiConverterTypeSprite.lower(this), FfiConverterTypeVector.lower(direction), ) @@ -438,6 +413,31 @@ export class Sprite { } } + moveTo(position) { + const liftResult = (result) => undefined; + const liftError = null; + const functionCall = () => { + try { + FfiConverterTypePoint.checkType(position) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("position"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 103, // sprites:uniffi_uniffi_sprites_fn_method_sprite_move_to + FfiConverterTypeSprite.lower(this), + FfiConverterTypePoint.lower(position), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + } // Export the FFIConverter object to make external types work. @@ -668,7 +668,7 @@ export function translate(position,direction) { throw e; } return UniFFIScaffolding.callAsync( - 99, // sprites:uniffi_sprites_fn_func_translate + 104, // sprites:uniffi_uniffi_sprites_fn_func_translate FfiConverterTypePoint.lower(position), FfiConverterTypeVector.lower(direction), ) diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustTodolist.sys.mjs b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustTodolist.sys.mjs index 360ce7fb0da3..f9fb34258cf3 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustTodolist.sys.mjs +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustTodolist.sys.mjs @@ -298,7 +298,7 @@ export class TodoList { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 100, // todolist:uniffi_todolist_fn_constructor_todolist_new + 105, // todolist:uniffi_uniffi_todolist_fn_constructor_todolist_new ) } try { @@ -307,22 +307,22 @@ export class TodoList { return Promise.reject(error) }} - addItem(todo) { + addEntries(entries) { const liftResult = (result) => undefined; - const liftError = (data) => FfiConverterTypeTodoError.lift(data); + const liftError = null; const functionCall = () => { try { - FfiConverterString.checkType(todo) + FfiConverterSequenceTypeTodoEntry.checkType(entries) } catch (e) { if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("todo"); + e.addItemDescriptionPart("entries"); } throw e; } return UniFFIScaffolding.callAsync( - 101, // todolist:uniffi_todolist_fn_method_todolist_add_item + 106, // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_entries FfiConverterTypeTodoList.lower(this), - FfiConverterString.lower(todo), + FfiConverterSequenceTypeTodoEntry.lower(entries), ) } try { @@ -345,7 +345,7 @@ export class TodoList { throw e; } return UniFFIScaffolding.callAsync( - 102, // todolist:uniffi_todolist_fn_method_todolist_add_entry + 107, // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_entry FfiConverterTypeTodoList.lower(this), FfiConverterTypeTodoEntry.lower(entry), ) @@ -357,54 +357,22 @@ export class TodoList { } } - getEntries() { - const liftResult = (result) => FfiConverterSequenceTypeTodoEntry.lift(result); - const liftError = null; - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 103, // todolist:uniffi_todolist_fn_method_todolist_get_entries - FfiConverterTypeTodoList.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - getItems() { - const liftResult = (result) => FfiConverterSequencestring.lift(result); - const liftError = null; - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 104, // todolist:uniffi_todolist_fn_method_todolist_get_items - FfiConverterTypeTodoList.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - addEntries(entries) { + addItem(todo) { const liftResult = (result) => undefined; - const liftError = null; + const liftError = (data) => FfiConverterTypeTodoError.lift(data); const functionCall = () => { try { - FfiConverterSequenceTypeTodoEntry.checkType(entries) + FfiConverterString.checkType(todo) } catch (e) { if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("entries"); + e.addItemDescriptionPart("todo"); } throw e; } return UniFFIScaffolding.callAsync( - 105, // todolist:uniffi_todolist_fn_method_todolist_add_entries + 108, // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_item FfiConverterTypeTodoList.lower(this), - FfiConverterSequenceTypeTodoEntry.lower(entries), + FfiConverterString.lower(todo), ) } try { @@ -427,7 +395,7 @@ export class TodoList { throw e; } return UniFFIScaffolding.callAsync( - 106, // todolist:uniffi_todolist_fn_method_todolist_add_items + 109, // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_items FfiConverterTypeTodoList.lower(this), FfiConverterSequencestring.lower(items), ) @@ -439,54 +407,6 @@ export class TodoList { } } - getLastEntry() { - const liftResult = (result) => FfiConverterTypeTodoEntry.lift(result); - const liftError = (data) => FfiConverterTypeTodoError.lift(data); - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 107, // todolist:uniffi_todolist_fn_method_todolist_get_last_entry - FfiConverterTypeTodoList.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - getLast() { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = (data) => FfiConverterTypeTodoError.lift(data); - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 108, // todolist:uniffi_todolist_fn_method_todolist_get_last - FfiConverterTypeTodoList.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - - getFirst() { - const liftResult = (result) => FfiConverterString.lift(result); - const liftError = (data) => FfiConverterTypeTodoError.lift(data); - const functionCall = () => { - return UniFFIScaffolding.callAsync( - 109, // todolist:uniffi_todolist_fn_method_todolist_get_first - FfiConverterTypeTodoList.lower(this), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } - } - clearItem(todo) { const liftResult = (result) => undefined; const liftError = (data) => FfiConverterTypeTodoError.lift(data); @@ -500,7 +420,7 @@ export class TodoList { throw e; } return UniFFIScaffolding.callAsync( - 110, // todolist:uniffi_todolist_fn_method_todolist_clear_item + 110, // todolist:uniffi_uniffi_todolist_fn_method_todolist_clear_item FfiConverterTypeTodoList.lower(this), FfiConverterString.lower(todo), ) @@ -512,12 +432,92 @@ export class TodoList { } } + getEntries() { + const liftResult = (result) => FfiConverterSequenceTypeTodoEntry.lift(result); + const liftError = null; + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 111, // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_entries + FfiConverterTypeTodoList.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + getFirst() { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = (data) => FfiConverterTypeTodoError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 112, // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_first + FfiConverterTypeTodoList.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + getItems() { + const liftResult = (result) => FfiConverterSequencestring.lift(result); + const liftError = null; + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 113, // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_items + FfiConverterTypeTodoList.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + getLast() { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = (data) => FfiConverterTypeTodoError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 114, // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_last + FfiConverterTypeTodoList.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + + getLastEntry() { + const liftResult = (result) => FfiConverterTypeTodoEntry.lift(result); + const liftError = (data) => FfiConverterTypeTodoError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 115, // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_last_entry + FfiConverterTypeTodoList.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } + } + makeDefault() { const liftResult = (result) => undefined; const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 111, // todolist:uniffi_todolist_fn_method_todolist_make_default + 116, // todolist:uniffi_uniffi_todolist_fn_method_todolist_make_default FfiConverterTypeTodoList.lower(this), ) } @@ -859,13 +859,38 @@ export class FfiConverterSequenceTypeTodoEntry extends FfiConverterArrayBuffer { +export function createEntryWith(todo) { + + const liftResult = (result) => FfiConverterTypeTodoEntry.lift(result); + const liftError = (data) => FfiConverterTypeTodoError.lift(data); + const functionCall = () => { + try { + FfiConverterString.checkType(todo) + } catch (e) { + if (e instanceof UniFFITypeError) { + e.addItemDescriptionPart("todo"); + } + throw e; + } + return UniFFIScaffolding.callAsync( + 117, // todolist:uniffi_uniffi_todolist_fn_func_create_entry_with + FfiConverterString.lower(todo), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + } +} + export function getDefaultList() { const liftResult = (result) => FfiConverterOptionalTypeTodoList.lift(result); const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 112, // todolist:uniffi_todolist_fn_func_get_default_list + 118, // todolist:uniffi_uniffi_todolist_fn_func_get_default_list ) } try { @@ -889,7 +914,7 @@ export function setDefaultList(list) { throw e; } return UniFFIScaffolding.callAsync( - 113, // todolist:uniffi_todolist_fn_func_set_default_list + 119, // todolist:uniffi_uniffi_todolist_fn_func_set_default_list FfiConverterTypeTodoList.lower(list), ) } @@ -899,28 +924,3 @@ export function setDefaultList(list) { return Promise.reject(error) } } - -export function createEntryWith(todo) { - - const liftResult = (result) => FfiConverterTypeTodoEntry.lift(result); - const liftError = (data) => FfiConverterTypeTodoError.lift(data); - const functionCall = () => { - try { - FfiConverterString.checkType(todo) - } catch (e) { - if (e instanceof UniFFITypeError) { - e.addItemDescriptionPart("todo"); - } - throw e; - } - return UniFFIScaffolding.callAsync( - 114, // todolist:uniffi_todolist_fn_func_create_entry_with - FfiConverterString.lower(todo), - ) - } - try { - return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); - } catch (error) { - return Promise.reject(error) - } -} diff --git a/toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp b/toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp index bd4fb36fe419..96b091a0ebc8 100644 --- a/toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp +++ b/toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp @@ -24,125 +24,126 @@ using dom::UniFFIScaffoldingCallResult; // Define scaffolding functions from UniFFI extern "C" { - double uniffi_geometry_fn_func_gradient(RustBuffer, RustCallStatus*); - RustBuffer uniffi_geometry_fn_func_intersection(RustBuffer, RustBuffer, RustCallStatus*); - uint64_t uniffi_arithmetic_fn_func_add(uint64_t, uint64_t, RustCallStatus*); - uint64_t uniffi_arithmetic_fn_func_sub(uint64_t, uint64_t, RustCallStatus*); - uint64_t uniffi_arithmetic_fn_func_div(uint64_t, uint64_t, RustCallStatus*); - int8_t uniffi_arithmetic_fn_func_equal(uint64_t, uint64_t, RustCallStatus*); - void uniffi_rondpoint_fn_free_retourneur(void *, RustCallStatus*); - void * uniffi_rondpoint_fn_constructor_retourneur_new(RustCallStatus*); - int8_t uniffi_rondpoint_fn_method_retourneur_identique_i8(void *, int8_t, RustCallStatus*); - uint8_t uniffi_rondpoint_fn_method_retourneur_identique_u8(void *, uint8_t, RustCallStatus*); - int16_t uniffi_rondpoint_fn_method_retourneur_identique_i16(void *, int16_t, RustCallStatus*); - uint16_t uniffi_rondpoint_fn_method_retourneur_identique_u16(void *, uint16_t, RustCallStatus*); - int32_t uniffi_rondpoint_fn_method_retourneur_identique_i32(void *, int32_t, RustCallStatus*); - uint32_t uniffi_rondpoint_fn_method_retourneur_identique_u32(void *, uint32_t, RustCallStatus*); - int64_t uniffi_rondpoint_fn_method_retourneur_identique_i64(void *, int64_t, RustCallStatus*); - uint64_t uniffi_rondpoint_fn_method_retourneur_identique_u64(void *, uint64_t, RustCallStatus*); - float uniffi_rondpoint_fn_method_retourneur_identique_float(void *, float, RustCallStatus*); - double uniffi_rondpoint_fn_method_retourneur_identique_double(void *, double, RustCallStatus*); - int8_t uniffi_rondpoint_fn_method_retourneur_identique_boolean(void *, int8_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_retourneur_identique_string(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_retourneur_identique_nombres(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire(void *, RustBuffer, RustCallStatus*); - void uniffi_rondpoint_fn_free_stringifier(void *, RustCallStatus*); - void * uniffi_rondpoint_fn_constructor_stringifier_new(RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_well_known_string(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_i8(void *, int8_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_u8(void *, uint8_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_i16(void *, int16_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_u16(void *, uint16_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_i32(void *, int32_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_u32(void *, uint32_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_i64(void *, int64_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_u64(void *, uint64_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_float(void *, float, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_double(void *, double, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_stringifier_to_string_boolean(void *, int8_t, RustCallStatus*); - void uniffi_rondpoint_fn_free_optionneur(void *, RustCallStatus*); - void * uniffi_rondpoint_fn_constructor_optionneur_new(RustCallStatus*); - int8_t uniffi_rondpoint_fn_method_optionneur_sinon_boolean(void *, int8_t, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_optionneur_sinon_string(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_optionneur_sinon_sequence(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_optionneur_sinon_null(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_optionneur_sinon_zero(void *, RustBuffer, RustCallStatus*); - uint8_t uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec(void *, uint8_t, RustCallStatus*); - int8_t uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec(void *, int8_t, RustCallStatus*); - uint16_t uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec(void *, uint16_t, RustCallStatus*); - int16_t uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec(void *, int16_t, RustCallStatus*); - uint32_t uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec(void *, uint32_t, RustCallStatus*); - int32_t uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec(void *, int32_t, RustCallStatus*); - uint64_t uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec(void *, uint64_t, RustCallStatus*); - int64_t uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec(void *, int64_t, RustCallStatus*); - uint8_t uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex(void *, uint8_t, RustCallStatus*); - int8_t uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex(void *, int8_t, RustCallStatus*); - uint16_t uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex(void *, uint16_t, RustCallStatus*); - int16_t uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex(void *, int16_t, RustCallStatus*); - uint32_t uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex(void *, uint32_t, RustCallStatus*); - int32_t uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex(void *, int32_t, RustCallStatus*); - uint64_t uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex(void *, uint64_t, RustCallStatus*); - int64_t uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex(void *, int64_t, RustCallStatus*); - uint32_t uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct(void *, uint32_t, RustCallStatus*); - float uniffi_rondpoint_fn_method_optionneur_sinon_f32(void *, float, RustCallStatus*); - double uniffi_rondpoint_fn_method_optionneur_sinon_f64(void *, double, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_method_optionneur_sinon_enum(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_func_copie_dictionnaire(RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_func_copie_enumeration(RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_func_copie_enumerations(RustBuffer, RustCallStatus*); - RustBuffer uniffi_rondpoint_fn_func_copie_carte(RustBuffer, RustCallStatus*); - int8_t uniffi_rondpoint_fn_func_switcheroo(int8_t, RustCallStatus*); - void uniffi_sprites_fn_free_sprite(void *, RustCallStatus*); - void * uniffi_sprites_fn_constructor_sprite_new(RustBuffer, RustCallStatus*); - void * uniffi_sprites_fn_constructor_sprite_new_relative_to(RustBuffer, RustBuffer, RustCallStatus*); - RustBuffer uniffi_sprites_fn_method_sprite_get_position(void *, RustCallStatus*); - void uniffi_sprites_fn_method_sprite_move_to(void *, RustBuffer, RustCallStatus*); - void uniffi_sprites_fn_method_sprite_move_by(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_sprites_fn_func_translate(RustBuffer, RustBuffer, RustCallStatus*); - void uniffi_todolist_fn_free_todolist(void *, RustCallStatus*); - void * uniffi_todolist_fn_constructor_todolist_new(RustCallStatus*); - void uniffi_todolist_fn_method_todolist_add_item(void *, RustBuffer, RustCallStatus*); - void uniffi_todolist_fn_method_todolist_add_entry(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_todolist_fn_method_todolist_get_entries(void *, RustCallStatus*); - RustBuffer uniffi_todolist_fn_method_todolist_get_items(void *, RustCallStatus*); - void uniffi_todolist_fn_method_todolist_add_entries(void *, RustBuffer, RustCallStatus*); - void uniffi_todolist_fn_method_todolist_add_items(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_todolist_fn_method_todolist_get_last_entry(void *, RustCallStatus*); - RustBuffer uniffi_todolist_fn_method_todolist_get_last(void *, RustCallStatus*); - RustBuffer uniffi_todolist_fn_method_todolist_get_first(void *, RustCallStatus*); - void uniffi_todolist_fn_method_todolist_clear_item(void *, RustBuffer, RustCallStatus*); - void uniffi_todolist_fn_method_todolist_make_default(void *, RustCallStatus*); - RustBuffer uniffi_todolist_fn_func_get_default_list(RustCallStatus*); - void uniffi_todolist_fn_func_set_default_list(void *, RustCallStatus*); - RustBuffer uniffi_todolist_fn_func_create_entry_with(RustBuffer, RustCallStatus*); - void uniffi_fixture_callbacks_fn_init_callback_logger(ForeignCallback, RustCallStatus*); - void uniffi_fixture_callbacks_fn_func_log_even_numbers(uint64_t, RustBuffer, RustCallStatus*); - void uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread(uint64_t, RustBuffer, RustCallStatus*); - RustBuffer uniffi_custom_types_fn_func_get_custom_types_demo(RustBuffer, RustCallStatus*); - double uniffi_external_types_fn_func_gradient(RustBuffer, RustCallStatus*); + uint64_t uniffi_arithmetical_fn_func_add(uint64_t, uint64_t, RustCallStatus*); + uint64_t uniffi_arithmetical_fn_func_div(uint64_t, uint64_t, RustCallStatus*); + int8_t uniffi_arithmetical_fn_func_equal(uint64_t, uint64_t, RustCallStatus*); + uint64_t uniffi_arithmetical_fn_func_sub(uint64_t, uint64_t, RustCallStatus*); + RustBuffer uniffi_uniffi_custom_types_fn_func_get_custom_types_demo(RustBuffer, RustCallStatus*); + double uniffi_uniffi_fixture_external_types_fn_func_gradient(RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_fixture_external_types_fn_func_intersection(RustBuffer, RustBuffer, RustCallStatus*); + void uniffi_uniffi_fixture_callbacks_fn_init_callback_logger(ForeignCallback, RustCallStatus*); + void uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers(uint64_t, RustBuffer, RustCallStatus*); + void uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread(uint64_t, RustBuffer, RustCallStatus*); + double uniffi_uniffi_geometry_fn_func_gradient(RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_geometry_fn_func_intersection(RustBuffer, RustBuffer, RustCallStatus*); + void uniffi_uniffi_rondpoint_fn_free_optionneur(void *, RustCallStatus*); + void * uniffi_uniffi_rondpoint_fn_constructor_optionneur_new(RustCallStatus*); + int8_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_boolean(void *, int8_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_enum(void *, RustBuffer, RustCallStatus*); + float uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f32(void *, float, RustCallStatus*); + double uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f64(void *, double, RustCallStatus*); + int16_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec(void *, int16_t, RustCallStatus*); + int16_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex(void *, int16_t, RustCallStatus*); + int32_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec(void *, int32_t, RustCallStatus*); + int32_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex(void *, int32_t, RustCallStatus*); + int64_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec(void *, int64_t, RustCallStatus*); + int64_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex(void *, int64_t, RustCallStatus*); + int8_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec(void *, int8_t, RustCallStatus*); + int8_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex(void *, int8_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_null(void *, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_sequence(void *, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_string(void *, RustBuffer, RustCallStatus*); + uint16_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec(void *, uint16_t, RustCallStatus*); + uint16_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex(void *, uint16_t, RustCallStatus*); + uint32_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec(void *, uint32_t, RustCallStatus*); + uint32_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex(void *, uint32_t, RustCallStatus*); + uint32_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct(void *, uint32_t, RustCallStatus*); + uint64_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec(void *, uint64_t, RustCallStatus*); + uint64_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex(void *, uint64_t, RustCallStatus*); + uint8_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec(void *, uint8_t, RustCallStatus*); + uint8_t uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex(void *, uint8_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_zero(void *, RustBuffer, RustCallStatus*); + void uniffi_uniffi_rondpoint_fn_free_retourneur(void *, RustCallStatus*); + void * uniffi_uniffi_rondpoint_fn_constructor_retourneur_new(RustCallStatus*); + int8_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_boolean(void *, int8_t, RustCallStatus*); + double uniffi_uniffi_rondpoint_fn_method_retourneur_identique_double(void *, double, RustCallStatus*); + float uniffi_uniffi_rondpoint_fn_method_retourneur_identique_float(void *, float, RustCallStatus*); + int16_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i16(void *, int16_t, RustCallStatus*); + int32_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i32(void *, int32_t, RustCallStatus*); + int64_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i64(void *, int64_t, RustCallStatus*); + int8_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i8(void *, int8_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres(void *, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes(void *, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire(void *, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_retourneur_identique_string(void *, RustBuffer, RustCallStatus*); + uint16_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u16(void *, uint16_t, RustCallStatus*); + uint32_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u32(void *, uint32_t, RustCallStatus*); + uint64_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u64(void *, uint64_t, RustCallStatus*); + uint8_t uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u8(void *, uint8_t, RustCallStatus*); + void uniffi_uniffi_rondpoint_fn_free_stringifier(void *, RustCallStatus*); + void * uniffi_uniffi_rondpoint_fn_constructor_stringifier_new(RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_boolean(void *, int8_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_double(void *, double, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_float(void *, float, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i16(void *, int16_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i32(void *, int32_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i64(void *, int64_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i8(void *, int8_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u16(void *, uint16_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u32(void *, uint32_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u64(void *, uint64_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u8(void *, uint8_t, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_method_stringifier_well_known_string(void *, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_func_copie_carte(RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_func_copie_dictionnaire(RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_func_copie_enumeration(RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_rondpoint_fn_func_copie_enumerations(RustBuffer, RustCallStatus*); + int8_t uniffi_uniffi_rondpoint_fn_func_switcheroo(int8_t, RustCallStatus*); + void uniffi_uniffi_sprites_fn_free_sprite(void *, RustCallStatus*); + void * uniffi_uniffi_sprites_fn_constructor_sprite_new(RustBuffer, RustCallStatus*); + void * uniffi_uniffi_sprites_fn_constructor_sprite_new_relative_to(RustBuffer, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_sprites_fn_method_sprite_get_position(void *, RustCallStatus*); + void uniffi_uniffi_sprites_fn_method_sprite_move_by(void *, RustBuffer, RustCallStatus*); + void uniffi_uniffi_sprites_fn_method_sprite_move_to(void *, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_sprites_fn_func_translate(RustBuffer, RustBuffer, RustCallStatus*); + void uniffi_uniffi_todolist_fn_free_todolist(void *, RustCallStatus*); + void * uniffi_uniffi_todolist_fn_constructor_todolist_new(RustCallStatus*); + void uniffi_uniffi_todolist_fn_method_todolist_add_entries(void *, RustBuffer, RustCallStatus*); + void uniffi_uniffi_todolist_fn_method_todolist_add_entry(void *, RustBuffer, RustCallStatus*); + void uniffi_uniffi_todolist_fn_method_todolist_add_item(void *, RustBuffer, RustCallStatus*); + void uniffi_uniffi_todolist_fn_method_todolist_add_items(void *, RustBuffer, RustCallStatus*); + void uniffi_uniffi_todolist_fn_method_todolist_clear_item(void *, RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_todolist_fn_method_todolist_get_entries(void *, RustCallStatus*); + RustBuffer uniffi_uniffi_todolist_fn_method_todolist_get_first(void *, RustCallStatus*); + RustBuffer uniffi_uniffi_todolist_fn_method_todolist_get_items(void *, RustCallStatus*); + RustBuffer uniffi_uniffi_todolist_fn_method_todolist_get_last(void *, RustCallStatus*); + RustBuffer uniffi_uniffi_todolist_fn_method_todolist_get_last_entry(void *, RustCallStatus*); + void uniffi_uniffi_todolist_fn_method_todolist_make_default(void *, RustCallStatus*); + RustBuffer uniffi_uniffi_todolist_fn_func_create_entry_with(RustBuffer, RustCallStatus*); + RustBuffer uniffi_uniffi_todolist_fn_func_get_default_list(RustCallStatus*); + void uniffi_uniffi_todolist_fn_func_set_default_list(void *, RustCallStatus*); } // Define pointer types +const static mozilla::uniffi::UniFFIPointerType kRondpointOptionneurPointerType { + "rondpoint::Optionneur"_ns, + uniffi_uniffi_rondpoint_fn_free_optionneur +}; const static mozilla::uniffi::UniFFIPointerType kRondpointRetourneurPointerType { "rondpoint::Retourneur"_ns, - uniffi_rondpoint_fn_free_retourneur + uniffi_uniffi_rondpoint_fn_free_retourneur }; const static mozilla::uniffi::UniFFIPointerType kRondpointStringifierPointerType { "rondpoint::Stringifier"_ns, - uniffi_rondpoint_fn_free_stringifier -}; -const static mozilla::uniffi::UniFFIPointerType kRondpointOptionneurPointerType { - "rondpoint::Optionneur"_ns, - uniffi_rondpoint_fn_free_optionneur + uniffi_uniffi_rondpoint_fn_free_stringifier }; const static mozilla::uniffi::UniFFIPointerType kSpritesSpritePointerType { "sprites::Sprite"_ns, - uniffi_sprites_fn_free_sprite + uniffi_uniffi_sprites_fn_free_sprite }; const static mozilla::uniffi::UniFFIPointerType kTodolistTodoListPointerType { "todolist::TodoList"_ns, - uniffi_todolist_fn_free_todolist + uniffi_uniffi_todolist_fn_free_todolist }; // Define the data we need per-callback interface @@ -166,7 +167,7 @@ Maybe UniFFIFixturesGetCallbackInterfaceInfo(uint64_t aIn "Logger", &JS_CALLBACK_HANDLER_LOGGER, UniFFIFixturesCallbackHandlerLogger, - uniffi_fixture_callbacks_fn_init_callback_logger, + uniffi_uniffi_fixture_callbacks_fn_init_callback_logger, }); } @@ -177,369 +178,373 @@ Maybe UniFFIFixturesGetCallbackInterfaceInfo(uint64_t aIn Maybe> UniFFIFixturesCallAsync(const GlobalObject& aGlobal, uint64_t aId, const Sequence& aArgs, ErrorResult& aError) { switch (aId) { - case 28: { // geometry:uniffi_geometry_fn_func_gradient - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_geometry_fn_func_gradient, aGlobal, aArgs, "uniffi_geometry_fn_func_gradient: "_ns, aError)); - } - case 29: { // geometry:uniffi_geometry_fn_func_intersection - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_geometry_fn_func_intersection, aGlobal, aArgs, "uniffi_geometry_fn_func_intersection: "_ns, aError)); - } - case 30: { // arithmetic:uniffi_arithmetic_fn_func_add + case 28: { // arithmetic:uniffi_arithmetical_fn_func_add using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_arithmetic_fn_func_add, aGlobal, aArgs, "uniffi_arithmetic_fn_func_add: "_ns, aError)); + return Some(CallHandler::CallAsync(uniffi_arithmetical_fn_func_add, aGlobal, aArgs, "uniffi_arithmetical_fn_func_add: "_ns, aError)); } - case 31: { // arithmetic:uniffi_arithmetic_fn_func_sub + case 29: { // arithmetic:uniffi_arithmetical_fn_func_div using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_arithmetic_fn_func_sub, aGlobal, aArgs, "uniffi_arithmetic_fn_func_sub: "_ns, aError)); + return Some(CallHandler::CallAsync(uniffi_arithmetical_fn_func_div, aGlobal, aArgs, "uniffi_arithmetical_fn_func_div: "_ns, aError)); } - case 32: { // arithmetic:uniffi_arithmetic_fn_func_div - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_arithmetic_fn_func_div, aGlobal, aArgs, "uniffi_arithmetic_fn_func_div: "_ns, aError)); - } - case 33: { // arithmetic:uniffi_arithmetic_fn_func_equal + case 30: { // arithmetic:uniffi_arithmetical_fn_func_equal using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_arithmetic_fn_func_equal, aGlobal, aArgs, "uniffi_arithmetic_fn_func_equal: "_ns, aError)); + return Some(CallHandler::CallAsync(uniffi_arithmetical_fn_func_equal, aGlobal, aArgs, "uniffi_arithmetical_fn_func_equal: "_ns, aError)); } - case 34: { // rondpoint:uniffi_rondpoint_fn_constructor_retourneur_new - using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_constructor_retourneur_new, aGlobal, aArgs, "uniffi_rondpoint_fn_constructor_retourneur_new: "_ns, aError)); + case 31: { // arithmetic:uniffi_arithmetical_fn_func_sub + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_arithmetical_fn_func_sub, aGlobal, aArgs, "uniffi_arithmetical_fn_func_sub: "_ns, aError)); } - case 35: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i8 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_i8, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_i8: "_ns, aError)); - } - case 36: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u8 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_u8, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_u8: "_ns, aError)); - } - case 37: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i16 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_i16, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_i16: "_ns, aError)); - } - case 38: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u16 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_u16, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_u16: "_ns, aError)); - } - case 39: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_i32, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_i32: "_ns, aError)); - } - case 40: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_u32, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_u32: "_ns, aError)); - } - case 41: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_i64, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_i64: "_ns, aError)); - } - case 42: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_u64, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_u64: "_ns, aError)); - } - case 43: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_float - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_float, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_float: "_ns, aError)); - } - case 44: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_double - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_double, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_double: "_ns, aError)); - } - case 45: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_boolean - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_boolean, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_boolean: "_ns, aError)); - } - case 46: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_string - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_string, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_string: "_ns, aError)); - } - case 47: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes: "_ns, aError)); - } - case 48: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_nombres - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_nombres, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_nombres: "_ns, aError)); - } - case 49: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire, aGlobal, aArgs, "uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire: "_ns, aError)); - } - case 50: { // rondpoint:uniffi_rondpoint_fn_constructor_stringifier_new - using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_constructor_stringifier_new, aGlobal, aArgs, "uniffi_rondpoint_fn_constructor_stringifier_new: "_ns, aError)); - } - case 51: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_well_known_string - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_well_known_string, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_well_known_string: "_ns, aError)); - } - case 52: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i8 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_i8, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_i8: "_ns, aError)); - } - case 53: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u8 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_u8, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_u8: "_ns, aError)); - } - case 54: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i16 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_i16, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_i16: "_ns, aError)); - } - case 55: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u16 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_u16, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_u16: "_ns, aError)); - } - case 56: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_i32, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_i32: "_ns, aError)); - } - case 57: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_u32, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_u32: "_ns, aError)); - } - case 58: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_i64, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_i64: "_ns, aError)); - } - case 59: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_u64, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_u64: "_ns, aError)); - } - case 60: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_float - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_float, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_float: "_ns, aError)); - } - case 61: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_double - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_double, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_double: "_ns, aError)); - } - case 62: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_boolean - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_stringifier_to_string_boolean, aGlobal, aArgs, "uniffi_rondpoint_fn_method_stringifier_to_string_boolean: "_ns, aError)); - } - case 63: { // rondpoint:uniffi_rondpoint_fn_constructor_optionneur_new - using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_constructor_optionneur_new, aGlobal, aArgs, "uniffi_rondpoint_fn_constructor_optionneur_new: "_ns, aError)); - } - case 64: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_boolean - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_boolean, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_boolean: "_ns, aError)); - } - case 65: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_string - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_string, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_string: "_ns, aError)); - } - case 66: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_sequence - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_sequence, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_sequence: "_ns, aError)); - } - case 67: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_null - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_null, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_null: "_ns, aError)); - } - case 68: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_zero - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_zero, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_zero: "_ns, aError)); - } - case 69: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec: "_ns, aError)); - } - case 70: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec: "_ns, aError)); - } - case 71: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec: "_ns, aError)); - } - case 72: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec: "_ns, aError)); - } - case 73: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec: "_ns, aError)); - } - case 74: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec: "_ns, aError)); - } - case 75: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec: "_ns, aError)); - } - case 76: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec: "_ns, aError)); - } - case 77: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex: "_ns, aError)); - } - case 78: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex: "_ns, aError)); - } - case 79: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex: "_ns, aError)); - } - case 80: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex: "_ns, aError)); - } - case 81: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex: "_ns, aError)); - } - case 82: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex: "_ns, aError)); - } - case 83: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex: "_ns, aError)); - } - case 84: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex: "_ns, aError)); - } - case 85: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct: "_ns, aError)); - } - case 86: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_f32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_f32, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_f32: "_ns, aError)); - } - case 87: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_f64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_f64, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_f64: "_ns, aError)); - } - case 88: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_enum - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_method_optionneur_sinon_enum, aGlobal, aArgs, "uniffi_rondpoint_fn_method_optionneur_sinon_enum: "_ns, aError)); - } - case 89: { // rondpoint:uniffi_rondpoint_fn_func_copie_dictionnaire + case 32: { // custom_types:uniffi_uniffi_custom_types_fn_func_get_custom_types_demo using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_func_copie_dictionnaire, aGlobal, aArgs, "uniffi_rondpoint_fn_func_copie_dictionnaire: "_ns, aError)); + return Some(CallHandler::CallAsync(uniffi_uniffi_custom_types_fn_func_get_custom_types_demo, aGlobal, aArgs, "uniffi_uniffi_custom_types_fn_func_get_custom_types_demo: "_ns, aError)); } - case 90: { // rondpoint:uniffi_rondpoint_fn_func_copie_enumeration - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_func_copie_enumeration, aGlobal, aArgs, "uniffi_rondpoint_fn_func_copie_enumeration: "_ns, aError)); - } - case 91: { // rondpoint:uniffi_rondpoint_fn_func_copie_enumerations - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_func_copie_enumerations, aGlobal, aArgs, "uniffi_rondpoint_fn_func_copie_enumerations: "_ns, aError)); - } - case 92: { // rondpoint:uniffi_rondpoint_fn_func_copie_carte - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_func_copie_carte, aGlobal, aArgs, "uniffi_rondpoint_fn_func_copie_carte: "_ns, aError)); - } - case 93: { // rondpoint:uniffi_rondpoint_fn_func_switcheroo - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_rondpoint_fn_func_switcheroo, aGlobal, aArgs, "uniffi_rondpoint_fn_func_switcheroo: "_ns, aError)); - } - case 94: { // sprites:uniffi_sprites_fn_constructor_sprite_new - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_sprites_fn_constructor_sprite_new, aGlobal, aArgs, "uniffi_sprites_fn_constructor_sprite_new: "_ns, aError)); - } - case 95: { // sprites:uniffi_sprites_fn_constructor_sprite_new_relative_to - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_sprites_fn_constructor_sprite_new_relative_to, aGlobal, aArgs, "uniffi_sprites_fn_constructor_sprite_new_relative_to: "_ns, aError)); - } - case 96: { // sprites:uniffi_sprites_fn_method_sprite_get_position - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>>; - return Some(CallHandler::CallAsync(uniffi_sprites_fn_method_sprite_get_position, aGlobal, aArgs, "uniffi_sprites_fn_method_sprite_get_position: "_ns, aError)); - } - case 97: { // sprites:uniffi_sprites_fn_method_sprite_move_to - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_sprites_fn_method_sprite_move_to, aGlobal, aArgs, "uniffi_sprites_fn_method_sprite_move_to: "_ns, aError)); - } - case 98: { // sprites:uniffi_sprites_fn_method_sprite_move_by - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_sprites_fn_method_sprite_move_by, aGlobal, aArgs, "uniffi_sprites_fn_method_sprite_move_by: "_ns, aError)); - } - case 99: { // sprites:uniffi_sprites_fn_func_translate - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_sprites_fn_func_translate, aGlobal, aArgs, "uniffi_sprites_fn_func_translate: "_ns, aError)); - } - case 100: { // todolist:uniffi_todolist_fn_constructor_todolist_new - using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_constructor_todolist_new, aGlobal, aArgs, "uniffi_todolist_fn_constructor_todolist_new: "_ns, aError)); - } - case 101: { // todolist:uniffi_todolist_fn_method_todolist_add_item - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_add_item, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_add_item: "_ns, aError)); - } - case 102: { // todolist:uniffi_todolist_fn_method_todolist_add_entry - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_add_entry, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_add_entry: "_ns, aError)); - } - case 103: { // todolist:uniffi_todolist_fn_method_todolist_get_entries - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_get_entries, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_get_entries: "_ns, aError)); - } - case 104: { // todolist:uniffi_todolist_fn_method_todolist_get_items - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_get_items, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_get_items: "_ns, aError)); - } - case 105: { // todolist:uniffi_todolist_fn_method_todolist_add_entries - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_add_entries, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_add_entries: "_ns, aError)); - } - case 106: { // todolist:uniffi_todolist_fn_method_todolist_add_items - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_add_items, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_add_items: "_ns, aError)); - } - case 107: { // todolist:uniffi_todolist_fn_method_todolist_get_last_entry - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_get_last_entry, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_get_last_entry: "_ns, aError)); - } - case 108: { // todolist:uniffi_todolist_fn_method_todolist_get_last - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_get_last, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_get_last: "_ns, aError)); - } - case 109: { // todolist:uniffi_todolist_fn_method_todolist_get_first - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_get_first, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_get_first: "_ns, aError)); - } - case 110: { // todolist:uniffi_todolist_fn_method_todolist_clear_item - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_clear_item, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_clear_item: "_ns, aError)); - } - case 111: { // todolist:uniffi_todolist_fn_method_todolist_make_default - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_method_todolist_make_default, aGlobal, aArgs, "uniffi_todolist_fn_method_todolist_make_default: "_ns, aError)); - } - case 112: { // todolist:uniffi_todolist_fn_func_get_default_list - using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_func_get_default_list, aGlobal, aArgs, "uniffi_todolist_fn_func_get_default_list: "_ns, aError)); - } - case 113: { // todolist:uniffi_todolist_fn_func_set_default_list - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_func_set_default_list, aGlobal, aArgs, "uniffi_todolist_fn_func_set_default_list: "_ns, aError)); - } - case 114: { // todolist:uniffi_todolist_fn_func_create_entry_with - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_todolist_fn_func_create_entry_with, aGlobal, aArgs, "uniffi_todolist_fn_func_create_entry_with: "_ns, aError)); - } - case 115: { // fixture_callbacks:uniffi_fixture_callbacks_fn_func_log_even_numbers - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_fixture_callbacks_fn_func_log_even_numbers, aGlobal, aArgs, "uniffi_fixture_callbacks_fn_func_log_even_numbers: "_ns, aError)); - } - case 116: { // fixture_callbacks:uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread, aGlobal, aArgs, "uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread: "_ns, aError)); - } - case 117: { // custom_types:uniffi_custom_types_fn_func_get_custom_types_demo - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_custom_types_fn_func_get_custom_types_demo, aGlobal, aArgs, "uniffi_custom_types_fn_func_get_custom_types_demo: "_ns, aError)); - } - case 118: { // external_types:uniffi_external_types_fn_func_gradient + case 33: { // external_types:uniffi_uniffi_fixture_external_types_fn_func_gradient using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_external_types_fn_func_gradient, aGlobal, aArgs, "uniffi_external_types_fn_func_gradient: "_ns, aError)); + return Some(CallHandler::CallAsync(uniffi_uniffi_fixture_external_types_fn_func_gradient, aGlobal, aArgs, "uniffi_uniffi_fixture_external_types_fn_func_gradient: "_ns, aError)); + } + case 34: { // external_types:uniffi_uniffi_fixture_external_types_fn_func_intersection + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_fixture_external_types_fn_func_intersection, aGlobal, aArgs, "uniffi_uniffi_fixture_external_types_fn_func_intersection: "_ns, aError)); + } + case 35: { // fixture_callbacks:uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers, aGlobal, aArgs, "uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers: "_ns, aError)); + } + case 36: { // fixture_callbacks:uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread, aGlobal, aArgs, "uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread: "_ns, aError)); + } + case 37: { // geometry:uniffi_uniffi_geometry_fn_func_gradient + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_geometry_fn_func_gradient, aGlobal, aArgs, "uniffi_uniffi_geometry_fn_func_gradient: "_ns, aError)); + } + case 38: { // geometry:uniffi_uniffi_geometry_fn_func_intersection + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_geometry_fn_func_intersection, aGlobal, aArgs, "uniffi_uniffi_geometry_fn_func_intersection: "_ns, aError)); + } + case 39: { // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_optionneur_new + using CallHandler = ScaffoldingCallHandler>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_constructor_optionneur_new, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_constructor_optionneur_new: "_ns, aError)); + } + case 40: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_boolean + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_boolean, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_boolean: "_ns, aError)); + } + case 41: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_enum + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_enum, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_enum: "_ns, aError)); + } + case 42: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f32, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f32: "_ns, aError)); + } + case 43: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f64, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f64: "_ns, aError)); + } + case 44: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec: "_ns, aError)); + } + case 45: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex: "_ns, aError)); + } + case 46: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec: "_ns, aError)); + } + case 47: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex: "_ns, aError)); + } + case 48: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec: "_ns, aError)); + } + case 49: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex: "_ns, aError)); + } + case 50: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec: "_ns, aError)); + } + case 51: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex: "_ns, aError)); + } + case 52: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_null + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_null, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_null: "_ns, aError)); + } + case 53: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_sequence + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_sequence, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_sequence: "_ns, aError)); + } + case 54: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_string + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_string, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_string: "_ns, aError)); + } + case 55: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec: "_ns, aError)); + } + case 56: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex: "_ns, aError)); + } + case 57: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec: "_ns, aError)); + } + case 58: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex: "_ns, aError)); + } + case 59: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct: "_ns, aError)); + } + case 60: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec: "_ns, aError)); + } + case 61: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex: "_ns, aError)); + } + case 62: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec: "_ns, aError)); + } + case 63: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex: "_ns, aError)); + } + case 64: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_zero + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_zero, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_zero: "_ns, aError)); + } + case 65: { // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_retourneur_new + using CallHandler = ScaffoldingCallHandler>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_constructor_retourneur_new, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_constructor_retourneur_new: "_ns, aError)); + } + case 66: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_boolean + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_boolean, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_boolean: "_ns, aError)); + } + case 67: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_double + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_double, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_double: "_ns, aError)); + } + case 68: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_float + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_float, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_float: "_ns, aError)); + } + case 69: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i16 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i16, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i16: "_ns, aError)); + } + case 70: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i32, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i32: "_ns, aError)); + } + case 71: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i64, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i64: "_ns, aError)); + } + case 72: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i8 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i8, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i8: "_ns, aError)); + } + case 73: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres: "_ns, aError)); + } + case 74: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes: "_ns, aError)); + } + case 75: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire: "_ns, aError)); + } + case 76: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_string + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_string, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_string: "_ns, aError)); + } + case 77: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u16 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u16, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u16: "_ns, aError)); + } + case 78: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u32, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u32: "_ns, aError)); + } + case 79: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u64, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u64: "_ns, aError)); + } + case 80: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u8 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u8, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u8: "_ns, aError)); + } + case 81: { // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_stringifier_new + using CallHandler = ScaffoldingCallHandler>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_constructor_stringifier_new, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_constructor_stringifier_new: "_ns, aError)); + } + case 82: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_boolean + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_boolean, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_boolean: "_ns, aError)); + } + case 83: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_double + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_double, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_double: "_ns, aError)); + } + case 84: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_float + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_float, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_float: "_ns, aError)); + } + case 85: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i16 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i16, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i16: "_ns, aError)); + } + case 86: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i32, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i32: "_ns, aError)); + } + case 87: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i64, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i64: "_ns, aError)); + } + case 88: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i8 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i8, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i8: "_ns, aError)); + } + case 89: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u16 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u16, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u16: "_ns, aError)); + } + case 90: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u32, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u32: "_ns, aError)); + } + case 91: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u64, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u64: "_ns, aError)); + } + case 92: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u8 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u8, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u8: "_ns, aError)); + } + case 93: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_well_known_string + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_method_stringifier_well_known_string, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_method_stringifier_well_known_string: "_ns, aError)); + } + case 94: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_carte + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_func_copie_carte, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_func_copie_carte: "_ns, aError)); + } + case 95: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_dictionnaire + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_func_copie_dictionnaire, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_func_copie_dictionnaire: "_ns, aError)); + } + case 96: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_enumeration + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_func_copie_enumeration, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_func_copie_enumeration: "_ns, aError)); + } + case 97: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_enumerations + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_func_copie_enumerations, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_func_copie_enumerations: "_ns, aError)); + } + case 98: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_switcheroo + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_rondpoint_fn_func_switcheroo, aGlobal, aArgs, "uniffi_uniffi_rondpoint_fn_func_switcheroo: "_ns, aError)); + } + case 99: { // sprites:uniffi_uniffi_sprites_fn_constructor_sprite_new + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_sprites_fn_constructor_sprite_new, aGlobal, aArgs, "uniffi_uniffi_sprites_fn_constructor_sprite_new: "_ns, aError)); + } + case 100: { // sprites:uniffi_uniffi_sprites_fn_constructor_sprite_new_relative_to + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_sprites_fn_constructor_sprite_new_relative_to, aGlobal, aArgs, "uniffi_uniffi_sprites_fn_constructor_sprite_new_relative_to: "_ns, aError)); + } + case 101: { // sprites:uniffi_uniffi_sprites_fn_method_sprite_get_position + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>>; + return Some(CallHandler::CallAsync(uniffi_uniffi_sprites_fn_method_sprite_get_position, aGlobal, aArgs, "uniffi_uniffi_sprites_fn_method_sprite_get_position: "_ns, aError)); + } + case 102: { // sprites:uniffi_uniffi_sprites_fn_method_sprite_move_by + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_sprites_fn_method_sprite_move_by, aGlobal, aArgs, "uniffi_uniffi_sprites_fn_method_sprite_move_by: "_ns, aError)); + } + case 103: { // sprites:uniffi_uniffi_sprites_fn_method_sprite_move_to + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_sprites_fn_method_sprite_move_to, aGlobal, aArgs, "uniffi_uniffi_sprites_fn_method_sprite_move_to: "_ns, aError)); + } + case 104: { // sprites:uniffi_uniffi_sprites_fn_func_translate + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_sprites_fn_func_translate, aGlobal, aArgs, "uniffi_uniffi_sprites_fn_func_translate: "_ns, aError)); + } + case 105: { // todolist:uniffi_uniffi_todolist_fn_constructor_todolist_new + using CallHandler = ScaffoldingCallHandler>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_constructor_todolist_new, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_constructor_todolist_new: "_ns, aError)); + } + case 106: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_entries + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_add_entries, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_add_entries: "_ns, aError)); + } + case 107: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_entry + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_add_entry, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_add_entry: "_ns, aError)); + } + case 108: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_item + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_add_item, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_add_item: "_ns, aError)); + } + case 109: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_items + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_add_items, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_add_items: "_ns, aError)); + } + case 110: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_clear_item + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_clear_item, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_clear_item: "_ns, aError)); + } + case 111: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_entries + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_get_entries, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_get_entries: "_ns, aError)); + } + case 112: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_first + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_get_first, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_get_first: "_ns, aError)); + } + case 113: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_items + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_get_items, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_get_items: "_ns, aError)); + } + case 114: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_last + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_get_last, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_get_last: "_ns, aError)); + } + case 115: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_last_entry + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_get_last_entry, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_get_last_entry: "_ns, aError)); + } + case 116: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_make_default + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_method_todolist_make_default, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_method_todolist_make_default: "_ns, aError)); + } + case 117: { // todolist:uniffi_uniffi_todolist_fn_func_create_entry_with + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_func_create_entry_with, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_func_create_entry_with: "_ns, aError)); + } + case 118: { // todolist:uniffi_uniffi_todolist_fn_func_get_default_list + using CallHandler = ScaffoldingCallHandler>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_func_get_default_list, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_func_get_default_list: "_ns, aError)); + } + case 119: { // todolist:uniffi_uniffi_todolist_fn_func_set_default_list + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + return Some(CallHandler::CallAsync(uniffi_uniffi_todolist_fn_func_set_default_list, aGlobal, aArgs, "uniffi_uniffi_todolist_fn_func_set_default_list: "_ns, aError)); } } return Nothing(); @@ -547,459 +552,464 @@ Maybe> UniFFIFixturesCallAsync(const GlobalObject& aGl bool UniFFIFixturesCallSync(const GlobalObject& aGlobal, uint64_t aId, const Sequence& aArgs, RootedDictionary& aReturnValue, ErrorResult& aError) { switch (aId) { - case 28: { // geometry:uniffi_geometry_fn_func_gradient - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_geometry_fn_func_gradient, aGlobal, aArgs, aReturnValue, "uniffi_geometry_fn_func_gradient: "_ns, aError); - return true; - } - case 29: { // geometry:uniffi_geometry_fn_func_intersection - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_geometry_fn_func_intersection, aGlobal, aArgs, aReturnValue, "uniffi_geometry_fn_func_intersection: "_ns, aError); - return true; - } - case 30: { // arithmetic:uniffi_arithmetic_fn_func_add + case 28: { // arithmetic:uniffi_arithmetical_fn_func_add using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_arithmetic_fn_func_add, aGlobal, aArgs, aReturnValue, "uniffi_arithmetic_fn_func_add: "_ns, aError); + CallHandler::CallSync(uniffi_arithmetical_fn_func_add, aGlobal, aArgs, aReturnValue, "uniffi_arithmetical_fn_func_add: "_ns, aError); return true; } - case 31: { // arithmetic:uniffi_arithmetic_fn_func_sub + case 29: { // arithmetic:uniffi_arithmetical_fn_func_div using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_arithmetic_fn_func_sub, aGlobal, aArgs, aReturnValue, "uniffi_arithmetic_fn_func_sub: "_ns, aError); + CallHandler::CallSync(uniffi_arithmetical_fn_func_div, aGlobal, aArgs, aReturnValue, "uniffi_arithmetical_fn_func_div: "_ns, aError); return true; } - case 32: { // arithmetic:uniffi_arithmetic_fn_func_div - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_arithmetic_fn_func_div, aGlobal, aArgs, aReturnValue, "uniffi_arithmetic_fn_func_div: "_ns, aError); - return true; - } - case 33: { // arithmetic:uniffi_arithmetic_fn_func_equal + case 30: { // arithmetic:uniffi_arithmetical_fn_func_equal using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_arithmetic_fn_func_equal, aGlobal, aArgs, aReturnValue, "uniffi_arithmetic_fn_func_equal: "_ns, aError); + CallHandler::CallSync(uniffi_arithmetical_fn_func_equal, aGlobal, aArgs, aReturnValue, "uniffi_arithmetical_fn_func_equal: "_ns, aError); return true; } - case 34: { // rondpoint:uniffi_rondpoint_fn_constructor_retourneur_new - using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(uniffi_rondpoint_fn_constructor_retourneur_new, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_constructor_retourneur_new: "_ns, aError); + case 31: { // arithmetic:uniffi_arithmetical_fn_func_sub + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_arithmetical_fn_func_sub, aGlobal, aArgs, aReturnValue, "uniffi_arithmetical_fn_func_sub: "_ns, aError); return true; } - case 35: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i8 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_i8, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_i8: "_ns, aError); - return true; - } - case 36: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u8 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_u8, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_u8: "_ns, aError); - return true; - } - case 37: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i16 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_i16, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_i16: "_ns, aError); - return true; - } - case 38: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u16 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_u16, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_u16: "_ns, aError); - return true; - } - case 39: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_i32, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_i32: "_ns, aError); - return true; - } - case 40: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_u32, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_u32: "_ns, aError); - return true; - } - case 41: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_i64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_i64, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_i64: "_ns, aError); - return true; - } - case 42: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_u64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_u64, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_u64: "_ns, aError); - return true; - } - case 43: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_float - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_float, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_float: "_ns, aError); - return true; - } - case 44: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_double - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_double, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_double: "_ns, aError); - return true; - } - case 45: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_boolean - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_boolean, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_boolean: "_ns, aError); - return true; - } - case 46: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_string - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_string, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_string: "_ns, aError); - return true; - } - case 47: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes: "_ns, aError); - return true; - } - case 48: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_nombres - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_nombres, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_nombres: "_ns, aError); - return true; - } - case 49: { // rondpoint:uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire: "_ns, aError); - return true; - } - case 50: { // rondpoint:uniffi_rondpoint_fn_constructor_stringifier_new - using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(uniffi_rondpoint_fn_constructor_stringifier_new, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_constructor_stringifier_new: "_ns, aError); - return true; - } - case 51: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_well_known_string - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_well_known_string, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_well_known_string: "_ns, aError); - return true; - } - case 52: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i8 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_i8, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_i8: "_ns, aError); - return true; - } - case 53: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u8 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_u8, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_u8: "_ns, aError); - return true; - } - case 54: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i16 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_i16, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_i16: "_ns, aError); - return true; - } - case 55: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u16 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_u16, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_u16: "_ns, aError); - return true; - } - case 56: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_i32, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_i32: "_ns, aError); - return true; - } - case 57: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_u32, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_u32: "_ns, aError); - return true; - } - case 58: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_i64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_i64, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_i64: "_ns, aError); - return true; - } - case 59: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_u64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_u64, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_u64: "_ns, aError); - return true; - } - case 60: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_float - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_float, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_float: "_ns, aError); - return true; - } - case 61: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_double - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_double, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_double: "_ns, aError); - return true; - } - case 62: { // rondpoint:uniffi_rondpoint_fn_method_stringifier_to_string_boolean - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_stringifier_to_string_boolean, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_stringifier_to_string_boolean: "_ns, aError); - return true; - } - case 63: { // rondpoint:uniffi_rondpoint_fn_constructor_optionneur_new - using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(uniffi_rondpoint_fn_constructor_optionneur_new, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_constructor_optionneur_new: "_ns, aError); - return true; - } - case 64: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_boolean - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_boolean, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_boolean: "_ns, aError); - return true; - } - case 65: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_string - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_string, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_string: "_ns, aError); - return true; - } - case 66: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_sequence - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_sequence, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_sequence: "_ns, aError); - return true; - } - case 67: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_null - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_null, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_null: "_ns, aError); - return true; - } - case 68: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_zero - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_zero, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_zero: "_ns, aError); - return true; - } - case 69: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec: "_ns, aError); - return true; - } - case 70: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec: "_ns, aError); - return true; - } - case 71: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec: "_ns, aError); - return true; - } - case 72: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec: "_ns, aError); - return true; - } - case 73: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec: "_ns, aError); - return true; - } - case 74: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec: "_ns, aError); - return true; - } - case 75: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec: "_ns, aError); - return true; - } - case 76: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec: "_ns, aError); - return true; - } - case 77: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex: "_ns, aError); - return true; - } - case 78: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex: "_ns, aError); - return true; - } - case 79: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex: "_ns, aError); - return true; - } - case 80: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex: "_ns, aError); - return true; - } - case 81: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex: "_ns, aError); - return true; - } - case 82: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex: "_ns, aError); - return true; - } - case 83: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex: "_ns, aError); - return true; - } - case 84: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex: "_ns, aError); - return true; - } - case 85: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct: "_ns, aError); - return true; - } - case 86: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_f32 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_f32, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_f32: "_ns, aError); - return true; - } - case 87: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_f64 - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_f64, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_f64: "_ns, aError); - return true; - } - case 88: { // rondpoint:uniffi_rondpoint_fn_method_optionneur_sinon_enum - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_method_optionneur_sinon_enum, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_method_optionneur_sinon_enum: "_ns, aError); - return true; - } - case 89: { // rondpoint:uniffi_rondpoint_fn_func_copie_dictionnaire + case 32: { // custom_types:uniffi_uniffi_custom_types_fn_func_get_custom_types_demo using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_func_copie_dictionnaire, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_func_copie_dictionnaire: "_ns, aError); + CallHandler::CallSync(uniffi_uniffi_custom_types_fn_func_get_custom_types_demo, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_custom_types_fn_func_get_custom_types_demo: "_ns, aError); return true; } - case 90: { // rondpoint:uniffi_rondpoint_fn_func_copie_enumeration - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_func_copie_enumeration, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_func_copie_enumeration: "_ns, aError); - return true; - } - case 91: { // rondpoint:uniffi_rondpoint_fn_func_copie_enumerations - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_func_copie_enumerations, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_func_copie_enumerations: "_ns, aError); - return true; - } - case 92: { // rondpoint:uniffi_rondpoint_fn_func_copie_carte - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_func_copie_carte, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_func_copie_carte: "_ns, aError); - return true; - } - case 93: { // rondpoint:uniffi_rondpoint_fn_func_switcheroo - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_rondpoint_fn_func_switcheroo, aGlobal, aArgs, aReturnValue, "uniffi_rondpoint_fn_func_switcheroo: "_ns, aError); - return true; - } - case 94: { // sprites:uniffi_sprites_fn_constructor_sprite_new - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_sprites_fn_constructor_sprite_new, aGlobal, aArgs, aReturnValue, "uniffi_sprites_fn_constructor_sprite_new: "_ns, aError); - return true; - } - case 95: { // sprites:uniffi_sprites_fn_constructor_sprite_new_relative_to - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_sprites_fn_constructor_sprite_new_relative_to, aGlobal, aArgs, aReturnValue, "uniffi_sprites_fn_constructor_sprite_new_relative_to: "_ns, aError); - return true; - } - case 96: { // sprites:uniffi_sprites_fn_method_sprite_get_position - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>>; - CallHandler::CallSync(uniffi_sprites_fn_method_sprite_get_position, aGlobal, aArgs, aReturnValue, "uniffi_sprites_fn_method_sprite_get_position: "_ns, aError); - return true; - } - case 97: { // sprites:uniffi_sprites_fn_method_sprite_move_to - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_sprites_fn_method_sprite_move_to, aGlobal, aArgs, aReturnValue, "uniffi_sprites_fn_method_sprite_move_to: "_ns, aError); - return true; - } - case 98: { // sprites:uniffi_sprites_fn_method_sprite_move_by - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_sprites_fn_method_sprite_move_by, aGlobal, aArgs, aReturnValue, "uniffi_sprites_fn_method_sprite_move_by: "_ns, aError); - return true; - } - case 99: { // sprites:uniffi_sprites_fn_func_translate - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_sprites_fn_func_translate, aGlobal, aArgs, aReturnValue, "uniffi_sprites_fn_func_translate: "_ns, aError); - return true; - } - case 100: { // todolist:uniffi_todolist_fn_constructor_todolist_new - using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(uniffi_todolist_fn_constructor_todolist_new, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_constructor_todolist_new: "_ns, aError); - return true; - } - case 101: { // todolist:uniffi_todolist_fn_method_todolist_add_item - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_add_item, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_add_item: "_ns, aError); - return true; - } - case 102: { // todolist:uniffi_todolist_fn_method_todolist_add_entry - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_add_entry, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_add_entry: "_ns, aError); - return true; - } - case 103: { // todolist:uniffi_todolist_fn_method_todolist_get_entries - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_get_entries, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_get_entries: "_ns, aError); - return true; - } - case 104: { // todolist:uniffi_todolist_fn_method_todolist_get_items - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_get_items, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_get_items: "_ns, aError); - return true; - } - case 105: { // todolist:uniffi_todolist_fn_method_todolist_add_entries - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_add_entries, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_add_entries: "_ns, aError); - return true; - } - case 106: { // todolist:uniffi_todolist_fn_method_todolist_add_items - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_add_items, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_add_items: "_ns, aError); - return true; - } - case 107: { // todolist:uniffi_todolist_fn_method_todolist_get_last_entry - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_get_last_entry, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_get_last_entry: "_ns, aError); - return true; - } - case 108: { // todolist:uniffi_todolist_fn_method_todolist_get_last - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_get_last, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_get_last: "_ns, aError); - return true; - } - case 109: { // todolist:uniffi_todolist_fn_method_todolist_get_first - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_get_first, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_get_first: "_ns, aError); - return true; - } - case 110: { // todolist:uniffi_todolist_fn_method_todolist_clear_item - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_clear_item, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_clear_item: "_ns, aError); - return true; - } - case 111: { // todolist:uniffi_todolist_fn_method_todolist_make_default - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(uniffi_todolist_fn_method_todolist_make_default, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_method_todolist_make_default: "_ns, aError); - return true; - } - case 112: { // todolist:uniffi_todolist_fn_func_get_default_list - using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(uniffi_todolist_fn_func_get_default_list, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_func_get_default_list: "_ns, aError); - return true; - } - case 113: { // todolist:uniffi_todolist_fn_func_set_default_list - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(uniffi_todolist_fn_func_set_default_list, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_func_set_default_list: "_ns, aError); - return true; - } - case 114: { // todolist:uniffi_todolist_fn_func_create_entry_with - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_todolist_fn_func_create_entry_with, aGlobal, aArgs, aReturnValue, "uniffi_todolist_fn_func_create_entry_with: "_ns, aError); - return true; - } - case 115: { // fixture_callbacks:uniffi_fixture_callbacks_fn_func_log_even_numbers - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_fixture_callbacks_fn_func_log_even_numbers, aGlobal, aArgs, aReturnValue, "uniffi_fixture_callbacks_fn_func_log_even_numbers: "_ns, aError); - return true; - } - case 116: { // fixture_callbacks:uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread, aGlobal, aArgs, aReturnValue, "uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread: "_ns, aError); - return true; - } - case 117: { // custom_types:uniffi_custom_types_fn_func_get_custom_types_demo - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_custom_types_fn_func_get_custom_types_demo, aGlobal, aArgs, aReturnValue, "uniffi_custom_types_fn_func_get_custom_types_demo: "_ns, aError); - return true; - } - case 118: { // external_types:uniffi_external_types_fn_func_gradient + case 33: { // external_types:uniffi_uniffi_fixture_external_types_fn_func_gradient using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_external_types_fn_func_gradient, aGlobal, aArgs, aReturnValue, "uniffi_external_types_fn_func_gradient: "_ns, aError); + CallHandler::CallSync(uniffi_uniffi_fixture_external_types_fn_func_gradient, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_fixture_external_types_fn_func_gradient: "_ns, aError); + return true; + } + case 34: { // external_types:uniffi_uniffi_fixture_external_types_fn_func_intersection + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_fixture_external_types_fn_func_intersection, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_fixture_external_types_fn_func_intersection: "_ns, aError); + return true; + } + case 35: { // fixture_callbacks:uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers: "_ns, aError); + return true; + } + case 36: { // fixture_callbacks:uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_fixture_callbacks_fn_func_log_even_numbers_main_thread: "_ns, aError); + return true; + } + case 37: { // geometry:uniffi_uniffi_geometry_fn_func_gradient + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_geometry_fn_func_gradient, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_geometry_fn_func_gradient: "_ns, aError); + return true; + } + case 38: { // geometry:uniffi_uniffi_geometry_fn_func_intersection + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_geometry_fn_func_intersection, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_geometry_fn_func_intersection: "_ns, aError); + return true; + } + case 39: { // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_optionneur_new + using CallHandler = ScaffoldingCallHandler>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_constructor_optionneur_new, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_constructor_optionneur_new: "_ns, aError); + return true; + } + case 40: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_boolean + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_boolean, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_boolean: "_ns, aError); + return true; + } + case 41: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_enum + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_enum, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_enum: "_ns, aError); + return true; + } + case 42: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f32, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f32: "_ns, aError); + return true; + } + case 43: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f64, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_f64: "_ns, aError); + return true; + } + case 44: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_dec: "_ns, aError); + return true; + } + case 45: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i16_hex: "_ns, aError); + return true; + } + case 46: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_dec: "_ns, aError); + return true; + } + case 47: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i32_hex: "_ns, aError); + return true; + } + case 48: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_dec: "_ns, aError); + return true; + } + case 49: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i64_hex: "_ns, aError); + return true; + } + case 50: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_dec: "_ns, aError); + return true; + } + case 51: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_i8_hex: "_ns, aError); + return true; + } + case 52: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_null + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_null, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_null: "_ns, aError); + return true; + } + case 53: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_sequence + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_sequence, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_sequence: "_ns, aError); + return true; + } + case 54: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_string + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_string, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_string: "_ns, aError); + return true; + } + case 55: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_dec: "_ns, aError); + return true; + } + case 56: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u16_hex: "_ns, aError); + return true; + } + case 57: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_dec: "_ns, aError); + return true; + } + case 58: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_hex: "_ns, aError); + return true; + } + case 59: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u32_oct: "_ns, aError); + return true; + } + case 60: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_dec: "_ns, aError); + return true; + } + case 61: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u64_hex: "_ns, aError); + return true; + } + case 62: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_dec: "_ns, aError); + return true; + } + case 63: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_u8_hex: "_ns, aError); + return true; + } + case 64: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_zero + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_zero, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_optionneur_sinon_zero: "_ns, aError); + return true; + } + case 65: { // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_retourneur_new + using CallHandler = ScaffoldingCallHandler>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_constructor_retourneur_new, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_constructor_retourneur_new: "_ns, aError); + return true; + } + case 66: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_boolean + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_boolean, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_boolean: "_ns, aError); + return true; + } + case 67: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_double + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_double, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_double: "_ns, aError); + return true; + } + case 68: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_float + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_float, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_float: "_ns, aError); + return true; + } + case 69: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i16 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i16, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i16: "_ns, aError); + return true; + } + case 70: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i32, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i32: "_ns, aError); + return true; + } + case 71: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i64, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i64: "_ns, aError); + return true; + } + case 72: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i8 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i8, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_i8: "_ns, aError); + return true; + } + case 73: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres: "_ns, aError); + return true; + } + case 74: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_nombres_signes: "_ns, aError); + return true; + } + case 75: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_optionneur_dictionnaire: "_ns, aError); + return true; + } + case 76: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_string + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_string, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_string: "_ns, aError); + return true; + } + case 77: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u16 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u16, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u16: "_ns, aError); + return true; + } + case 78: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u32, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u32: "_ns, aError); + return true; + } + case 79: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u64, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u64: "_ns, aError); + return true; + } + case 80: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u8 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u8, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_retourneur_identique_u8: "_ns, aError); + return true; + } + case 81: { // rondpoint:uniffi_uniffi_rondpoint_fn_constructor_stringifier_new + using CallHandler = ScaffoldingCallHandler>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_constructor_stringifier_new, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_constructor_stringifier_new: "_ns, aError); + return true; + } + case 82: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_boolean + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_boolean, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_boolean: "_ns, aError); + return true; + } + case 83: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_double + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_double, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_double: "_ns, aError); + return true; + } + case 84: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_float + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_float, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_float: "_ns, aError); + return true; + } + case 85: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i16 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i16, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i16: "_ns, aError); + return true; + } + case 86: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i32, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i32: "_ns, aError); + return true; + } + case 87: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i64, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i64: "_ns, aError); + return true; + } + case 88: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i8 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i8, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_i8: "_ns, aError); + return true; + } + case 89: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u16 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u16, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u16: "_ns, aError); + return true; + } + case 90: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u32 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u32, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u32: "_ns, aError); + return true; + } + case 91: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u64 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u64, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u64: "_ns, aError); + return true; + } + case 92: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u8 + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u8, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_to_string_u8: "_ns, aError); + return true; + } + case 93: { // rondpoint:uniffi_uniffi_rondpoint_fn_method_stringifier_well_known_string + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_method_stringifier_well_known_string, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_method_stringifier_well_known_string: "_ns, aError); + return true; + } + case 94: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_carte + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_func_copie_carte, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_func_copie_carte: "_ns, aError); + return true; + } + case 95: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_dictionnaire + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_func_copie_dictionnaire, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_func_copie_dictionnaire: "_ns, aError); + return true; + } + case 96: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_enumeration + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_func_copie_enumeration, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_func_copie_enumeration: "_ns, aError); + return true; + } + case 97: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_copie_enumerations + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_func_copie_enumerations, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_func_copie_enumerations: "_ns, aError); + return true; + } + case 98: { // rondpoint:uniffi_uniffi_rondpoint_fn_func_switcheroo + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_rondpoint_fn_func_switcheroo, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_rondpoint_fn_func_switcheroo: "_ns, aError); + return true; + } + case 99: { // sprites:uniffi_uniffi_sprites_fn_constructor_sprite_new + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_sprites_fn_constructor_sprite_new, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_sprites_fn_constructor_sprite_new: "_ns, aError); + return true; + } + case 100: { // sprites:uniffi_uniffi_sprites_fn_constructor_sprite_new_relative_to + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_sprites_fn_constructor_sprite_new_relative_to, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_sprites_fn_constructor_sprite_new_relative_to: "_ns, aError); + return true; + } + case 101: { // sprites:uniffi_uniffi_sprites_fn_method_sprite_get_position + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>>; + CallHandler::CallSync(uniffi_uniffi_sprites_fn_method_sprite_get_position, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_sprites_fn_method_sprite_get_position: "_ns, aError); + return true; + } + case 102: { // sprites:uniffi_uniffi_sprites_fn_method_sprite_move_by + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_sprites_fn_method_sprite_move_by, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_sprites_fn_method_sprite_move_by: "_ns, aError); + return true; + } + case 103: { // sprites:uniffi_uniffi_sprites_fn_method_sprite_move_to + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_sprites_fn_method_sprite_move_to, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_sprites_fn_method_sprite_move_to: "_ns, aError); + return true; + } + case 104: { // sprites:uniffi_uniffi_sprites_fn_func_translate + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_sprites_fn_func_translate, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_sprites_fn_func_translate: "_ns, aError); + return true; + } + case 105: { // todolist:uniffi_uniffi_todolist_fn_constructor_todolist_new + using CallHandler = ScaffoldingCallHandler>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_constructor_todolist_new, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_constructor_todolist_new: "_ns, aError); + return true; + } + case 106: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_entries + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_add_entries, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_add_entries: "_ns, aError); + return true; + } + case 107: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_entry + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_add_entry, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_add_entry: "_ns, aError); + return true; + } + case 108: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_item + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_add_item, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_add_item: "_ns, aError); + return true; + } + case 109: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_add_items + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_add_items, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_add_items: "_ns, aError); + return true; + } + case 110: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_clear_item + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_clear_item, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_clear_item: "_ns, aError); + return true; + } + case 111: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_entries + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_get_entries, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_get_entries: "_ns, aError); + return true; + } + case 112: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_first + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_get_first, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_get_first: "_ns, aError); + return true; + } + case 113: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_items + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_get_items, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_get_items: "_ns, aError); + return true; + } + case 114: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_last + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_get_last, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_get_last: "_ns, aError); + return true; + } + case 115: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_get_last_entry + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_get_last_entry, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_get_last_entry: "_ns, aError); + return true; + } + case 116: { // todolist:uniffi_uniffi_todolist_fn_method_todolist_make_default + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_method_todolist_make_default, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_method_todolist_make_default: "_ns, aError); + return true; + } + case 117: { // todolist:uniffi_uniffi_todolist_fn_func_create_entry_with + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_func_create_entry_with, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_func_create_entry_with: "_ns, aError); + return true; + } + case 118: { // todolist:uniffi_uniffi_todolist_fn_func_get_default_list + using CallHandler = ScaffoldingCallHandler>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_func_get_default_list, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_func_get_default_list: "_ns, aError); + return true; + } + case 119: { // todolist:uniffi_uniffi_todolist_fn_func_set_default_list + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; + CallHandler::CallSync(uniffi_uniffi_todolist_fn_func_set_default_list, aGlobal, aArgs, aReturnValue, "uniffi_uniffi_todolist_fn_func_set_default_list: "_ns, aError); return true; } } @@ -1009,18 +1019,18 @@ bool UniFFIFixturesCallSync(const GlobalObject& aGlobal, uint64_t aId, const Seq Maybe> UniFFIFixturesReadPointer(const GlobalObject& aGlobal, uint64_t aId, const ArrayBuffer& aArrayBuff, long aPosition, ErrorResult& aError) { const UniFFIPointerType* type; switch (aId) { - case 4: { // rondpoint:Retourneur + case 4: { // rondpoint:Optionneur + type = &kRondpointOptionneurPointerType; + break; + } + case 5: { // rondpoint:Retourneur type = &kRondpointRetourneurPointerType; break; } - case 5: { // rondpoint:Stringifier + case 6: { // rondpoint:Stringifier type = &kRondpointStringifierPointerType; break; } - case 6: { // rondpoint:Optionneur - type = &kRondpointOptionneurPointerType; - break; - } case 7: { // sprites:Sprite type = &kSpritesSpritePointerType; break; @@ -1038,18 +1048,18 @@ Maybe> UniFFIFixturesReadPointer(const GlobalObj bool UniFFIFixturesWritePointer(const GlobalObject& aGlobal, uint64_t aId, const UniFFIPointer& aPtr, const ArrayBuffer& aArrayBuff, long aPosition, ErrorResult& aError) { const UniFFIPointerType* type; switch (aId) { - case 4: { // rondpoint:Retourneur + case 4: { // rondpoint:Optionneur + type = &kRondpointOptionneurPointerType; + break; + } + case 5: { // rondpoint:Retourneur type = &kRondpointRetourneurPointerType; break; } - case 5: { // rondpoint:Stringifier + case 6: { // rondpoint:Stringifier type = &kRondpointStringifierPointerType; break; } - case 6: { // rondpoint:Optionneur - type = &kRondpointOptionneurPointerType; - break; - } case 7: { // sprites:Sprite type = &kSpritesSpritePointerType; break; diff --git a/toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp b/toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp index eaf0d1351f65..f5c0ef6da1af 100644 --- a/toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp +++ b/toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp @@ -24,56 +24,56 @@ using dom::UniFFIScaffoldingCallResult; // Define scaffolding functions from UniFFI extern "C" { - void uniffi_tabs_fn_free_tabsstore(void *, RustCallStatus*); - void * uniffi_tabs_fn_constructor_tabsstore_new(RustBuffer, RustCallStatus*); - RustBuffer uniffi_tabs_fn_method_tabsstore_get_all(void *, RustCallStatus*); - void uniffi_tabs_fn_method_tabsstore_set_local_tabs(void *, RustBuffer, RustCallStatus*); - void uniffi_tabs_fn_method_tabsstore_register_with_sync_manager(void *, RustCallStatus*); - void * uniffi_tabs_fn_method_tabsstore_bridged_engine(void *, RustCallStatus*); - void uniffi_tabs_fn_free_tabsbridgedengine(void *, RustCallStatus*); - int64_t uniffi_tabs_fn_method_tabsbridgedengine_last_sync(void *, RustCallStatus*); - void uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync(void *, int64_t, RustCallStatus*); - RustBuffer uniffi_tabs_fn_method_tabsbridgedengine_sync_id(void *, RustCallStatus*); - RustBuffer uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id(void *, RustCallStatus*); - RustBuffer uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id(void *, RustBuffer, RustCallStatus*); - void uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync(void *, RustBuffer, RustCallStatus*); - void uniffi_tabs_fn_method_tabsbridgedengine_sync_started(void *, RustCallStatus*); - void uniffi_tabs_fn_method_tabsbridgedengine_store_incoming(void *, RustBuffer, RustCallStatus*); - RustBuffer uniffi_tabs_fn_method_tabsbridgedengine_apply(void *, RustCallStatus*); - void uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded(void *, int64_t, RustBuffer, RustCallStatus*); - void uniffi_tabs_fn_method_tabsbridgedengine_sync_finished(void *, RustCallStatus*); - void uniffi_tabs_fn_method_tabsbridgedengine_reset(void *, RustCallStatus*); - void uniffi_tabs_fn_method_tabsbridgedengine_wipe(void *, RustCallStatus*); - void uniffi_suggest_fn_free_suggeststore(void *, RustCallStatus*); - void * uniffi_suggest_fn_constructor_suggeststore_new(RustBuffer, RustBuffer, RustCallStatus*); - RustBuffer uniffi_suggest_fn_method_suggeststore_query(void *, RustBuffer, RustCallStatus*); - void uniffi_suggest_fn_method_suggeststore_interrupt(void *, RustCallStatus*); - void uniffi_suggest_fn_method_suggeststore_ingest(void *, RustBuffer, RustCallStatus*); - void uniffi_suggest_fn_method_suggeststore_clear(void *, RustCallStatus*); - int8_t uniffi_suggest_fn_func_raw_suggestion_url_matches(RustBuffer, RustBuffer, RustCallStatus*); void uniffi_remote_settings_fn_free_remotesettings(void *, RustCallStatus*); void * uniffi_remote_settings_fn_constructor_remotesettings_new(RustBuffer, RustCallStatus*); + void uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path(void *, RustBuffer, RustBuffer, RustCallStatus*); RustBuffer uniffi_remote_settings_fn_method_remotesettings_get_records(void *, RustCallStatus*); RustBuffer uniffi_remote_settings_fn_method_remotesettings_get_records_since(void *, uint64_t, RustCallStatus*); - void uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path(void *, RustBuffer, RustBuffer, RustCallStatus*); + void uniffi_suggest_fn_free_suggeststore(void *, RustCallStatus*); + void * uniffi_suggest_fn_constructor_suggeststore_new(RustBuffer, RustBuffer, RustCallStatus*); + void uniffi_suggest_fn_method_suggeststore_clear(void *, RustCallStatus*); + void uniffi_suggest_fn_method_suggeststore_ingest(void *, RustBuffer, RustCallStatus*); + void uniffi_suggest_fn_method_suggeststore_interrupt(void *, RustCallStatus*); + RustBuffer uniffi_suggest_fn_method_suggeststore_query(void *, RustBuffer, RustCallStatus*); + int8_t uniffi_suggest_fn_func_raw_suggestion_url_matches(RustBuffer, RustBuffer, RustCallStatus*); + void uniffi_tabs_fn_free_tabsbridgedengine(void *, RustCallStatus*); + RustBuffer uniffi_tabs_fn_method_tabsbridgedengine_apply(void *, RustCallStatus*); + RustBuffer uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id(void *, RustBuffer, RustCallStatus*); + int64_t uniffi_tabs_fn_method_tabsbridgedengine_last_sync(void *, RustCallStatus*); + void uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync(void *, RustBuffer, RustCallStatus*); + void uniffi_tabs_fn_method_tabsbridgedengine_reset(void *, RustCallStatus*); + RustBuffer uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id(void *, RustCallStatus*); + void uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync(void *, int64_t, RustCallStatus*); + void uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded(void *, int64_t, RustBuffer, RustCallStatus*); + void uniffi_tabs_fn_method_tabsbridgedengine_store_incoming(void *, RustBuffer, RustCallStatus*); + void uniffi_tabs_fn_method_tabsbridgedengine_sync_finished(void *, RustCallStatus*); + RustBuffer uniffi_tabs_fn_method_tabsbridgedengine_sync_id(void *, RustCallStatus*); + void uniffi_tabs_fn_method_tabsbridgedengine_sync_started(void *, RustCallStatus*); + void uniffi_tabs_fn_method_tabsbridgedengine_wipe(void *, RustCallStatus*); + void uniffi_tabs_fn_free_tabsstore(void *, RustCallStatus*); + void * uniffi_tabs_fn_constructor_tabsstore_new(RustBuffer, RustCallStatus*); + void * uniffi_tabs_fn_method_tabsstore_bridged_engine(void *, RustCallStatus*); + RustBuffer uniffi_tabs_fn_method_tabsstore_get_all(void *, RustCallStatus*); + void uniffi_tabs_fn_method_tabsstore_register_with_sync_manager(void *, RustCallStatus*); + void uniffi_tabs_fn_method_tabsstore_set_local_tabs(void *, RustBuffer, RustCallStatus*); } // Define pointer types -const static mozilla::uniffi::UniFFIPointerType kTabsTabsStorePointerType { - "tabs::TabsStore"_ns, - uniffi_tabs_fn_free_tabsstore -}; -const static mozilla::uniffi::UniFFIPointerType kTabsTabsBridgedEnginePointerType { - "tabs::TabsBridgedEngine"_ns, - uniffi_tabs_fn_free_tabsbridgedengine +const static mozilla::uniffi::UniFFIPointerType kRemoteSettingsRemoteSettingsPointerType { + "remote_settings::RemoteSettings"_ns, + uniffi_remote_settings_fn_free_remotesettings }; const static mozilla::uniffi::UniFFIPointerType kSuggestSuggestStorePointerType { "suggest::SuggestStore"_ns, uniffi_suggest_fn_free_suggeststore }; -const static mozilla::uniffi::UniFFIPointerType kRemoteSettingsRemoteSettingsPointerType { - "remote_settings::RemoteSettings"_ns, - uniffi_remote_settings_fn_free_remotesettings +const static mozilla::uniffi::UniFFIPointerType kTabsTabsBridgedEnginePointerType { + "tabs::TabsBridgedEngine"_ns, + uniffi_tabs_fn_free_tabsbridgedengine +}; +const static mozilla::uniffi::UniFFIPointerType kTabsTabsStorePointerType { + "tabs::TabsStore"_ns, + uniffi_tabs_fn_free_tabsstore }; // Define the data we need per-callback interface @@ -89,117 +89,117 @@ Maybe UniFFIGetCallbackInterfaceInfo(uint64_t aInterfaceI Maybe> UniFFICallAsync(const GlobalObject& aGlobal, uint64_t aId, const Sequence& aArgs, ErrorResult& aError) { switch (aId) { - case 0: { // tabs:uniffi_tabs_fn_constructor_tabsstore_new - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_constructor_tabsstore_new, aGlobal, aArgs, "uniffi_tabs_fn_constructor_tabsstore_new: "_ns, aError)); - } - case 1: { // tabs:uniffi_tabs_fn_method_tabsstore_get_all - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsstore_get_all, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsstore_get_all: "_ns, aError)); - } - case 2: { // tabs:uniffi_tabs_fn_method_tabsstore_set_local_tabs - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsstore_set_local_tabs, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsstore_set_local_tabs: "_ns, aError)); - } - case 3: { // tabs:uniffi_tabs_fn_method_tabsstore_register_with_sync_manager - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsstore_register_with_sync_manager, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsstore_register_with_sync_manager: "_ns, aError)); - } - case 4: { // tabs:uniffi_tabs_fn_method_tabsstore_bridged_engine - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsstore_bridged_engine, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsstore_bridged_engine: "_ns, aError)); - } - case 5: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_last_sync - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_last_sync, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_last_sync: "_ns, aError)); - } - case 6: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync: "_ns, aError)); - } - case 7: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_id - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_sync_id, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_sync_id: "_ns, aError)); - } - case 8: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id: "_ns, aError)); - } - case 9: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id: "_ns, aError)); - } - case 10: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync: "_ns, aError)); - } - case 11: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_started - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_sync_started, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_sync_started: "_ns, aError)); - } - case 12: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_store_incoming - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_store_incoming, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_store_incoming: "_ns, aError)); - } - case 13: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_apply - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_apply, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_apply: "_ns, aError)); - } - case 14: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded: "_ns, aError)); - } - case 15: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_finished - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_sync_finished, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_sync_finished: "_ns, aError)); - } - case 16: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_reset, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_reset: "_ns, aError)); - } - case 17: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_wipe - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_wipe, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_wipe: "_ns, aError)); - } - case 18: { // suggest:uniffi_suggest_fn_constructor_suggeststore_new - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_suggest_fn_constructor_suggeststore_new, aGlobal, aArgs, "uniffi_suggest_fn_constructor_suggeststore_new: "_ns, aError)); - } - case 19: { // suggest:uniffi_suggest_fn_method_suggeststore_query - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_suggest_fn_method_suggeststore_query, aGlobal, aArgs, "uniffi_suggest_fn_method_suggeststore_query: "_ns, aError)); - } - case 20: { // suggest:uniffi_suggest_fn_method_suggeststore_interrupt - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>>; - return Some(CallHandler::CallAsync(uniffi_suggest_fn_method_suggeststore_interrupt, aGlobal, aArgs, "uniffi_suggest_fn_method_suggeststore_interrupt: "_ns, aError)); - } - case 21: { // suggest:uniffi_suggest_fn_method_suggeststore_ingest - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_suggest_fn_method_suggeststore_ingest, aGlobal, aArgs, "uniffi_suggest_fn_method_suggeststore_ingest: "_ns, aError)); - } - case 22: { // suggest:uniffi_suggest_fn_method_suggeststore_clear - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>>; - return Some(CallHandler::CallAsync(uniffi_suggest_fn_method_suggeststore_clear, aGlobal, aArgs, "uniffi_suggest_fn_method_suggeststore_clear: "_ns, aError)); - } - case 23: { // suggest:uniffi_suggest_fn_func_raw_suggestion_url_matches - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_suggest_fn_func_raw_suggestion_url_matches, aGlobal, aArgs, "uniffi_suggest_fn_func_raw_suggestion_url_matches: "_ns, aError)); - } - case 24: { // remote_settings:uniffi_remote_settings_fn_constructor_remotesettings_new + case 0: { // remote_settings:uniffi_remote_settings_fn_constructor_remotesettings_new using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; return Some(CallHandler::CallAsync(uniffi_remote_settings_fn_constructor_remotesettings_new, aGlobal, aArgs, "uniffi_remote_settings_fn_constructor_remotesettings_new: "_ns, aError)); } - case 25: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records + case 1: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRemoteSettingsRemoteSettingsPointerType>, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path, aGlobal, aArgs, "uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path: "_ns, aError)); + } + case 2: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRemoteSettingsRemoteSettingsPointerType>>; return Some(CallHandler::CallAsync(uniffi_remote_settings_fn_method_remotesettings_get_records, aGlobal, aArgs, "uniffi_remote_settings_fn_method_remotesettings_get_records: "_ns, aError)); } - case 26: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records_since + case 3: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records_since using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRemoteSettingsRemoteSettingsPointerType>, ScaffoldingConverter>; return Some(CallHandler::CallAsync(uniffi_remote_settings_fn_method_remotesettings_get_records_since, aGlobal, aArgs, "uniffi_remote_settings_fn_method_remotesettings_get_records_since: "_ns, aError)); } - case 27: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRemoteSettingsRemoteSettingsPointerType>, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path, aGlobal, aArgs, "uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path: "_ns, aError)); + case 4: { // suggest:uniffi_suggest_fn_constructor_suggeststore_new + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_suggest_fn_constructor_suggeststore_new, aGlobal, aArgs, "uniffi_suggest_fn_constructor_suggeststore_new: "_ns, aError)); + } + case 5: { // suggest:uniffi_suggest_fn_method_suggeststore_clear + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>>; + return Some(CallHandler::CallAsync(uniffi_suggest_fn_method_suggeststore_clear, aGlobal, aArgs, "uniffi_suggest_fn_method_suggeststore_clear: "_ns, aError)); + } + case 6: { // suggest:uniffi_suggest_fn_method_suggeststore_ingest + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_suggest_fn_method_suggeststore_ingest, aGlobal, aArgs, "uniffi_suggest_fn_method_suggeststore_ingest: "_ns, aError)); + } + case 7: { // suggest:uniffi_suggest_fn_method_suggeststore_interrupt + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>>; + return Some(CallHandler::CallAsync(uniffi_suggest_fn_method_suggeststore_interrupt, aGlobal, aArgs, "uniffi_suggest_fn_method_suggeststore_interrupt: "_ns, aError)); + } + case 8: { // suggest:uniffi_suggest_fn_method_suggeststore_query + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_suggest_fn_method_suggeststore_query, aGlobal, aArgs, "uniffi_suggest_fn_method_suggeststore_query: "_ns, aError)); + } + case 9: { // suggest:uniffi_suggest_fn_func_raw_suggestion_url_matches + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_suggest_fn_func_raw_suggestion_url_matches, aGlobal, aArgs, "uniffi_suggest_fn_func_raw_suggestion_url_matches: "_ns, aError)); + } + case 10: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_apply + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_apply, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_apply: "_ns, aError)); + } + case 11: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id: "_ns, aError)); + } + case 12: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_last_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_last_sync, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_last_sync: "_ns, aError)); + } + case 13: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync: "_ns, aError)); + } + case 14: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_reset, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_reset: "_ns, aError)); + } + case 15: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id: "_ns, aError)); + } + case 16: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync: "_ns, aError)); + } + case 17: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded: "_ns, aError)); + } + case 18: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_store_incoming + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_store_incoming, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_store_incoming: "_ns, aError)); + } + case 19: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_finished + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_sync_finished, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_sync_finished: "_ns, aError)); + } + case 20: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_sync_id, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_sync_id: "_ns, aError)); + } + case 21: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_started + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_sync_started, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_sync_started: "_ns, aError)); + } + case 22: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_wipe + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsbridgedengine_wipe, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsbridgedengine_wipe: "_ns, aError)); + } + case 23: { // tabs:uniffi_tabs_fn_constructor_tabsstore_new + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_constructor_tabsstore_new, aGlobal, aArgs, "uniffi_tabs_fn_constructor_tabsstore_new: "_ns, aError)); + } + case 24: { // tabs:uniffi_tabs_fn_method_tabsstore_bridged_engine + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsstore_bridged_engine, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsstore_bridged_engine: "_ns, aError)); + } + case 25: { // tabs:uniffi_tabs_fn_method_tabsstore_get_all + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsstore_get_all, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsstore_get_all: "_ns, aError)); + } + case 26: { // tabs:uniffi_tabs_fn_method_tabsstore_register_with_sync_manager + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsstore_register_with_sync_manager, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsstore_register_with_sync_manager: "_ns, aError)); + } + case 27: { // tabs:uniffi_tabs_fn_method_tabsstore_set_local_tabs + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(uniffi_tabs_fn_method_tabsstore_set_local_tabs, aGlobal, aArgs, "uniffi_tabs_fn_method_tabsstore_set_local_tabs: "_ns, aError)); } } return Nothing(); @@ -207,144 +207,144 @@ Maybe> UniFFICallAsync(const GlobalObject& aGlobal, ui bool UniFFICallSync(const GlobalObject& aGlobal, uint64_t aId, const Sequence& aArgs, RootedDictionary& aReturnValue, ErrorResult& aError) { switch (aId) { - case 0: { // tabs:uniffi_tabs_fn_constructor_tabsstore_new - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_tabs_fn_constructor_tabsstore_new, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_constructor_tabsstore_new: "_ns, aError); - return true; - } - case 1: { // tabs:uniffi_tabs_fn_method_tabsstore_get_all - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsstore_get_all, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsstore_get_all: "_ns, aError); - return true; - } - case 2: { // tabs:uniffi_tabs_fn_method_tabsstore_set_local_tabs - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsstore_set_local_tabs, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsstore_set_local_tabs: "_ns, aError); - return true; - } - case 3: { // tabs:uniffi_tabs_fn_method_tabsstore_register_with_sync_manager - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsstore_register_with_sync_manager, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsstore_register_with_sync_manager: "_ns, aError); - return true; - } - case 4: { // tabs:uniffi_tabs_fn_method_tabsstore_bridged_engine - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsstore_bridged_engine, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsstore_bridged_engine: "_ns, aError); - return true; - } - case 5: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_last_sync - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_last_sync, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_last_sync: "_ns, aError); - return true; - } - case 6: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync: "_ns, aError); - return true; - } - case 7: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_id - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_sync_id, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_sync_id: "_ns, aError); - return true; - } - case 8: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id: "_ns, aError); - return true; - } - case 9: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id: "_ns, aError); - return true; - } - case 10: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync: "_ns, aError); - return true; - } - case 11: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_started - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_sync_started, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_sync_started: "_ns, aError); - return true; - } - case 12: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_store_incoming - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_store_incoming, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_store_incoming: "_ns, aError); - return true; - } - case 13: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_apply - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_apply, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_apply: "_ns, aError); - return true; - } - case 14: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded: "_ns, aError); - return true; - } - case 15: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_finished - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_sync_finished, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_sync_finished: "_ns, aError); - return true; - } - case 16: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_reset, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_reset: "_ns, aError); - return true; - } - case 17: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_wipe - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; - CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_wipe, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_wipe: "_ns, aError); - return true; - } - case 18: { // suggest:uniffi_suggest_fn_constructor_suggeststore_new - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_suggest_fn_constructor_suggeststore_new, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_constructor_suggeststore_new: "_ns, aError); - return true; - } - case 19: { // suggest:uniffi_suggest_fn_method_suggeststore_query - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_suggest_fn_method_suggeststore_query, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_method_suggeststore_query: "_ns, aError); - return true; - } - case 20: { // suggest:uniffi_suggest_fn_method_suggeststore_interrupt - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>>; - CallHandler::CallSync(uniffi_suggest_fn_method_suggeststore_interrupt, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_method_suggeststore_interrupt: "_ns, aError); - return true; - } - case 21: { // suggest:uniffi_suggest_fn_method_suggeststore_ingest - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_suggest_fn_method_suggeststore_ingest, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_method_suggeststore_ingest: "_ns, aError); - return true; - } - case 22: { // suggest:uniffi_suggest_fn_method_suggeststore_clear - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>>; - CallHandler::CallSync(uniffi_suggest_fn_method_suggeststore_clear, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_method_suggeststore_clear: "_ns, aError); - return true; - } - case 23: { // suggest:uniffi_suggest_fn_func_raw_suggestion_url_matches - using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_suggest_fn_func_raw_suggestion_url_matches, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_func_raw_suggestion_url_matches: "_ns, aError); - return true; - } - case 24: { // remote_settings:uniffi_remote_settings_fn_constructor_remotesettings_new + case 0: { // remote_settings:uniffi_remote_settings_fn_constructor_remotesettings_new using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; CallHandler::CallSync(uniffi_remote_settings_fn_constructor_remotesettings_new, aGlobal, aArgs, aReturnValue, "uniffi_remote_settings_fn_constructor_remotesettings_new: "_ns, aError); return true; } - case 25: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records + case 1: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRemoteSettingsRemoteSettingsPointerType>, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path, aGlobal, aArgs, aReturnValue, "uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path: "_ns, aError); + return true; + } + case 2: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRemoteSettingsRemoteSettingsPointerType>>; CallHandler::CallSync(uniffi_remote_settings_fn_method_remotesettings_get_records, aGlobal, aArgs, aReturnValue, "uniffi_remote_settings_fn_method_remotesettings_get_records: "_ns, aError); return true; } - case 26: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records_since + case 3: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_get_records_since using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRemoteSettingsRemoteSettingsPointerType>, ScaffoldingConverter>; CallHandler::CallSync(uniffi_remote_settings_fn_method_remotesettings_get_records_since, aGlobal, aArgs, aReturnValue, "uniffi_remote_settings_fn_method_remotesettings_get_records_since: "_ns, aError); return true; } - case 27: { // remote_settings:uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path - using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRemoteSettingsRemoteSettingsPointerType>, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path, aGlobal, aArgs, aReturnValue, "uniffi_remote_settings_fn_method_remotesettings_download_attachment_to_path: "_ns, aError); + case 4: { // suggest:uniffi_suggest_fn_constructor_suggeststore_new + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_suggest_fn_constructor_suggeststore_new, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_constructor_suggeststore_new: "_ns, aError); + return true; + } + case 5: { // suggest:uniffi_suggest_fn_method_suggeststore_clear + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>>; + CallHandler::CallSync(uniffi_suggest_fn_method_suggeststore_clear, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_method_suggeststore_clear: "_ns, aError); + return true; + } + case 6: { // suggest:uniffi_suggest_fn_method_suggeststore_ingest + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_suggest_fn_method_suggeststore_ingest, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_method_suggeststore_ingest: "_ns, aError); + return true; + } + case 7: { // suggest:uniffi_suggest_fn_method_suggeststore_interrupt + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>>; + CallHandler::CallSync(uniffi_suggest_fn_method_suggeststore_interrupt, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_method_suggeststore_interrupt: "_ns, aError); + return true; + } + case 8: { // suggest:uniffi_suggest_fn_method_suggeststore_query + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSuggestSuggestStorePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_suggest_fn_method_suggeststore_query, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_method_suggeststore_query: "_ns, aError); + return true; + } + case 9: { // suggest:uniffi_suggest_fn_func_raw_suggestion_url_matches + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_suggest_fn_func_raw_suggestion_url_matches, aGlobal, aArgs, aReturnValue, "uniffi_suggest_fn_func_raw_suggestion_url_matches: "_ns, aError); + return true; + } + case 10: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_apply + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_apply, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_apply: "_ns, aError); + return true; + } + case 11: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_ensure_current_sync_id: "_ns, aError); + return true; + } + case 12: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_last_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_last_sync, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_last_sync: "_ns, aError); + return true; + } + case 13: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_prepare_for_sync: "_ns, aError); + return true; + } + case 14: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_reset, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_reset: "_ns, aError); + return true; + } + case 15: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_reset_sync_id: "_ns, aError); + return true; + } + case 16: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_set_last_sync: "_ns, aError); + return true; + } + case 17: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_set_uploaded: "_ns, aError); + return true; + } + case 18: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_store_incoming + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_store_incoming, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_store_incoming: "_ns, aError); + return true; + } + case 19: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_finished + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_sync_finished, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_sync_finished: "_ns, aError); + return true; + } + case 20: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_sync_id, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_sync_id: "_ns, aError); + return true; + } + case 21: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_sync_started + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_sync_started, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_sync_started: "_ns, aError); + return true; + } + case 22: { // tabs:uniffi_tabs_fn_method_tabsbridgedengine_wipe + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsbridgedengine_wipe, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsbridgedengine_wipe: "_ns, aError); + return true; + } + case 23: { // tabs:uniffi_tabs_fn_constructor_tabsstore_new + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_tabs_fn_constructor_tabsstore_new, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_constructor_tabsstore_new: "_ns, aError); + return true; + } + case 24: { // tabs:uniffi_tabs_fn_method_tabsstore_bridged_engine + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsstore_bridged_engine, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsstore_bridged_engine: "_ns, aError); + return true; + } + case 25: { // tabs:uniffi_tabs_fn_method_tabsstore_get_all + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsstore_get_all, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsstore_get_all: "_ns, aError); + return true; + } + case 26: { // tabs:uniffi_tabs_fn_method_tabsstore_register_with_sync_manager + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsstore_register_with_sync_manager, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsstore_register_with_sync_manager: "_ns, aError); + return true; + } + case 27: { // tabs:uniffi_tabs_fn_method_tabsstore_set_local_tabs + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(uniffi_tabs_fn_method_tabsstore_set_local_tabs, aGlobal, aArgs, aReturnValue, "uniffi_tabs_fn_method_tabsstore_set_local_tabs: "_ns, aError); return true; } } @@ -354,20 +354,20 @@ bool UniFFICallSync(const GlobalObject& aGlobal, uint64_t aId, const Sequence> UniFFIReadPointer(const GlobalObject& aGlobal, uint64_t aId, const ArrayBuffer& aArrayBuff, long aPosition, ErrorResult& aError) { const UniFFIPointerType* type; switch (aId) { - case 0: { // tabs:TabsStore - type = &kTabsTabsStorePointerType; + case 0: { // remote_settings:RemoteSettings + type = &kRemoteSettingsRemoteSettingsPointerType; break; } - case 1: { // tabs:TabsBridgedEngine - type = &kTabsTabsBridgedEnginePointerType; - break; - } - case 2: { // suggest:SuggestStore + case 1: { // suggest:SuggestStore type = &kSuggestSuggestStorePointerType; break; } - case 3: { // remote_settings:RemoteSettings - type = &kRemoteSettingsRemoteSettingsPointerType; + case 2: { // tabs:TabsBridgedEngine + type = &kTabsTabsBridgedEnginePointerType; + break; + } + case 3: { // tabs:TabsStore + type = &kTabsTabsStorePointerType; break; } default: @@ -379,20 +379,20 @@ Maybe> UniFFIReadPointer(const GlobalObject& aGl bool UniFFIWritePointer(const GlobalObject& aGlobal, uint64_t aId, const UniFFIPointer& aPtr, const ArrayBuffer& aArrayBuff, long aPosition, ErrorResult& aError) { const UniFFIPointerType* type; switch (aId) { - case 0: { // tabs:TabsStore - type = &kTabsTabsStorePointerType; + case 0: { // remote_settings:RemoteSettings + type = &kRemoteSettingsRemoteSettingsPointerType; break; } - case 1: { // tabs:TabsBridgedEngine - type = &kTabsTabsBridgedEnginePointerType; - break; - } - case 2: { // suggest:SuggestStore + case 1: { // suggest:SuggestStore type = &kSuggestSuggestStorePointerType; break; } - case 3: { // remote_settings:RemoteSettings - type = &kRemoteSettingsRemoteSettingsPointerType; + case 2: { // tabs:TabsBridgedEngine + type = &kTabsTabsBridgedEnginePointerType; + break; + } + case 3: { // tabs:TabsStore + type = &kTabsTabsStorePointerType; break; } default: