diff --git a/.eslintignore b/.eslintignore index 5a85e2e4e6d73..f0fc934fb1e2a 100644 --- a/.eslintignore +++ b/.eslintignore @@ -240,3 +240,4 @@ browser/extensions/translations/extension/ # "scaffolding" used by uniffi which isn't valid JS in its original form. toolkit/components/uniffi-bindgen-gecko-js/src/templates/js/ +toolkit/components/uniffi-bindgen-gecko-js/components/generated/* diff --git a/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustTabs.jsm b/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustTabs.jsm new file mode 100644 index 0000000000000..74e528a763594 --- /dev/null +++ b/toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustTabs.jsm @@ -0,0 +1,1132 @@ +// This file was autogenerated by the `uniffi-bindgen-gecko-js` crate. +// Trust me, you don't want to mess with it! + + + +"use strict"; + +var EXPORTED_SYMBOLS = []; + +// Write/Read data to/from an ArrayBuffer +class ArrayBufferDataStream { + constructor(arrayBuffer) { + this.dataView = new DataView(arrayBuffer); + this.pos = 0; + } + + readUint8() { + let rv = this.dataView.getUint8(this.pos); + this.pos += 1; + return rv; + } + + writeUint8(value) { + this.dataView.setUint8(this.pos, value); + this.pos += 1; + } + + readUint16() { + let rv = this.dataView.getUint16(this.pos); + this.pos += 2; + return rv; + } + + writeUint16(value) { + this.dataView.setUint16(this.pos, value); + this.pos += 2; + } + + readUint32() { + let rv = this.dataView.getUint32(this.pos); + this.pos += 4; + return rv; + } + + writeUint32(value) { + this.dataView.setUint32(this.pos, value); + this.pos += 4; + } + + readUint64() { + let rv = this.dataView.getBigUint64(this.pos); + this.pos += 8; + return Number(rv); + } + + writeUint64(value) { + this.dataView.setBigUint64(this.pos, BigInt(value)); + this.pos += 8; + } + + + readInt8() { + let rv = this.dataView.getInt8(this.pos); + this.pos += 1; + return rv; + } + + writeInt8(value) { + this.dataView.setInt8(this.pos, value); + this.pos += 1; + } + + readInt16() { + let rv = this.dataView.getInt16(this.pos); + this.pos += 2; + return rv; + } + + writeInt16(value) { + this.dataView.setInt16(this.pos, value); + this.pos += 2; + } + + readInt32() { + let rv = this.dataView.getInt32(this.pos); + this.pos += 4; + return rv; + } + + writeInt32(value) { + this.dataView.setInt32(this.pos, value); + this.pos += 4; + } + + readInt64() { + let rv = this.dataView.getBigInt64(this.pos); + this.pos += 8; + return Number(rv); + } + + writeInt64(value) { + this.dataView.setBigInt64(this.pos, BigInt(value)); + this.pos += 8; + } + + + readFloat32() { + let rv = this.dataView.getFloat32(this.pos); + this.pos += 4; + return rv; + } + + writeFloat32(value) { + this.dataView.setFloat32(this.pos, value); + this.pos += 4; + } + + readFloat64() { + let rv = this.dataView.getFloat64(this.pos); + this.pos += 8; + return rv; + } + + writeFloat64(value) { + this.dataView.setFloat64(this.pos, value); + this.pos += 8; + } + + + writeString(value) { + const encoder = new TextEncoder(); + // Note: in order to efficiently write this data, we first write the + // string data, reserving 4 bytes for the size. + const dest = new Uint8Array(this.dataView.buffer, this.pos + 4); + const encodeResult = encoder.encodeInto(value, dest); + if (encodeResult.read != value.length) { + throw new UniFFIError( + "writeString: out of space when writing to ArrayBuffer. Did the computeSize() method returned the wrong result?" + ); + } + const size = encodeResult.written; + // Next, go back and write the size before the string data + this.dataView.setUint32(this.pos, size); + // Finally, advance our position past both the size and string data + this.pos += size + 4; + } + + readString() { + const decoder = new TextDecoder(); + const size = this.readUint32(); + const source = new Uint8Array(this.dataView.buffer, this.pos, size) + const value = decoder.decode(source); + this.pos += size; + 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 res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); + this.pos += 8; + return res; + } + + // Writes a TabsBridgedEngine pointer into the data stream + // UniFFI Pointers are **always** 8 bytes long. That is enforced + // by the C++ and Rust Scaffolding code. + writePointerTabsBridgedEngine(value) { + const pointerId = 1; // tabs:TabsBridgedEngine + UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); + this.pos += 8; + } + +} + +function handleRustResult(result, liftCallback, liftErrCallback) { + switch (result.code) { + case "success": + return liftCallback(result.data); + + case "error": + throw liftErrCallback(result.data); + + case "internal-error": + let message = result.internalErrorMessage; + if (message) { + throw new UniFFIInternalError(message); + } else { + throw new UniFFIInternalError("Unknown error"); + } + + default: + throw new UniFFIError(`Unexpected status code: ${result.code}`); + } +} + +class UniFFIError { + constructor(message) { + this.message = message; + } +} + +class UniFFIInternalError extends UniFFIError {} + +// Base class for FFI converters +class FfiConverter { + static checkType(name, value) { + if (value === undefined ) { + throw TypeError(`${name} is undefined`); + } + if (value === null ) { + throw TypeError(`${name} is null`); + } + } +} + +// Base class for FFI converters that lift/lower by reading/writing to an ArrayBuffer +class FfiConverterArrayBuffer extends FfiConverter { + static lift(buf) { + return this.read(new ArrayBufferDataStream(buf)); + } + + static lower(value) { + const buf = new ArrayBuffer(this.computeSize(value)); + const dataStream = new ArrayBufferDataStream(buf); + this.write(dataStream, value); + return buf; + } +} + +// Symbols that are used to ensure that Object constructors +// can only be used with a proper UniFFI pointer +const uniffiObjectPtr = Symbol("uniffiObjectPtr"); +const constructUniffiObject = Symbol("constructUniffiObject"); + +class FfiConverterI64 extends FfiConverter { + static checkType(name, value) { + super.checkType(name, value); + if (!Number.isSafeInteger(value)) { + throw TypeError(`${name} exceeds the safe integer bounds (${value})`); + } + } + static computeSize() { + return 8; + } + static lift(value) { + return value; + } + static lower(value) { + return value; + } + static write(dataStream, value) { + dataStream.writeInt64(value) + } + static read(dataStream) { + return dataStream.readInt64() + } +} + +class FfiConverterString extends FfiConverter { + static lift(buf) { + const decoder = new TextDecoder(); + const utf8Arr = new Uint8Array(buf); + return decoder.decode(utf8Arr); + } + static lower(value) { + const encoder = new TextEncoder(); + return encoder.encode(value).buffer; + } + + static write(dataStream, value) { + dataStream.writeString(value); + } + + static read(dataStream) { + return dataStream.readString(); + } + + static computeSize(value) { + const encoder = new TextEncoder(); + return 4 + encoder.encode(value).length + } +} + + +class TabsBridgedEngine { + // Use `init` to instantiate this class. + // DO NOT USE THIS CONSTRUCTOR DIRECTLY + constructor(opts) { + if (!Object.prototype.hasOwnProperty.call(opts, constructUniffiObject)) { + throw new UniFFIError("Attempting to construct an object using the JavaScript constructor directly" + + "Please use a UDL defined constructor, or the init function for the primary constructor") + } + if (!opts[constructUniffiObject] instanceof UniFFIPointer) { + throw new UniFFIError("Attempting to create a UniFFI object with a pointer that is not an instance of UniFFIPointer") + } + this[uniffiObjectPtr] = opts[constructUniffiObject]; + } + lastSync() { + const liftResult = (result) => FfiConverterI64.lift(result); + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 7, // tabs:tabs_4d51_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) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + FfiConverterI64.checkType("lastSync", lastSync); + return UniFFIScaffolding.callAsync( + 8, // tabs:tabs_4d51_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) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 9, // tabs:tabs_4d51_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) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 10, // tabs:tabs_4d51_TabsBridgedEngine_reset_sync_id + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + ensureCurrentSyncId(newSyncId) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + FfiConverterString.checkType("newSyncId", newSyncId); + return UniFFIScaffolding.callAsync( + 11, // tabs:tabs_4d51_TabsBridgedEngine_ensure_current_sync_id + FfiConverterTypeTabsBridgedEngine.lower(this), + FfiConverterString.lower(newSyncId), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + prepareForSync(clientData) { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + FfiConverterString.checkType("clientData", clientData); + return UniFFIScaffolding.callAsync( + 12, // tabs:tabs_4d51_TabsBridgedEngine_prepare_for_sync + FfiConverterTypeTabsBridgedEngine.lower(this), + FfiConverterString.lower(clientData), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + syncStarted() { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 13, // tabs:tabs_4d51_TabsBridgedEngine_sync_started + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + storeIncoming(incomingEnvelopesAsJson) { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + FfiConverterSequencestring.checkType("incomingEnvelopesAsJson", incomingEnvelopesAsJson); + return UniFFIScaffolding.callAsync( + 14, // tabs:tabs_4d51_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) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 15, // tabs:tabs_4d51_TabsBridgedEngine_apply + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + setUploaded(newTimestamp,uploadedIds) { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + FfiConverterI64.checkType("newTimestamp", newTimestamp); + FfiConverterSequenceTypeTabsGuid.checkType("uploadedIds", uploadedIds); + return UniFFIScaffolding.callAsync( + 16, // tabs:tabs_4d51_TabsBridgedEngine_set_uploaded + FfiConverterTypeTabsBridgedEngine.lower(this), + FfiConverterI64.lower(newTimestamp), + FfiConverterSequenceTypeTabsGuid.lower(uploadedIds), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + syncFinished() { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 17, // tabs:tabs_4d51_TabsBridgedEngine_sync_finished + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + reset() { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 18, // tabs:tabs_4d51_TabsBridgedEngine_reset + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + wipe() { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 19, // tabs:tabs_4d51_TabsBridgedEngine_wipe + FfiConverterTypeTabsBridgedEngine.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + +} + +class FfiConverterTypeTabsBridgedEngine extends FfiConverter { + static lift(value) { + const opts = {}; + opts[constructUniffiObject] = value; + return new TabsBridgedEngine(opts); + } + + static lower(value) { + return value[uniffiObjectPtr]; + } + + static read(dataStream) { + return this.lift(dataStream.readPointerTabsBridgedEngine()); + } + + static write(dataStream, value) { + dataStream.writePointerTabsBridgedEngine(value[uniffiObjectPtr]); + } + + static computeSize(value) { + return 8; + } +} + +EXPORTED_SYMBOLS.push("TabsBridgedEngine"); + + +class TabsStore { + // Use `init` to instantiate this class. + // DO NOT USE THIS CONSTRUCTOR DIRECTLY + constructor(opts) { + if (!Object.prototype.hasOwnProperty.call(opts, constructUniffiObject)) { + throw new UniFFIError("Attempting to construct an object using the JavaScript constructor directly" + + "Please use a UDL defined constructor, or the init function for the primary constructor") + } + if (!opts[constructUniffiObject] instanceof UniFFIPointer) { + throw new UniFFIError("Attempting to create a UniFFI object with a pointer that is not an instance of UniFFIPointer") + } + this[uniffiObjectPtr] = opts[constructUniffiObject]; + } + /** + * An async constructor for TabsStore. + * + * @returns {Promise}: A promise that resolves + * to a newly constructed TabsStore + */ + static init(path) { + const liftResult = (result) => FfiConverterTypeTabsStore.lift(result); + const liftError = null; + const functionCall = () => { + FfiConverterString.checkType("path", path); + return UniFFIScaffolding.callAsync( + 0, // tabs:tabs_4d51_TabsStore_new + FfiConverterString.lower(path), + ) + } + 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:tabs_4d51_TabsStore_get_all + FfiConverterTypeTabsStore.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + setLocalTabs(remoteTabs) { + const liftResult = (result) => undefined; + const liftError = null; + const functionCall = () => { + FfiConverterSequenceTypeRemoteTabRecord.checkType("remoteTabs", remoteTabs); + return UniFFIScaffolding.callAsync( + 2, // tabs:tabs_4d51_TabsStore_set_local_tabs + FfiConverterTypeTabsStore.lower(this), + FfiConverterSequenceTypeRemoteTabRecord.lower(remoteTabs), + ) + } + 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( + 3, // tabs:tabs_4d51_TabsStore_register_with_sync_manager + FfiConverterTypeTabsStore.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + reset() { + const liftResult = (result) => undefined; + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + return UniFFIScaffolding.callAsync( + 4, // tabs:tabs_4d51_TabsStore_reset + FfiConverterTypeTabsStore.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + sync(keyId,accessToken,syncKey,tokenserverUrl,localId) { + const liftResult = (result) => FfiConverterString.lift(result); + const liftError = (data) => FfiConverterTypeTabsError.lift(data); + const functionCall = () => { + FfiConverterString.checkType("keyId", keyId); + FfiConverterString.checkType("accessToken", accessToken); + FfiConverterString.checkType("syncKey", syncKey); + FfiConverterString.checkType("tokenserverUrl", tokenserverUrl); + FfiConverterString.checkType("localId", localId); + return UniFFIScaffolding.callAsync( + 5, // tabs:tabs_4d51_TabsStore_sync + FfiConverterTypeTabsStore.lower(this), + FfiConverterString.lower(keyId), + FfiConverterString.lower(accessToken), + FfiConverterString.lower(syncKey), + FfiConverterString.lower(tokenserverUrl), + FfiConverterString.lower(localId), + ) + } + 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( + 6, // tabs:tabs_4d51_TabsStore_bridged_engine + FfiConverterTypeTabsStore.lower(this), + ) + } + try { + return functionCall().then((result) => handleRustResult(result, liftResult, liftError)); + } catch (error) { + return Promise.reject(error) + }} + +} + +class FfiConverterTypeTabsStore extends FfiConverter { + static lift(value) { + const opts = {}; + opts[constructUniffiObject] = value; + return new TabsStore(opts); + } + + static lower(value) { + return value[uniffiObjectPtr]; + } + + static read(dataStream) { + return this.lift(dataStream.readPointerTabsStore()); + } + + static write(dataStream, value) { + dataStream.writePointerTabsStore(value[uniffiObjectPtr]); + } + + static computeSize(value) { + return 8; + } +} + +EXPORTED_SYMBOLS.push("TabsStore"); + +class ClientRemoteTabs { + constructor(clientId,clientName,deviceType,remoteTabs) { + FfiConverterString.checkType("clientId", clientId); + FfiConverterString.checkType("clientName", clientName); + FfiConverterTypeTabsDeviceType.checkType("deviceType", deviceType); + FfiConverterSequenceTypeRemoteTabRecord.checkType("remoteTabs", remoteTabs); + this.clientId = clientId; + this.clientName = clientName; + this.deviceType = deviceType; + this.remoteTabs = remoteTabs; + } + equals(other) { + return ( + this.clientId == other.clientId && + this.clientName == other.clientName && + this.deviceType == other.deviceType && + this.remoteTabs == other.remoteTabs + ) + } +} + +class FfiConverterTypeClientRemoteTabs extends FfiConverter { + static lift(buf) { + return this.read(new ArrayBufferDataStream(buf)); + } + static lower(value) { + const buf = new ArrayBuffer(this.computeSize(value)); + const dataStream = new ArrayBufferDataStream(buf); + this.write(dataStream, value); + return buf; + } + static read(dataStream) { + return new ClientRemoteTabs( + FfiConverterString.read(dataStream), + FfiConverterString.read(dataStream), + FfiConverterTypeTabsDeviceType.read(dataStream), + FfiConverterSequenceTypeRemoteTabRecord.read(dataStream) + ); + } + static write(dataStream, value) { + FfiConverterString.write(dataStream, value.clientId); + FfiConverterString.write(dataStream, value.clientName); + FfiConverterTypeTabsDeviceType.write(dataStream, value.deviceType); + FfiConverterSequenceTypeRemoteTabRecord.write(dataStream, value.remoteTabs); + } + + static computeSize(value) { + let totalSize = 0; + totalSize += FfiConverterString.computeSize(value.clientId); + totalSize += FfiConverterString.computeSize(value.clientName); + totalSize += FfiConverterTypeTabsDeviceType.computeSize(value.deviceType); + totalSize += FfiConverterSequenceTypeRemoteTabRecord.computeSize(value.remoteTabs); + return totalSize + } +} + +EXPORTED_SYMBOLS.push("ClientRemoteTabs"); + +class RemoteTabRecord { + constructor(title,urlHistory,icon,lastUsed) { + FfiConverterString.checkType("title", title); + FfiConverterSequencestring.checkType("urlHistory", urlHistory); + FfiConverterOptionalstring.checkType("icon", icon); + FfiConverterI64.checkType("lastUsed", lastUsed); + this.title = title; + this.urlHistory = urlHistory; + this.icon = icon; + this.lastUsed = lastUsed; + } + equals(other) { + return ( + this.title == other.title && + this.urlHistory == other.urlHistory && + this.icon == other.icon && + this.lastUsed == other.lastUsed + ) + } +} + +class FfiConverterTypeRemoteTabRecord extends FfiConverter { + static lift(buf) { + return this.read(new ArrayBufferDataStream(buf)); + } + static lower(value) { + const buf = new ArrayBuffer(this.computeSize(value)); + const dataStream = new ArrayBufferDataStream(buf); + this.write(dataStream, value); + return buf; + } + static read(dataStream) { + return new RemoteTabRecord( + FfiConverterString.read(dataStream), + FfiConverterSequencestring.read(dataStream), + FfiConverterOptionalstring.read(dataStream), + FfiConverterI64.read(dataStream) + ); + } + static write(dataStream, value) { + FfiConverterString.write(dataStream, value.title); + FfiConverterSequencestring.write(dataStream, value.urlHistory); + FfiConverterOptionalstring.write(dataStream, value.icon); + FfiConverterI64.write(dataStream, value.lastUsed); + } + + static computeSize(value) { + let totalSize = 0; + totalSize += FfiConverterString.computeSize(value.title); + totalSize += FfiConverterSequencestring.computeSize(value.urlHistory); + totalSize += FfiConverterOptionalstring.computeSize(value.icon); + totalSize += FfiConverterI64.computeSize(value.lastUsed); + return totalSize + } +} + +EXPORTED_SYMBOLS.push("RemoteTabRecord"); + + +const TabsDeviceType = { + DESKTOP: 1, + MOBILE: 2, + TABLET: 3, + VR: 4, + TV: 5, + UNKNOWN: 6, +}; + +Object.freeze(TabsDeviceType); +class FfiConverterTypeTabsDeviceType extends FfiConverterArrayBuffer { + static read(dataStream) { + switch (dataStream.readInt32()) { + case 1: + return TabsDeviceType.DESKTOP + case 2: + return TabsDeviceType.MOBILE + case 3: + return TabsDeviceType.TABLET + case 4: + return TabsDeviceType.VR + case 5: + return TabsDeviceType.TV + case 6: + return TabsDeviceType.UNKNOWN + default: + return new Error("Unknown TabsDeviceType variant"); + } + } + + static write(dataStream, value) { + if (value === TabsDeviceType.DESKTOP) { + dataStream.writeInt32(1); + return; + } + if (value === TabsDeviceType.MOBILE) { + dataStream.writeInt32(2); + return; + } + if (value === TabsDeviceType.TABLET) { + dataStream.writeInt32(3); + return; + } + if (value === TabsDeviceType.VR) { + dataStream.writeInt32(4); + return; + } + if (value === TabsDeviceType.TV) { + dataStream.writeInt32(5); + return; + } + if (value === TabsDeviceType.UNKNOWN) { + dataStream.writeInt32(6); + return; + } + return new Error("Unknown TabsDeviceType variant"); + } + + static computeSize(value) { + return 4; + } +} + +EXPORTED_SYMBOLS.push("TabsDeviceType"); + + + + +class TabsError extends Error {} +EXPORTED_SYMBOLS.push("TabsError"); + + +class SyncAdapterError extends TabsError { + + constructor(message, ...params) { + super(...params); + this.message = message; + } +} +EXPORTED_SYMBOLS.push("SyncAdapterError"); +class SyncResetError extends TabsError { + + constructor(message, ...params) { + super(...params); + this.message = message; + } +} +EXPORTED_SYMBOLS.push("SyncResetError"); +class JsonError extends TabsError { + + constructor(message, ...params) { + super(...params); + this.message = message; + } +} +EXPORTED_SYMBOLS.push("JsonError"); +class MissingLocalIdError extends TabsError { + + constructor(message, ...params) { + super(...params); + this.message = message; + } +} +EXPORTED_SYMBOLS.push("MissingLocalIdError"); +class UrlParseError extends TabsError { + + constructor(message, ...params) { + super(...params); + this.message = message; + } +} +EXPORTED_SYMBOLS.push("UrlParseError"); +class SqlError extends TabsError { + + constructor(message, ...params) { + super(...params); + this.message = message; + } +} +EXPORTED_SYMBOLS.push("SqlError"); +class OpenDatabaseError extends TabsError { + + constructor(message, ...params) { + super(...params); + this.message = message; + } +} +EXPORTED_SYMBOLS.push("OpenDatabaseError"); + +class FfiConverterTypeTabsError extends FfiConverterArrayBuffer { + static read(dataStream) { + switch (dataStream.readInt32()) { + case 1: + return new SyncAdapterError(FfiConverterString.read(dataStream)); + case 2: + return new SyncResetError(FfiConverterString.read(dataStream)); + case 3: + return new JsonError(FfiConverterString.read(dataStream)); + case 4: + return new MissingLocalIdError(FfiConverterString.read(dataStream)); + case 5: + return new UrlParseError(FfiConverterString.read(dataStream)); + case 6: + return new SqlError(FfiConverterString.read(dataStream)); + case 7: + return new OpenDatabaseError(FfiConverterString.read(dataStream)); + default: + return new Error("Unknown TabsError variant"); + } + } +} + +class FfiConverterOptionalstring extends FfiConverterArrayBuffer { + static checkType(name, value) { + if (value !== undefined && value !== null) { + FfiConverterString.checkType(name, value) + } + } + + static read(dataStream) { + const code = dataStream.readUint8(0); + switch (code) { + case 0: + return null + case 1: + return FfiConverterString.read(dataStream) + default: + throw UniFFIError(`Unexpected code: ${code}`); + } + } + + static write(dataStream, value) { + if (value === null || value === undefined) { + dataStream.writeUint8(0); + return; + } + dataStream.writeUint8(1); + FfiConverterString.write(dataStream, value) + } + + static computeSize(value) { + if (value === null || value === undefined) { + return 1; + } + return 1 + FfiConverterString.computeSize(value) + } +}class FfiConverterSequencestring extends FfiConverterArrayBuffer { + static read(dataStream) { + const len = dataStream.readInt32(); + const arr = []; + for (let i = 0; i < len; i++) { + arr.push(FfiConverterString.read(dataStream)); + } + return arr; + } + + static write(dataStream, value) { + dataStream.writeInt32(value.length); + value.forEach((innerValue) => { + FfiConverterString.write(dataStream, innerValue); + }) + } + + static computeSize(value) { + // The size of the length + let size = 4; + for (const innerValue of value) { + size += FfiConverterString.computeSize(innerValue); + } + return size; + } +}class FfiConverterSequenceTypeClientRemoteTabs extends FfiConverterArrayBuffer { + static read(dataStream) { + const len = dataStream.readInt32(); + const arr = []; + for (let i = 0; i < len; i++) { + arr.push(FfiConverterTypeClientRemoteTabs.read(dataStream)); + } + return arr; + } + + static write(dataStream, value) { + dataStream.writeInt32(value.length); + value.forEach((innerValue) => { + FfiConverterTypeClientRemoteTabs.write(dataStream, innerValue); + }) + } + + static computeSize(value) { + // The size of the length + let size = 4; + for (const innerValue of value) { + size += FfiConverterTypeClientRemoteTabs.computeSize(innerValue); + } + return size; + } +}class FfiConverterSequenceTypeRemoteTabRecord extends FfiConverterArrayBuffer { + static read(dataStream) { + const len = dataStream.readInt32(); + const arr = []; + for (let i = 0; i < len; i++) { + arr.push(FfiConverterTypeRemoteTabRecord.read(dataStream)); + } + return arr; + } + + static write(dataStream, value) { + dataStream.writeInt32(value.length); + value.forEach((innerValue) => { + FfiConverterTypeRemoteTabRecord.write(dataStream, innerValue); + }) + } + + static computeSize(value) { + // The size of the length + let size = 4; + for (const innerValue of value) { + size += FfiConverterTypeRemoteTabRecord.computeSize(innerValue); + } + return size; + } +}class FfiConverterSequenceTypeTabsGuid extends FfiConverterArrayBuffer { + static read(dataStream) { + const len = dataStream.readInt32(); + const arr = []; + for (let i = 0; i < len; i++) { + arr.push(FfiConverterTypeTabsGuid.read(dataStream)); + } + return arr; + } + + static write(dataStream, value) { + dataStream.writeInt32(value.length); + value.forEach((innerValue) => { + FfiConverterTypeTabsGuid.write(dataStream, innerValue); + }) + } + + static computeSize(value) { + // The size of the length + let size = 4; + for (const innerValue of value) { + size += FfiConverterTypeTabsGuid.computeSize(innerValue); + } + return size; + } +} +class FfiConverterTypeTabsGuid extends FfiConverter { + + static lift(buf) { + return FfiConverterString.lift(buf); + } + + static lower(buf) { + return FfiConverterString.lower(buf); + } + + static write(dataStream, value) { + FfiConverterString.write(dataStream, value); + } + + static read(buf) { + return FfiConverterString.read(buf); + } + + static computeSize(value) { + return FfiConverterString.computeSize(value); + } +} +// TODO: We should also allow JS to customize the type eventually. + + diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustArithmetic.jsm b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustArithmetic.jsm index 1feabab917603..e8752bc8804d4 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustArithmetic.jsm +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustArithmetic.jsm @@ -323,7 +323,7 @@ function add(a,b) { FfiConverterU64.checkType("a", a); FfiConverterU64.checkType("b", b); return UniFFIScaffolding.callAsync( - 2, // arithmetic:arithmetic_708a_add + 22, // arithmetic:arithmetic_906c_add FfiConverterU64.lower(a), FfiConverterU64.lower(b), ) @@ -344,7 +344,7 @@ function sub(a,b) { FfiConverterU64.checkType("a", a); FfiConverterU64.checkType("b", b); return UniFFIScaffolding.callAsync( - 3, // arithmetic:arithmetic_708a_sub + 23, // arithmetic:arithmetic_906c_sub FfiConverterU64.lower(a), FfiConverterU64.lower(b), ) @@ -365,7 +365,7 @@ function div(dividend,divisor) { FfiConverterU64.checkType("dividend", dividend); FfiConverterU64.checkType("divisor", divisor); return UniFFIScaffolding.callAsync( - 4, // arithmetic:arithmetic_708a_div + 24, // arithmetic:arithmetic_906c_div FfiConverterU64.lower(dividend), FfiConverterU64.lower(divisor), ) @@ -386,7 +386,7 @@ function equal(a,b) { FfiConverterU64.checkType("a", a); FfiConverterU64.checkType("b", b); return UniFFIScaffolding.callAsync( - 5, // arithmetic:arithmetic_708a_equal + 25, // arithmetic:arithmetic_906c_equal FfiConverterU64.lower(a), FfiConverterU64.lower(b), ) diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustCustomtypes.jsm b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustCustomtypes.jsm index 6833dd150e713..cc121cac3ed4f 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustCustomtypes.jsm +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustCustomtypes.jsm @@ -398,7 +398,7 @@ function getCustomTypesDemo(demo) { const functionCall = () => { FfiConverterOptionalTypeCustomTypesDemo.checkType("demo", demo); return UniFFIScaffolding.callAsync( - 87, // customtypes:customtypes_6e0d_get_custom_types_demo + 107, // customtypes:customtypes_fb46_get_custom_types_demo FfiConverterOptionalTypeCustomTypesDemo.lower(demo), ) } diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustGeometry.jsm b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustGeometry.jsm index c99a9e38d7da0..5bb76099c3433 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustGeometry.jsm +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustGeometry.jsm @@ -392,7 +392,7 @@ function gradient(ln) { const functionCall = () => { FfiConverterTypeLine.checkType("ln", ln); return UniFFIScaffolding.callAsync( - 0, // geometry:geometry_631c_gradient + 20, // geometry:geometry_1cce_gradient FfiConverterTypeLine.lower(ln), ) } @@ -412,7 +412,7 @@ function intersection(ln1,ln2) { FfiConverterTypeLine.checkType("ln1", ln1); FfiConverterTypeLine.checkType("ln2", ln2); return UniFFIScaffolding.callAsync( - 1, // geometry:geometry_631c_intersection + 21, // geometry:geometry_1cce_intersection FfiConverterTypeLine.lower(ln1), FfiConverterTypeLine.lower(ln2), ) diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustRondpoint.jsm b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustRondpoint.jsm index 34f859716dfdf..cace8f3c5eb91 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustRondpoint.jsm +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustRondpoint.jsm @@ -158,7 +158,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerRetourneur() { - const pointerId = 0; // rondpoint:Retourneur + const pointerId = 2; // rondpoint:Retourneur 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. writePointerRetourneur(value) { - const pointerId = 0; // rondpoint:Retourneur + const pointerId = 2; // rondpoint:Retourneur UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -178,7 +178,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerStringifier() { - const pointerId = 1; // rondpoint:Stringifier + const pointerId = 3; // rondpoint:Stringifier const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); this.pos += 8; return res; @@ -188,7 +188,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. writePointerStringifier(value) { - const pointerId = 1; // rondpoint:Stringifier + const pointerId = 3; // rondpoint:Stringifier UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -198,7 +198,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerOptionneur() { - const pointerId = 2; // rondpoint:Optionneur + const pointerId = 4; // rondpoint:Optionneur const res = UniFFIScaffolding.readPointer(pointerId, this.dataView.buffer, this.pos); this.pos += 8; return res; @@ -208,7 +208,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. writePointerOptionneur(value) { - const pointerId = 2; // rondpoint:Optionneur + const pointerId = 4; // rondpoint:Optionneur UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -576,7 +576,7 @@ class Optionneur { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 35, // rondpoint:rondpoint_6001_Optionneur_new + 55, // rondpoint:rondpoint_c6ef_Optionneur_new ) } try { @@ -590,7 +590,7 @@ class Optionneur { const functionCall = () => { FfiConverterBool.checkType("value", value); return UniFFIScaffolding.callAsync( - 36, // rondpoint:rondpoint_6001_Optionneur_sinon_boolean + 56, // rondpoint:rondpoint_c6ef_Optionneur_sinon_boolean FfiConverterTypeOptionneur.lower(this), FfiConverterBool.lower(value), ) @@ -606,7 +606,7 @@ class Optionneur { const functionCall = () => { FfiConverterString.checkType("value", value); return UniFFIScaffolding.callAsync( - 37, // rondpoint:rondpoint_6001_Optionneur_sinon_string + 57, // rondpoint:rondpoint_c6ef_Optionneur_sinon_string FfiConverterTypeOptionneur.lower(this), FfiConverterString.lower(value), ) @@ -622,7 +622,7 @@ class Optionneur { const functionCall = () => { FfiConverterSequencestring.checkType("value", value); return UniFFIScaffolding.callAsync( - 38, // rondpoint:rondpoint_6001_Optionneur_sinon_sequence + 58, // rondpoint:rondpoint_c6ef_Optionneur_sinon_sequence FfiConverterTypeOptionneur.lower(this), FfiConverterSequencestring.lower(value), ) @@ -638,7 +638,7 @@ class Optionneur { const functionCall = () => { FfiConverterOptionalstring.checkType("value", value); return UniFFIScaffolding.callAsync( - 39, // rondpoint:rondpoint_6001_Optionneur_sinon_null + 59, // rondpoint:rondpoint_c6ef_Optionneur_sinon_null FfiConverterTypeOptionneur.lower(this), FfiConverterOptionalstring.lower(value), ) @@ -654,7 +654,7 @@ class Optionneur { const functionCall = () => { FfiConverterOptionali32.checkType("value", value); return UniFFIScaffolding.callAsync( - 40, // rondpoint:rondpoint_6001_Optionneur_sinon_zero + 60, // rondpoint:rondpoint_c6ef_Optionneur_sinon_zero FfiConverterTypeOptionneur.lower(this), FfiConverterOptionali32.lower(value), ) @@ -670,7 +670,7 @@ class Optionneur { const functionCall = () => { FfiConverterU8.checkType("value", value); return UniFFIScaffolding.callAsync( - 41, // rondpoint:rondpoint_6001_Optionneur_sinon_u8_dec + 61, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u8_dec FfiConverterTypeOptionneur.lower(this), FfiConverterU8.lower(value), ) @@ -686,7 +686,7 @@ class Optionneur { const functionCall = () => { FfiConverterI8.checkType("value", value); return UniFFIScaffolding.callAsync( - 42, // rondpoint:rondpoint_6001_Optionneur_sinon_i8_dec + 62, // rondpoint:rondpoint_c6ef_Optionneur_sinon_i8_dec FfiConverterTypeOptionneur.lower(this), FfiConverterI8.lower(value), ) @@ -702,7 +702,7 @@ class Optionneur { const functionCall = () => { FfiConverterU16.checkType("value", value); return UniFFIScaffolding.callAsync( - 43, // rondpoint:rondpoint_6001_Optionneur_sinon_u16_dec + 63, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u16_dec FfiConverterTypeOptionneur.lower(this), FfiConverterU16.lower(value), ) @@ -718,7 +718,7 @@ class Optionneur { const functionCall = () => { FfiConverterI16.checkType("value", value); return UniFFIScaffolding.callAsync( - 44, // rondpoint:rondpoint_6001_Optionneur_sinon_i16_dec + 64, // rondpoint:rondpoint_c6ef_Optionneur_sinon_i16_dec FfiConverterTypeOptionneur.lower(this), FfiConverterI16.lower(value), ) @@ -734,7 +734,7 @@ class Optionneur { const functionCall = () => { FfiConverterU32.checkType("value", value); return UniFFIScaffolding.callAsync( - 45, // rondpoint:rondpoint_6001_Optionneur_sinon_u32_dec + 65, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_dec FfiConverterTypeOptionneur.lower(this), FfiConverterU32.lower(value), ) @@ -750,7 +750,7 @@ class Optionneur { const functionCall = () => { FfiConverterI32.checkType("value", value); return UniFFIScaffolding.callAsync( - 46, // rondpoint:rondpoint_6001_Optionneur_sinon_i32_dec + 66, // rondpoint:rondpoint_c6ef_Optionneur_sinon_i32_dec FfiConverterTypeOptionneur.lower(this), FfiConverterI32.lower(value), ) @@ -766,7 +766,7 @@ class Optionneur { const functionCall = () => { FfiConverterU64.checkType("value", value); return UniFFIScaffolding.callAsync( - 47, // rondpoint:rondpoint_6001_Optionneur_sinon_u64_dec + 67, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u64_dec FfiConverterTypeOptionneur.lower(this), FfiConverterU64.lower(value), ) @@ -782,7 +782,7 @@ class Optionneur { const functionCall = () => { FfiConverterI64.checkType("value", value); return UniFFIScaffolding.callAsync( - 48, // rondpoint:rondpoint_6001_Optionneur_sinon_i64_dec + 68, // rondpoint:rondpoint_c6ef_Optionneur_sinon_i64_dec FfiConverterTypeOptionneur.lower(this), FfiConverterI64.lower(value), ) @@ -798,7 +798,7 @@ class Optionneur { const functionCall = () => { FfiConverterU8.checkType("value", value); return UniFFIScaffolding.callAsync( - 49, // rondpoint:rondpoint_6001_Optionneur_sinon_u8_hex + 69, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u8_hex FfiConverterTypeOptionneur.lower(this), FfiConverterU8.lower(value), ) @@ -814,7 +814,7 @@ class Optionneur { const functionCall = () => { FfiConverterI8.checkType("value", value); return UniFFIScaffolding.callAsync( - 50, // rondpoint:rondpoint_6001_Optionneur_sinon_i8_hex + 70, // rondpoint:rondpoint_c6ef_Optionneur_sinon_i8_hex FfiConverterTypeOptionneur.lower(this), FfiConverterI8.lower(value), ) @@ -830,7 +830,7 @@ class Optionneur { const functionCall = () => { FfiConverterU16.checkType("value", value); return UniFFIScaffolding.callAsync( - 51, // rondpoint:rondpoint_6001_Optionneur_sinon_u16_hex + 71, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u16_hex FfiConverterTypeOptionneur.lower(this), FfiConverterU16.lower(value), ) @@ -846,7 +846,7 @@ class Optionneur { const functionCall = () => { FfiConverterI16.checkType("value", value); return UniFFIScaffolding.callAsync( - 52, // rondpoint:rondpoint_6001_Optionneur_sinon_i16_hex + 72, // rondpoint:rondpoint_c6ef_Optionneur_sinon_i16_hex FfiConverterTypeOptionneur.lower(this), FfiConverterI16.lower(value), ) @@ -862,7 +862,7 @@ class Optionneur { const functionCall = () => { FfiConverterU32.checkType("value", value); return UniFFIScaffolding.callAsync( - 53, // rondpoint:rondpoint_6001_Optionneur_sinon_u32_hex + 73, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_hex FfiConverterTypeOptionneur.lower(this), FfiConverterU32.lower(value), ) @@ -878,7 +878,7 @@ class Optionneur { const functionCall = () => { FfiConverterI32.checkType("value", value); return UniFFIScaffolding.callAsync( - 54, // rondpoint:rondpoint_6001_Optionneur_sinon_i32_hex + 74, // rondpoint:rondpoint_c6ef_Optionneur_sinon_i32_hex FfiConverterTypeOptionneur.lower(this), FfiConverterI32.lower(value), ) @@ -894,7 +894,7 @@ class Optionneur { const functionCall = () => { FfiConverterU64.checkType("value", value); return UniFFIScaffolding.callAsync( - 55, // rondpoint:rondpoint_6001_Optionneur_sinon_u64_hex + 75, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u64_hex FfiConverterTypeOptionneur.lower(this), FfiConverterU64.lower(value), ) @@ -910,7 +910,7 @@ class Optionneur { const functionCall = () => { FfiConverterI64.checkType("value", value); return UniFFIScaffolding.callAsync( - 56, // rondpoint:rondpoint_6001_Optionneur_sinon_i64_hex + 76, // rondpoint:rondpoint_c6ef_Optionneur_sinon_i64_hex FfiConverterTypeOptionneur.lower(this), FfiConverterI64.lower(value), ) @@ -926,7 +926,7 @@ class Optionneur { const functionCall = () => { FfiConverterU32.checkType("value", value); return UniFFIScaffolding.callAsync( - 57, // rondpoint:rondpoint_6001_Optionneur_sinon_u32_oct + 77, // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_oct FfiConverterTypeOptionneur.lower(this), FfiConverterU32.lower(value), ) @@ -942,7 +942,7 @@ class Optionneur { const functionCall = () => { FfiConverterF32.checkType("value", value); return UniFFIScaffolding.callAsync( - 58, // rondpoint:rondpoint_6001_Optionneur_sinon_f32 + 78, // rondpoint:rondpoint_c6ef_Optionneur_sinon_f32 FfiConverterTypeOptionneur.lower(this), FfiConverterF32.lower(value), ) @@ -958,7 +958,7 @@ class Optionneur { const functionCall = () => { FfiConverterF64.checkType("value", value); return UniFFIScaffolding.callAsync( - 59, // rondpoint:rondpoint_6001_Optionneur_sinon_f64 + 79, // rondpoint:rondpoint_c6ef_Optionneur_sinon_f64 FfiConverterTypeOptionneur.lower(this), FfiConverterF64.lower(value), ) @@ -974,7 +974,7 @@ class Optionneur { const functionCall = () => { FfiConverterTypeEnumeration.checkType("value", value); return UniFFIScaffolding.callAsync( - 60, // rondpoint:rondpoint_6001_Optionneur_sinon_enum + 80, // rondpoint:rondpoint_c6ef_Optionneur_sinon_enum FfiConverterTypeOptionneur.lower(this), FfiConverterTypeEnumeration.lower(value), ) @@ -1038,7 +1038,7 @@ class Retourneur { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 6, // rondpoint:rondpoint_6001_Retourneur_new + 26, // rondpoint:rondpoint_c6ef_Retourneur_new ) } try { @@ -1052,7 +1052,7 @@ class Retourneur { const functionCall = () => { FfiConverterI8.checkType("value", value); return UniFFIScaffolding.callAsync( - 7, // rondpoint:rondpoint_6001_Retourneur_identique_i8 + 27, // rondpoint:rondpoint_c6ef_Retourneur_identique_i8 FfiConverterTypeRetourneur.lower(this), FfiConverterI8.lower(value), ) @@ -1068,7 +1068,7 @@ class Retourneur { const functionCall = () => { FfiConverterU8.checkType("value", value); return UniFFIScaffolding.callAsync( - 8, // rondpoint:rondpoint_6001_Retourneur_identique_u8 + 28, // rondpoint:rondpoint_c6ef_Retourneur_identique_u8 FfiConverterTypeRetourneur.lower(this), FfiConverterU8.lower(value), ) @@ -1084,7 +1084,7 @@ class Retourneur { const functionCall = () => { FfiConverterI16.checkType("value", value); return UniFFIScaffolding.callAsync( - 9, // rondpoint:rondpoint_6001_Retourneur_identique_i16 + 29, // rondpoint:rondpoint_c6ef_Retourneur_identique_i16 FfiConverterTypeRetourneur.lower(this), FfiConverterI16.lower(value), ) @@ -1100,7 +1100,7 @@ class Retourneur { const functionCall = () => { FfiConverterU16.checkType("value", value); return UniFFIScaffolding.callAsync( - 10, // rondpoint:rondpoint_6001_Retourneur_identique_u16 + 30, // rondpoint:rondpoint_c6ef_Retourneur_identique_u16 FfiConverterTypeRetourneur.lower(this), FfiConverterU16.lower(value), ) @@ -1116,7 +1116,7 @@ class Retourneur { const functionCall = () => { FfiConverterI32.checkType("value", value); return UniFFIScaffolding.callAsync( - 11, // rondpoint:rondpoint_6001_Retourneur_identique_i32 + 31, // rondpoint:rondpoint_c6ef_Retourneur_identique_i32 FfiConverterTypeRetourneur.lower(this), FfiConverterI32.lower(value), ) @@ -1132,7 +1132,7 @@ class Retourneur { const functionCall = () => { FfiConverterU32.checkType("value", value); return UniFFIScaffolding.callAsync( - 12, // rondpoint:rondpoint_6001_Retourneur_identique_u32 + 32, // rondpoint:rondpoint_c6ef_Retourneur_identique_u32 FfiConverterTypeRetourneur.lower(this), FfiConverterU32.lower(value), ) @@ -1148,7 +1148,7 @@ class Retourneur { const functionCall = () => { FfiConverterI64.checkType("value", value); return UniFFIScaffolding.callAsync( - 13, // rondpoint:rondpoint_6001_Retourneur_identique_i64 + 33, // rondpoint:rondpoint_c6ef_Retourneur_identique_i64 FfiConverterTypeRetourneur.lower(this), FfiConverterI64.lower(value), ) @@ -1164,7 +1164,7 @@ class Retourneur { const functionCall = () => { FfiConverterU64.checkType("value", value); return UniFFIScaffolding.callAsync( - 14, // rondpoint:rondpoint_6001_Retourneur_identique_u64 + 34, // rondpoint:rondpoint_c6ef_Retourneur_identique_u64 FfiConverterTypeRetourneur.lower(this), FfiConverterU64.lower(value), ) @@ -1180,7 +1180,7 @@ class Retourneur { const functionCall = () => { FfiConverterF32.checkType("value", value); return UniFFIScaffolding.callAsync( - 15, // rondpoint:rondpoint_6001_Retourneur_identique_float + 35, // rondpoint:rondpoint_c6ef_Retourneur_identique_float FfiConverterTypeRetourneur.lower(this), FfiConverterF32.lower(value), ) @@ -1196,7 +1196,7 @@ class Retourneur { const functionCall = () => { FfiConverterF64.checkType("value", value); return UniFFIScaffolding.callAsync( - 16, // rondpoint:rondpoint_6001_Retourneur_identique_double + 36, // rondpoint:rondpoint_c6ef_Retourneur_identique_double FfiConverterTypeRetourneur.lower(this), FfiConverterF64.lower(value), ) @@ -1212,7 +1212,7 @@ class Retourneur { const functionCall = () => { FfiConverterBool.checkType("value", value); return UniFFIScaffolding.callAsync( - 17, // rondpoint:rondpoint_6001_Retourneur_identique_boolean + 37, // rondpoint:rondpoint_c6ef_Retourneur_identique_boolean FfiConverterTypeRetourneur.lower(this), FfiConverterBool.lower(value), ) @@ -1228,7 +1228,7 @@ class Retourneur { const functionCall = () => { FfiConverterString.checkType("value", value); return UniFFIScaffolding.callAsync( - 18, // rondpoint:rondpoint_6001_Retourneur_identique_string + 38, // rondpoint:rondpoint_c6ef_Retourneur_identique_string FfiConverterTypeRetourneur.lower(this), FfiConverterString.lower(value), ) @@ -1244,7 +1244,7 @@ class Retourneur { const functionCall = () => { FfiConverterTypeDictionnaireNombresSignes.checkType("value", value); return UniFFIScaffolding.callAsync( - 19, // rondpoint:rondpoint_6001_Retourneur_identique_nombres_signes + 39, // rondpoint:rondpoint_c6ef_Retourneur_identique_nombres_signes FfiConverterTypeRetourneur.lower(this), FfiConverterTypeDictionnaireNombresSignes.lower(value), ) @@ -1260,7 +1260,7 @@ class Retourneur { const functionCall = () => { FfiConverterTypeDictionnaireNombres.checkType("value", value); return UniFFIScaffolding.callAsync( - 20, // rondpoint:rondpoint_6001_Retourneur_identique_nombres + 40, // rondpoint:rondpoint_c6ef_Retourneur_identique_nombres FfiConverterTypeRetourneur.lower(this), FfiConverterTypeDictionnaireNombres.lower(value), ) @@ -1276,7 +1276,7 @@ class Retourneur { const functionCall = () => { FfiConverterTypeOptionneurDictionnaire.checkType("value", value); return UniFFIScaffolding.callAsync( - 21, // rondpoint:rondpoint_6001_Retourneur_identique_optionneur_dictionnaire + 41, // rondpoint:rondpoint_c6ef_Retourneur_identique_optionneur_dictionnaire FfiConverterTypeRetourneur.lower(this), FfiConverterTypeOptionneurDictionnaire.lower(value), ) @@ -1340,7 +1340,7 @@ class Stringifier { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 22, // rondpoint:rondpoint_6001_Stringifier_new + 42, // rondpoint:rondpoint_c6ef_Stringifier_new ) } try { @@ -1354,7 +1354,7 @@ class Stringifier { const functionCall = () => { FfiConverterString.checkType("value", value); return UniFFIScaffolding.callAsync( - 23, // rondpoint:rondpoint_6001_Stringifier_well_known_string + 43, // rondpoint:rondpoint_c6ef_Stringifier_well_known_string FfiConverterTypeStringifier.lower(this), FfiConverterString.lower(value), ) @@ -1370,7 +1370,7 @@ class Stringifier { const functionCall = () => { FfiConverterI8.checkType("value", value); return UniFFIScaffolding.callAsync( - 24, // rondpoint:rondpoint_6001_Stringifier_to_string_i8 + 44, // rondpoint:rondpoint_c6ef_Stringifier_to_string_i8 FfiConverterTypeStringifier.lower(this), FfiConverterI8.lower(value), ) @@ -1386,7 +1386,7 @@ class Stringifier { const functionCall = () => { FfiConverterU8.checkType("value", value); return UniFFIScaffolding.callAsync( - 25, // rondpoint:rondpoint_6001_Stringifier_to_string_u8 + 45, // rondpoint:rondpoint_c6ef_Stringifier_to_string_u8 FfiConverterTypeStringifier.lower(this), FfiConverterU8.lower(value), ) @@ -1402,7 +1402,7 @@ class Stringifier { const functionCall = () => { FfiConverterI16.checkType("value", value); return UniFFIScaffolding.callAsync( - 26, // rondpoint:rondpoint_6001_Stringifier_to_string_i16 + 46, // rondpoint:rondpoint_c6ef_Stringifier_to_string_i16 FfiConverterTypeStringifier.lower(this), FfiConverterI16.lower(value), ) @@ -1418,7 +1418,7 @@ class Stringifier { const functionCall = () => { FfiConverterU16.checkType("value", value); return UniFFIScaffolding.callAsync( - 27, // rondpoint:rondpoint_6001_Stringifier_to_string_u16 + 47, // rondpoint:rondpoint_c6ef_Stringifier_to_string_u16 FfiConverterTypeStringifier.lower(this), FfiConverterU16.lower(value), ) @@ -1434,7 +1434,7 @@ class Stringifier { const functionCall = () => { FfiConverterI32.checkType("value", value); return UniFFIScaffolding.callAsync( - 28, // rondpoint:rondpoint_6001_Stringifier_to_string_i32 + 48, // rondpoint:rondpoint_c6ef_Stringifier_to_string_i32 FfiConverterTypeStringifier.lower(this), FfiConverterI32.lower(value), ) @@ -1450,7 +1450,7 @@ class Stringifier { const functionCall = () => { FfiConverterU32.checkType("value", value); return UniFFIScaffolding.callAsync( - 29, // rondpoint:rondpoint_6001_Stringifier_to_string_u32 + 49, // rondpoint:rondpoint_c6ef_Stringifier_to_string_u32 FfiConverterTypeStringifier.lower(this), FfiConverterU32.lower(value), ) @@ -1466,7 +1466,7 @@ class Stringifier { const functionCall = () => { FfiConverterI64.checkType("value", value); return UniFFIScaffolding.callAsync( - 30, // rondpoint:rondpoint_6001_Stringifier_to_string_i64 + 50, // rondpoint:rondpoint_c6ef_Stringifier_to_string_i64 FfiConverterTypeStringifier.lower(this), FfiConverterI64.lower(value), ) @@ -1482,7 +1482,7 @@ class Stringifier { const functionCall = () => { FfiConverterU64.checkType("value", value); return UniFFIScaffolding.callAsync( - 31, // rondpoint:rondpoint_6001_Stringifier_to_string_u64 + 51, // rondpoint:rondpoint_c6ef_Stringifier_to_string_u64 FfiConverterTypeStringifier.lower(this), FfiConverterU64.lower(value), ) @@ -1498,7 +1498,7 @@ class Stringifier { const functionCall = () => { FfiConverterF32.checkType("value", value); return UniFFIScaffolding.callAsync( - 32, // rondpoint:rondpoint_6001_Stringifier_to_string_float + 52, // rondpoint:rondpoint_c6ef_Stringifier_to_string_float FfiConverterTypeStringifier.lower(this), FfiConverterF32.lower(value), ) @@ -1514,7 +1514,7 @@ class Stringifier { const functionCall = () => { FfiConverterF64.checkType("value", value); return UniFFIScaffolding.callAsync( - 33, // rondpoint:rondpoint_6001_Stringifier_to_string_double + 53, // rondpoint:rondpoint_c6ef_Stringifier_to_string_double FfiConverterTypeStringifier.lower(this), FfiConverterF64.lower(value), ) @@ -1530,7 +1530,7 @@ class Stringifier { const functionCall = () => { FfiConverterBool.checkType("value", value); return UniFFIScaffolding.callAsync( - 34, // rondpoint:rondpoint_6001_Stringifier_to_string_boolean + 54, // rondpoint:rondpoint_c6ef_Stringifier_to_string_boolean FfiConverterTypeStringifier.lower(this), FfiConverterBool.lower(value), ) @@ -2266,7 +2266,7 @@ function copieDictionnaire(d) { const functionCall = () => { FfiConverterTypeDictionnaire.checkType("d", d); return UniFFIScaffolding.callAsync( - 61, // rondpoint:rondpoint_6001_copie_dictionnaire + 81, // rondpoint:rondpoint_c6ef_copie_dictionnaire FfiConverterTypeDictionnaire.lower(d), ) } @@ -2285,7 +2285,7 @@ function copieEnumeration(e) { const functionCall = () => { FfiConverterTypeEnumeration.checkType("e", e); return UniFFIScaffolding.callAsync( - 62, // rondpoint:rondpoint_6001_copie_enumeration + 82, // rondpoint:rondpoint_c6ef_copie_enumeration FfiConverterTypeEnumeration.lower(e), ) } @@ -2304,7 +2304,7 @@ function copieEnumerations(e) { const functionCall = () => { FfiConverterSequenceTypeEnumeration.checkType("e", e); return UniFFIScaffolding.callAsync( - 63, // rondpoint:rondpoint_6001_copie_enumerations + 83, // rondpoint:rondpoint_c6ef_copie_enumerations FfiConverterSequenceTypeEnumeration.lower(e), ) } @@ -2323,7 +2323,7 @@ function copieCarte(c) { const functionCall = () => { FfiConverterMapStringTypeEnumerationAvecDonnees.checkType("c", c); return UniFFIScaffolding.callAsync( - 64, // rondpoint:rondpoint_6001_copie_carte + 84, // rondpoint:rondpoint_c6ef_copie_carte FfiConverterMapStringTypeEnumerationAvecDonnees.lower(c), ) } @@ -2342,7 +2342,7 @@ function switcheroo(b) { const functionCall = () => { FfiConverterBool.checkType("b", b); return UniFFIScaffolding.callAsync( - 65, // rondpoint:rondpoint_6001_switcheroo + 85, // rondpoint:rondpoint_c6ef_switcheroo FfiConverterBool.lower(b), ) } diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustSprites.jsm b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustSprites.jsm index 9829baea90be2..e7314268d30e8 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustSprites.jsm +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustSprites.jsm @@ -158,7 +158,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerSprite() { - const pointerId = 3; // sprites:Sprite + const pointerId = 5; // sprites:Sprite 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. writePointerSprite(value) { - const pointerId = 3; // sprites:Sprite + const pointerId = 5; // sprites:Sprite UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -304,7 +304,7 @@ class Sprite { const functionCall = () => { FfiConverterOptionalTypePoint.checkType("initialPosition", initialPosition); return UniFFIScaffolding.callAsync( - 66, // sprites:sprites_83ef_Sprite_new + 86, // sprites:sprites_accb_Sprite_new FfiConverterOptionalTypePoint.lower(initialPosition), ) } @@ -326,7 +326,7 @@ class Sprite { FfiConverterTypePoint.checkType("reference", reference); FfiConverterTypeVector.checkType("direction", direction); return UniFFIScaffolding.callAsync( - 67, // sprites:sprites_83ef_Sprite_new_relative_to + 87, // sprites:sprites_accb_Sprite_new_relative_to FfiConverterTypePoint.lower(reference), FfiConverterTypeVector.lower(direction), ) @@ -341,7 +341,7 @@ class Sprite { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 68, // sprites:sprites_83ef_Sprite_get_position + 88, // sprites:sprites_accb_Sprite_get_position FfiConverterTypeSprite.lower(this), ) } @@ -356,7 +356,7 @@ class Sprite { const functionCall = () => { FfiConverterTypePoint.checkType("position", position); return UniFFIScaffolding.callAsync( - 69, // sprites:sprites_83ef_Sprite_move_to + 89, // sprites:sprites_accb_Sprite_move_to FfiConverterTypeSprite.lower(this), FfiConverterTypePoint.lower(position), ) @@ -372,7 +372,7 @@ class Sprite { const functionCall = () => { FfiConverterTypeVector.checkType("direction", direction); return UniFFIScaffolding.callAsync( - 70, // sprites:sprites_83ef_Sprite_move_by + 90, // sprites:sprites_accb_Sprite_move_by FfiConverterTypeSprite.lower(this), FfiConverterTypeVector.lower(direction), ) @@ -546,7 +546,7 @@ function translate(position,direction) { FfiConverterTypePoint.checkType("position", position); FfiConverterTypeVector.checkType("direction", direction); return UniFFIScaffolding.callAsync( - 71, // sprites:sprites_83ef_translate + 91, // sprites:sprites_accb_translate FfiConverterTypePoint.lower(position), FfiConverterTypeVector.lower(direction), ) diff --git a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustTodolist.jsm b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustTodolist.jsm index d2865562ae2da..a84259f893936 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustTodolist.jsm +++ b/toolkit/components/uniffi-bindgen-gecko-js/fixtures/generated/RustTodolist.jsm @@ -158,7 +158,7 @@ class ArrayBufferDataStream { // UniFFI Pointers are **always** 8 bytes long. That is enforced // by the C++ and Rust Scaffolding code. readPointerTodoList() { - const pointerId = 4; // todolist:TodoList + const pointerId = 6; // todolist:TodoList 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. writePointerTodoList(value) { - const pointerId = 4; // todolist:TodoList + const pointerId = 6; // todolist:TodoList UniFFIScaffolding.writePointer(pointerId, value, this.dataView.buffer, this.pos); this.pos += 8; } @@ -287,7 +287,7 @@ class TodoList { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 72, // todolist:todolist_6791_TodoList_new + 92, // todolist:todolist_aa33_TodoList_new ) } try { @@ -301,7 +301,7 @@ class TodoList { const functionCall = () => { FfiConverterString.checkType("todo", todo); return UniFFIScaffolding.callAsync( - 73, // todolist:todolist_6791_TodoList_add_item + 93, // todolist:todolist_aa33_TodoList_add_item FfiConverterTypeTodoList.lower(this), FfiConverterString.lower(todo), ) @@ -317,7 +317,7 @@ class TodoList { const functionCall = () => { FfiConverterTypeTodoEntry.checkType("entry", entry); return UniFFIScaffolding.callAsync( - 74, // todolist:todolist_6791_TodoList_add_entry + 94, // todolist:todolist_aa33_TodoList_add_entry FfiConverterTypeTodoList.lower(this), FfiConverterTypeTodoEntry.lower(entry), ) @@ -332,7 +332,7 @@ class TodoList { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 75, // todolist:todolist_6791_TodoList_get_entries + 95, // todolist:todolist_aa33_TodoList_get_entries FfiConverterTypeTodoList.lower(this), ) } @@ -346,7 +346,7 @@ class TodoList { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 76, // todolist:todolist_6791_TodoList_get_items + 96, // todolist:todolist_aa33_TodoList_get_items FfiConverterTypeTodoList.lower(this), ) } @@ -361,7 +361,7 @@ class TodoList { const functionCall = () => { FfiConverterSequenceTypeTodoEntry.checkType("entries", entries); return UniFFIScaffolding.callAsync( - 77, // todolist:todolist_6791_TodoList_add_entries + 97, // todolist:todolist_aa33_TodoList_add_entries FfiConverterTypeTodoList.lower(this), FfiConverterSequenceTypeTodoEntry.lower(entries), ) @@ -377,7 +377,7 @@ class TodoList { const functionCall = () => { FfiConverterSequencestring.checkType("items", items); return UniFFIScaffolding.callAsync( - 78, // todolist:todolist_6791_TodoList_add_items + 98, // todolist:todolist_aa33_TodoList_add_items FfiConverterTypeTodoList.lower(this), FfiConverterSequencestring.lower(items), ) @@ -392,7 +392,7 @@ class TodoList { const liftError = (data) => FfiConverterTypeTodoError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 79, // todolist:todolist_6791_TodoList_get_last_entry + 99, // todolist:todolist_aa33_TodoList_get_last_entry FfiConverterTypeTodoList.lower(this), ) } @@ -406,7 +406,7 @@ class TodoList { const liftError = (data) => FfiConverterTypeTodoError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 80, // todolist:todolist_6791_TodoList_get_last + 100, // todolist:todolist_aa33_TodoList_get_last FfiConverterTypeTodoList.lower(this), ) } @@ -420,7 +420,7 @@ class TodoList { const liftError = (data) => FfiConverterTypeTodoError.lift(data); const functionCall = () => { return UniFFIScaffolding.callAsync( - 81, // todolist:todolist_6791_TodoList_get_first + 101, // todolist:todolist_aa33_TodoList_get_first FfiConverterTypeTodoList.lower(this), ) } @@ -435,7 +435,7 @@ class TodoList { const functionCall = () => { FfiConverterString.checkType("todo", todo); return UniFFIScaffolding.callAsync( - 82, // todolist:todolist_6791_TodoList_clear_item + 102, // todolist:todolist_aa33_TodoList_clear_item FfiConverterTypeTodoList.lower(this), FfiConverterString.lower(todo), ) @@ -450,7 +450,7 @@ class TodoList { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 83, // todolist:todolist_6791_TodoList_make_default + 103, // todolist:todolist_aa33_TodoList_make_default FfiConverterTypeTodoList.lower(this), ) } @@ -686,7 +686,7 @@ function getDefaultList() { const liftError = null; const functionCall = () => { return UniFFIScaffolding.callAsync( - 84, // todolist:todolist_6791_get_default_list + 104, // todolist:todolist_aa33_get_default_list ) } try { @@ -704,7 +704,7 @@ function setDefaultList(list) { const functionCall = () => { FfiConverterTypeTodoList.checkType("list", list); return UniFFIScaffolding.callAsync( - 85, // todolist:todolist_6791_set_default_list + 105, // todolist:todolist_aa33_set_default_list FfiConverterTypeTodoList.lower(list), ) } @@ -723,7 +723,7 @@ function createEntryWith(todo) { const functionCall = () => { FfiConverterString.checkType("todo", todo); return UniFFIScaffolding.callAsync( - 86, // todolist:todolist_6791_create_entry_with + 106, // todolist:todolist_aa33_create_entry_with FfiConverterString.lower(todo), ) } diff --git a/toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp b/toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp index 0ce220bd9deaa..5bc47e98ac5f5 100644 --- a/toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp +++ b/toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp @@ -19,476 +19,476 @@ using dom::UniFFIScaffoldingCallResult; // Define scaffolding functions from UniFFI extern "C" { - double geometry_631c_gradient(RustBuffer, RustCallStatus*); - RustBuffer geometry_631c_intersection(RustBuffer, RustBuffer, RustCallStatus*); - uint64_t arithmetic_708a_add(uint64_t, uint64_t, RustCallStatus*); - uint64_t arithmetic_708a_sub(uint64_t, uint64_t, RustCallStatus*); - uint64_t arithmetic_708a_div(uint64_t, uint64_t, RustCallStatus*); - int8_t arithmetic_708a_equal(uint64_t, uint64_t, RustCallStatus*); - void ffi_rondpoint_6001_Retourneur_object_free(void *, RustCallStatus*); - void * rondpoint_6001_Retourneur_new(RustCallStatus*); - int8_t rondpoint_6001_Retourneur_identique_i8(void *, int8_t, RustCallStatus*); - uint8_t rondpoint_6001_Retourneur_identique_u8(void *, uint8_t, RustCallStatus*); - int16_t rondpoint_6001_Retourneur_identique_i16(void *, int16_t, RustCallStatus*); - uint16_t rondpoint_6001_Retourneur_identique_u16(void *, uint16_t, RustCallStatus*); - int32_t rondpoint_6001_Retourneur_identique_i32(void *, int32_t, RustCallStatus*); - uint32_t rondpoint_6001_Retourneur_identique_u32(void *, uint32_t, RustCallStatus*); - int64_t rondpoint_6001_Retourneur_identique_i64(void *, int64_t, RustCallStatus*); - uint64_t rondpoint_6001_Retourneur_identique_u64(void *, uint64_t, RustCallStatus*); - float rondpoint_6001_Retourneur_identique_float(void *, float, RustCallStatus*); - double rondpoint_6001_Retourneur_identique_double(void *, double, RustCallStatus*); - int8_t rondpoint_6001_Retourneur_identique_boolean(void *, int8_t, RustCallStatus*); - RustBuffer rondpoint_6001_Retourneur_identique_string(void *, RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_Retourneur_identique_nombres_signes(void *, RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_Retourneur_identique_nombres(void *, RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_Retourneur_identique_optionneur_dictionnaire(void *, RustBuffer, RustCallStatus*); - void ffi_rondpoint_6001_Stringifier_object_free(void *, RustCallStatus*); - void * rondpoint_6001_Stringifier_new(RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_well_known_string(void *, RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_i8(void *, int8_t, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_u8(void *, uint8_t, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_i16(void *, int16_t, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_u16(void *, uint16_t, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_i32(void *, int32_t, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_u32(void *, uint32_t, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_i64(void *, int64_t, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_u64(void *, uint64_t, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_float(void *, float, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_double(void *, double, RustCallStatus*); - RustBuffer rondpoint_6001_Stringifier_to_string_boolean(void *, int8_t, RustCallStatus*); - void ffi_rondpoint_6001_Optionneur_object_free(void *, RustCallStatus*); - void * rondpoint_6001_Optionneur_new(RustCallStatus*); - int8_t rondpoint_6001_Optionneur_sinon_boolean(void *, int8_t, RustCallStatus*); - RustBuffer rondpoint_6001_Optionneur_sinon_string(void *, RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_Optionneur_sinon_sequence(void *, RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_Optionneur_sinon_null(void *, RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_Optionneur_sinon_zero(void *, RustBuffer, RustCallStatus*); - uint8_t rondpoint_6001_Optionneur_sinon_u8_dec(void *, uint8_t, RustCallStatus*); - int8_t rondpoint_6001_Optionneur_sinon_i8_dec(void *, int8_t, RustCallStatus*); - uint16_t rondpoint_6001_Optionneur_sinon_u16_dec(void *, uint16_t, RustCallStatus*); - int16_t rondpoint_6001_Optionneur_sinon_i16_dec(void *, int16_t, RustCallStatus*); - uint32_t rondpoint_6001_Optionneur_sinon_u32_dec(void *, uint32_t, RustCallStatus*); - int32_t rondpoint_6001_Optionneur_sinon_i32_dec(void *, int32_t, RustCallStatus*); - uint64_t rondpoint_6001_Optionneur_sinon_u64_dec(void *, uint64_t, RustCallStatus*); - int64_t rondpoint_6001_Optionneur_sinon_i64_dec(void *, int64_t, RustCallStatus*); - uint8_t rondpoint_6001_Optionneur_sinon_u8_hex(void *, uint8_t, RustCallStatus*); - int8_t rondpoint_6001_Optionneur_sinon_i8_hex(void *, int8_t, RustCallStatus*); - uint16_t rondpoint_6001_Optionneur_sinon_u16_hex(void *, uint16_t, RustCallStatus*); - int16_t rondpoint_6001_Optionneur_sinon_i16_hex(void *, int16_t, RustCallStatus*); - uint32_t rondpoint_6001_Optionneur_sinon_u32_hex(void *, uint32_t, RustCallStatus*); - int32_t rondpoint_6001_Optionneur_sinon_i32_hex(void *, int32_t, RustCallStatus*); - uint64_t rondpoint_6001_Optionneur_sinon_u64_hex(void *, uint64_t, RustCallStatus*); - int64_t rondpoint_6001_Optionneur_sinon_i64_hex(void *, int64_t, RustCallStatus*); - uint32_t rondpoint_6001_Optionneur_sinon_u32_oct(void *, uint32_t, RustCallStatus*); - float rondpoint_6001_Optionneur_sinon_f32(void *, float, RustCallStatus*); - double rondpoint_6001_Optionneur_sinon_f64(void *, double, RustCallStatus*); - RustBuffer rondpoint_6001_Optionneur_sinon_enum(void *, RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_copie_dictionnaire(RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_copie_enumeration(RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_copie_enumerations(RustBuffer, RustCallStatus*); - RustBuffer rondpoint_6001_copie_carte(RustBuffer, RustCallStatus*); - int8_t rondpoint_6001_switcheroo(int8_t, RustCallStatus*); - void ffi_sprites_83ef_Sprite_object_free(void *, RustCallStatus*); - void * sprites_83ef_Sprite_new(RustBuffer, RustCallStatus*); - void * sprites_83ef_Sprite_new_relative_to(RustBuffer, RustBuffer, RustCallStatus*); - RustBuffer sprites_83ef_Sprite_get_position(void *, RustCallStatus*); - void sprites_83ef_Sprite_move_to(void *, RustBuffer, RustCallStatus*); - void sprites_83ef_Sprite_move_by(void *, RustBuffer, RustCallStatus*); - RustBuffer sprites_83ef_translate(RustBuffer, RustBuffer, RustCallStatus*); - void ffi_todolist_6791_TodoList_object_free(void *, RustCallStatus*); - void * todolist_6791_TodoList_new(RustCallStatus*); - void todolist_6791_TodoList_add_item(void *, RustBuffer, RustCallStatus*); - void todolist_6791_TodoList_add_entry(void *, RustBuffer, RustCallStatus*); - RustBuffer todolist_6791_TodoList_get_entries(void *, RustCallStatus*); - RustBuffer todolist_6791_TodoList_get_items(void *, RustCallStatus*); - void todolist_6791_TodoList_add_entries(void *, RustBuffer, RustCallStatus*); - void todolist_6791_TodoList_add_items(void *, RustBuffer, RustCallStatus*); - RustBuffer todolist_6791_TodoList_get_last_entry(void *, RustCallStatus*); - RustBuffer todolist_6791_TodoList_get_last(void *, RustCallStatus*); - RustBuffer todolist_6791_TodoList_get_first(void *, RustCallStatus*); - void todolist_6791_TodoList_clear_item(void *, RustBuffer, RustCallStatus*); - void todolist_6791_TodoList_make_default(void *, RustCallStatus*); - RustBuffer todolist_6791_get_default_list(RustCallStatus*); - void todolist_6791_set_default_list(void *, RustCallStatus*); - RustBuffer todolist_6791_create_entry_with(RustBuffer, RustCallStatus*); - RustBuffer customtypes_6e0d_get_custom_types_demo(RustBuffer, RustCallStatus*); + double geometry_1cce_gradient(RustBuffer, RustCallStatus*); + RustBuffer geometry_1cce_intersection(RustBuffer, RustBuffer, RustCallStatus*); + uint64_t arithmetic_906c_add(uint64_t, uint64_t, RustCallStatus*); + uint64_t arithmetic_906c_sub(uint64_t, uint64_t, RustCallStatus*); + uint64_t arithmetic_906c_div(uint64_t, uint64_t, RustCallStatus*); + int8_t arithmetic_906c_equal(uint64_t, uint64_t, RustCallStatus*); + void ffi_rondpoint_c6ef_Retourneur_object_free(void *, RustCallStatus*); + void * rondpoint_c6ef_Retourneur_new(RustCallStatus*); + int8_t rondpoint_c6ef_Retourneur_identique_i8(void *, int8_t, RustCallStatus*); + uint8_t rondpoint_c6ef_Retourneur_identique_u8(void *, uint8_t, RustCallStatus*); + int16_t rondpoint_c6ef_Retourneur_identique_i16(void *, int16_t, RustCallStatus*); + uint16_t rondpoint_c6ef_Retourneur_identique_u16(void *, uint16_t, RustCallStatus*); + int32_t rondpoint_c6ef_Retourneur_identique_i32(void *, int32_t, RustCallStatus*); + uint32_t rondpoint_c6ef_Retourneur_identique_u32(void *, uint32_t, RustCallStatus*); + int64_t rondpoint_c6ef_Retourneur_identique_i64(void *, int64_t, RustCallStatus*); + uint64_t rondpoint_c6ef_Retourneur_identique_u64(void *, uint64_t, RustCallStatus*); + float rondpoint_c6ef_Retourneur_identique_float(void *, float, RustCallStatus*); + double rondpoint_c6ef_Retourneur_identique_double(void *, double, RustCallStatus*); + int8_t rondpoint_c6ef_Retourneur_identique_boolean(void *, int8_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Retourneur_identique_string(void *, RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_Retourneur_identique_nombres_signes(void *, RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_Retourneur_identique_nombres(void *, RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_Retourneur_identique_optionneur_dictionnaire(void *, RustBuffer, RustCallStatus*); + void ffi_rondpoint_c6ef_Stringifier_object_free(void *, RustCallStatus*); + void * rondpoint_c6ef_Stringifier_new(RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_well_known_string(void *, RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_i8(void *, int8_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_u8(void *, uint8_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_i16(void *, int16_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_u16(void *, uint16_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_i32(void *, int32_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_u32(void *, uint32_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_i64(void *, int64_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_u64(void *, uint64_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_float(void *, float, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_double(void *, double, RustCallStatus*); + RustBuffer rondpoint_c6ef_Stringifier_to_string_boolean(void *, int8_t, RustCallStatus*); + void ffi_rondpoint_c6ef_Optionneur_object_free(void *, RustCallStatus*); + void * rondpoint_c6ef_Optionneur_new(RustCallStatus*); + int8_t rondpoint_c6ef_Optionneur_sinon_boolean(void *, int8_t, RustCallStatus*); + RustBuffer rondpoint_c6ef_Optionneur_sinon_string(void *, RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_Optionneur_sinon_sequence(void *, RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_Optionneur_sinon_null(void *, RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_Optionneur_sinon_zero(void *, RustBuffer, RustCallStatus*); + uint8_t rondpoint_c6ef_Optionneur_sinon_u8_dec(void *, uint8_t, RustCallStatus*); + int8_t rondpoint_c6ef_Optionneur_sinon_i8_dec(void *, int8_t, RustCallStatus*); + uint16_t rondpoint_c6ef_Optionneur_sinon_u16_dec(void *, uint16_t, RustCallStatus*); + int16_t rondpoint_c6ef_Optionneur_sinon_i16_dec(void *, int16_t, RustCallStatus*); + uint32_t rondpoint_c6ef_Optionneur_sinon_u32_dec(void *, uint32_t, RustCallStatus*); + int32_t rondpoint_c6ef_Optionneur_sinon_i32_dec(void *, int32_t, RustCallStatus*); + uint64_t rondpoint_c6ef_Optionneur_sinon_u64_dec(void *, uint64_t, RustCallStatus*); + int64_t rondpoint_c6ef_Optionneur_sinon_i64_dec(void *, int64_t, RustCallStatus*); + uint8_t rondpoint_c6ef_Optionneur_sinon_u8_hex(void *, uint8_t, RustCallStatus*); + int8_t rondpoint_c6ef_Optionneur_sinon_i8_hex(void *, int8_t, RustCallStatus*); + uint16_t rondpoint_c6ef_Optionneur_sinon_u16_hex(void *, uint16_t, RustCallStatus*); + int16_t rondpoint_c6ef_Optionneur_sinon_i16_hex(void *, int16_t, RustCallStatus*); + uint32_t rondpoint_c6ef_Optionneur_sinon_u32_hex(void *, uint32_t, RustCallStatus*); + int32_t rondpoint_c6ef_Optionneur_sinon_i32_hex(void *, int32_t, RustCallStatus*); + uint64_t rondpoint_c6ef_Optionneur_sinon_u64_hex(void *, uint64_t, RustCallStatus*); + int64_t rondpoint_c6ef_Optionneur_sinon_i64_hex(void *, int64_t, RustCallStatus*); + uint32_t rondpoint_c6ef_Optionneur_sinon_u32_oct(void *, uint32_t, RustCallStatus*); + float rondpoint_c6ef_Optionneur_sinon_f32(void *, float, RustCallStatus*); + double rondpoint_c6ef_Optionneur_sinon_f64(void *, double, RustCallStatus*); + RustBuffer rondpoint_c6ef_Optionneur_sinon_enum(void *, RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_copie_dictionnaire(RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_copie_enumeration(RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_copie_enumerations(RustBuffer, RustCallStatus*); + RustBuffer rondpoint_c6ef_copie_carte(RustBuffer, RustCallStatus*); + int8_t rondpoint_c6ef_switcheroo(int8_t, RustCallStatus*); + void ffi_sprites_accb_Sprite_object_free(void *, RustCallStatus*); + void * sprites_accb_Sprite_new(RustBuffer, RustCallStatus*); + void * sprites_accb_Sprite_new_relative_to(RustBuffer, RustBuffer, RustCallStatus*); + RustBuffer sprites_accb_Sprite_get_position(void *, RustCallStatus*); + void sprites_accb_Sprite_move_to(void *, RustBuffer, RustCallStatus*); + void sprites_accb_Sprite_move_by(void *, RustBuffer, RustCallStatus*); + RustBuffer sprites_accb_translate(RustBuffer, RustBuffer, RustCallStatus*); + void ffi_todolist_aa33_TodoList_object_free(void *, RustCallStatus*); + void * todolist_aa33_TodoList_new(RustCallStatus*); + void todolist_aa33_TodoList_add_item(void *, RustBuffer, RustCallStatus*); + void todolist_aa33_TodoList_add_entry(void *, RustBuffer, RustCallStatus*); + RustBuffer todolist_aa33_TodoList_get_entries(void *, RustCallStatus*); + RustBuffer todolist_aa33_TodoList_get_items(void *, RustCallStatus*); + void todolist_aa33_TodoList_add_entries(void *, RustBuffer, RustCallStatus*); + void todolist_aa33_TodoList_add_items(void *, RustBuffer, RustCallStatus*); + RustBuffer todolist_aa33_TodoList_get_last_entry(void *, RustCallStatus*); + RustBuffer todolist_aa33_TodoList_get_last(void *, RustCallStatus*); + RustBuffer todolist_aa33_TodoList_get_first(void *, RustCallStatus*); + void todolist_aa33_TodoList_clear_item(void *, RustBuffer, RustCallStatus*); + void todolist_aa33_TodoList_make_default(void *, RustCallStatus*); + RustBuffer todolist_aa33_get_default_list(RustCallStatus*); + void todolist_aa33_set_default_list(void *, RustCallStatus*); + RustBuffer todolist_aa33_create_entry_with(RustBuffer, RustCallStatus*); + RustBuffer customtypes_fb46_get_custom_types_demo(RustBuffer, RustCallStatus*); } // Define pointer types const static mozilla::uniffi::UniFFIPointerType kRondpointRetourneurPointerType { "rondpoint::Retourneur"_ns, - ffi_rondpoint_6001_Retourneur_object_free + ffi_rondpoint_c6ef_Retourneur_object_free }; const static mozilla::uniffi::UniFFIPointerType kRondpointStringifierPointerType { "rondpoint::Stringifier"_ns, - ffi_rondpoint_6001_Stringifier_object_free + ffi_rondpoint_c6ef_Stringifier_object_free }; const static mozilla::uniffi::UniFFIPointerType kRondpointOptionneurPointerType { "rondpoint::Optionneur"_ns, - ffi_rondpoint_6001_Optionneur_object_free + ffi_rondpoint_c6ef_Optionneur_object_free }; const static mozilla::uniffi::UniFFIPointerType kSpritesSpritePointerType { "sprites::Sprite"_ns, - ffi_sprites_83ef_Sprite_object_free + ffi_sprites_accb_Sprite_object_free }; const static mozilla::uniffi::UniFFIPointerType kTodolistTodoListPointerType { "todolist::TodoList"_ns, - ffi_todolist_6791_TodoList_object_free + ffi_todolist_aa33_TodoList_object_free }; Maybe> UniFFIFixturesCallAsync(const GlobalObject& aGlobal, uint64_t aId, const Sequence& aArgs, ErrorResult& aError) { switch (aId) { - case 0: { // geometry:geometry_631c_gradient + case 20: { // geometry:geometry_1cce_gradient using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(geometry_631c_gradient, aGlobal, aArgs, "geometry_631c_gradient: "_ns, aError)); + return Some(CallHandler::CallAsync(geometry_1cce_gradient, aGlobal, aArgs, "geometry_1cce_gradient: "_ns, aError)); } - case 1: { // geometry:geometry_631c_intersection + case 21: { // geometry:geometry_1cce_intersection using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(geometry_631c_intersection, aGlobal, aArgs, "geometry_631c_intersection: "_ns, aError)); + return Some(CallHandler::CallAsync(geometry_1cce_intersection, aGlobal, aArgs, "geometry_1cce_intersection: "_ns, aError)); } - case 2: { // arithmetic:arithmetic_708a_add + case 22: { // arithmetic:arithmetic_906c_add using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(arithmetic_708a_add, aGlobal, aArgs, "arithmetic_708a_add: "_ns, aError)); + return Some(CallHandler::CallAsync(arithmetic_906c_add, aGlobal, aArgs, "arithmetic_906c_add: "_ns, aError)); } - case 3: { // arithmetic:arithmetic_708a_sub + case 23: { // arithmetic:arithmetic_906c_sub using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(arithmetic_708a_sub, aGlobal, aArgs, "arithmetic_708a_sub: "_ns, aError)); + return Some(CallHandler::CallAsync(arithmetic_906c_sub, aGlobal, aArgs, "arithmetic_906c_sub: "_ns, aError)); } - case 4: { // arithmetic:arithmetic_708a_div + case 24: { // arithmetic:arithmetic_906c_div using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(arithmetic_708a_div, aGlobal, aArgs, "arithmetic_708a_div: "_ns, aError)); + return Some(CallHandler::CallAsync(arithmetic_906c_div, aGlobal, aArgs, "arithmetic_906c_div: "_ns, aError)); } - case 5: { // arithmetic:arithmetic_708a_equal + case 25: { // arithmetic:arithmetic_906c_equal using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(arithmetic_708a_equal, aGlobal, aArgs, "arithmetic_708a_equal: "_ns, aError)); + return Some(CallHandler::CallAsync(arithmetic_906c_equal, aGlobal, aArgs, "arithmetic_906c_equal: "_ns, aError)); } - case 6: { // rondpoint:rondpoint_6001_Retourneur_new + case 26: { // rondpoint:rondpoint_c6ef_Retourneur_new using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_new, aGlobal, aArgs, "rondpoint_6001_Retourneur_new: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_new, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_new: "_ns, aError)); } - case 7: { // rondpoint:rondpoint_6001_Retourneur_identique_i8 + case 27: { // rondpoint:rondpoint_c6ef_Retourneur_identique_i8 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_i8, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_i8: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_i8, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_i8: "_ns, aError)); } - case 8: { // rondpoint:rondpoint_6001_Retourneur_identique_u8 + case 28: { // rondpoint:rondpoint_c6ef_Retourneur_identique_u8 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_u8, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_u8: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_u8, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_u8: "_ns, aError)); } - case 9: { // rondpoint:rondpoint_6001_Retourneur_identique_i16 + case 29: { // rondpoint:rondpoint_c6ef_Retourneur_identique_i16 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_i16, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_i16: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_i16, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_i16: "_ns, aError)); } - case 10: { // rondpoint:rondpoint_6001_Retourneur_identique_u16 + case 30: { // rondpoint:rondpoint_c6ef_Retourneur_identique_u16 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_u16, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_u16: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_u16, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_u16: "_ns, aError)); } - case 11: { // rondpoint:rondpoint_6001_Retourneur_identique_i32 + case 31: { // rondpoint:rondpoint_c6ef_Retourneur_identique_i32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_i32, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_i32: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_i32, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_i32: "_ns, aError)); } - case 12: { // rondpoint:rondpoint_6001_Retourneur_identique_u32 + case 32: { // rondpoint:rondpoint_c6ef_Retourneur_identique_u32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_u32, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_u32: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_u32, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_u32: "_ns, aError)); } - case 13: { // rondpoint:rondpoint_6001_Retourneur_identique_i64 + case 33: { // rondpoint:rondpoint_c6ef_Retourneur_identique_i64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_i64, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_i64: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_i64, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_i64: "_ns, aError)); } - case 14: { // rondpoint:rondpoint_6001_Retourneur_identique_u64 + case 34: { // rondpoint:rondpoint_c6ef_Retourneur_identique_u64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_u64, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_u64: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_u64, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_u64: "_ns, aError)); } - case 15: { // rondpoint:rondpoint_6001_Retourneur_identique_float + case 35: { // rondpoint:rondpoint_c6ef_Retourneur_identique_float using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_float, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_float: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_float, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_float: "_ns, aError)); } - case 16: { // rondpoint:rondpoint_6001_Retourneur_identique_double + case 36: { // rondpoint:rondpoint_c6ef_Retourneur_identique_double using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_double, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_double: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_double, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_double: "_ns, aError)); } - case 17: { // rondpoint:rondpoint_6001_Retourneur_identique_boolean + case 37: { // rondpoint:rondpoint_c6ef_Retourneur_identique_boolean using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_boolean, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_boolean: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_boolean, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_boolean: "_ns, aError)); } - case 18: { // rondpoint:rondpoint_6001_Retourneur_identique_string + case 38: { // rondpoint:rondpoint_c6ef_Retourneur_identique_string using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_string, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_string: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_string, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_string: "_ns, aError)); } - case 19: { // rondpoint:rondpoint_6001_Retourneur_identique_nombres_signes + case 39: { // rondpoint:rondpoint_c6ef_Retourneur_identique_nombres_signes using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_nombres_signes, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_nombres_signes: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_nombres_signes, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_nombres_signes: "_ns, aError)); } - case 20: { // rondpoint:rondpoint_6001_Retourneur_identique_nombres + case 40: { // rondpoint:rondpoint_c6ef_Retourneur_identique_nombres using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_nombres, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_nombres: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_nombres, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_nombres: "_ns, aError)); } - case 21: { // rondpoint:rondpoint_6001_Retourneur_identique_optionneur_dictionnaire + case 41: { // rondpoint:rondpoint_c6ef_Retourneur_identique_optionneur_dictionnaire using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Retourneur_identique_optionneur_dictionnaire, aGlobal, aArgs, "rondpoint_6001_Retourneur_identique_optionneur_dictionnaire: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Retourneur_identique_optionneur_dictionnaire, aGlobal, aArgs, "rondpoint_c6ef_Retourneur_identique_optionneur_dictionnaire: "_ns, aError)); } - case 22: { // rondpoint:rondpoint_6001_Stringifier_new + case 42: { // rondpoint:rondpoint_c6ef_Stringifier_new using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_new, aGlobal, aArgs, "rondpoint_6001_Stringifier_new: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_new, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_new: "_ns, aError)); } - case 23: { // rondpoint:rondpoint_6001_Stringifier_well_known_string + case 43: { // rondpoint:rondpoint_c6ef_Stringifier_well_known_string using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_well_known_string, aGlobal, aArgs, "rondpoint_6001_Stringifier_well_known_string: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_well_known_string, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_well_known_string: "_ns, aError)); } - case 24: { // rondpoint:rondpoint_6001_Stringifier_to_string_i8 + case 44: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_i8 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_i8, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_i8: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_i8, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_i8: "_ns, aError)); } - case 25: { // rondpoint:rondpoint_6001_Stringifier_to_string_u8 + case 45: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_u8 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_u8, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_u8: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_u8, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_u8: "_ns, aError)); } - case 26: { // rondpoint:rondpoint_6001_Stringifier_to_string_i16 + case 46: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_i16 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_i16, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_i16: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_i16, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_i16: "_ns, aError)); } - case 27: { // rondpoint:rondpoint_6001_Stringifier_to_string_u16 + case 47: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_u16 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_u16, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_u16: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_u16, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_u16: "_ns, aError)); } - case 28: { // rondpoint:rondpoint_6001_Stringifier_to_string_i32 + case 48: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_i32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_i32, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_i32: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_i32, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_i32: "_ns, aError)); } - case 29: { // rondpoint:rondpoint_6001_Stringifier_to_string_u32 + case 49: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_u32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_u32, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_u32: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_u32, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_u32: "_ns, aError)); } - case 30: { // rondpoint:rondpoint_6001_Stringifier_to_string_i64 + case 50: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_i64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_i64, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_i64: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_i64, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_i64: "_ns, aError)); } - case 31: { // rondpoint:rondpoint_6001_Stringifier_to_string_u64 + case 51: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_u64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_u64, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_u64: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_u64, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_u64: "_ns, aError)); } - case 32: { // rondpoint:rondpoint_6001_Stringifier_to_string_float + case 52: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_float using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_float, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_float: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_float, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_float: "_ns, aError)); } - case 33: { // rondpoint:rondpoint_6001_Stringifier_to_string_double + case 53: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_double using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_double, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_double: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_double, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_double: "_ns, aError)); } - case 34: { // rondpoint:rondpoint_6001_Stringifier_to_string_boolean + case 54: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_boolean using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Stringifier_to_string_boolean, aGlobal, aArgs, "rondpoint_6001_Stringifier_to_string_boolean: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Stringifier_to_string_boolean, aGlobal, aArgs, "rondpoint_c6ef_Stringifier_to_string_boolean: "_ns, aError)); } - case 35: { // rondpoint:rondpoint_6001_Optionneur_new + case 55: { // rondpoint:rondpoint_c6ef_Optionneur_new using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_new, aGlobal, aArgs, "rondpoint_6001_Optionneur_new: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_new, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_new: "_ns, aError)); } - case 36: { // rondpoint:rondpoint_6001_Optionneur_sinon_boolean + case 56: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_boolean using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_boolean, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_boolean: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_boolean, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_boolean: "_ns, aError)); } - case 37: { // rondpoint:rondpoint_6001_Optionneur_sinon_string + case 57: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_string using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_string, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_string: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_string, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_string: "_ns, aError)); } - case 38: { // rondpoint:rondpoint_6001_Optionneur_sinon_sequence + case 58: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_sequence using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_sequence, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_sequence: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_sequence, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_sequence: "_ns, aError)); } - case 39: { // rondpoint:rondpoint_6001_Optionneur_sinon_null + case 59: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_null using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_null, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_null: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_null, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_null: "_ns, aError)); } - case 40: { // rondpoint:rondpoint_6001_Optionneur_sinon_zero + case 60: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_zero using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_zero, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_zero: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_zero, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_zero: "_ns, aError)); } - case 41: { // rondpoint:rondpoint_6001_Optionneur_sinon_u8_dec + case 61: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u8_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u8_dec, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u8_dec: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u8_dec, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u8_dec: "_ns, aError)); } - case 42: { // rondpoint:rondpoint_6001_Optionneur_sinon_i8_dec + case 62: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i8_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_i8_dec, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_i8_dec: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_i8_dec, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_i8_dec: "_ns, aError)); } - case 43: { // rondpoint:rondpoint_6001_Optionneur_sinon_u16_dec + case 63: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u16_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u16_dec, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u16_dec: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u16_dec, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u16_dec: "_ns, aError)); } - case 44: { // rondpoint:rondpoint_6001_Optionneur_sinon_i16_dec + case 64: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i16_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_i16_dec, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_i16_dec: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_i16_dec, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_i16_dec: "_ns, aError)); } - case 45: { // rondpoint:rondpoint_6001_Optionneur_sinon_u32_dec + case 65: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u32_dec, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u32_dec: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u32_dec, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u32_dec: "_ns, aError)); } - case 46: { // rondpoint:rondpoint_6001_Optionneur_sinon_i32_dec + case 66: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i32_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_i32_dec, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_i32_dec: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_i32_dec, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_i32_dec: "_ns, aError)); } - case 47: { // rondpoint:rondpoint_6001_Optionneur_sinon_u64_dec + case 67: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u64_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u64_dec, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u64_dec: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u64_dec, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u64_dec: "_ns, aError)); } - case 48: { // rondpoint:rondpoint_6001_Optionneur_sinon_i64_dec + case 68: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i64_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_i64_dec, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_i64_dec: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_i64_dec, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_i64_dec: "_ns, aError)); } - case 49: { // rondpoint:rondpoint_6001_Optionneur_sinon_u8_hex + case 69: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u8_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u8_hex, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u8_hex: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u8_hex, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u8_hex: "_ns, aError)); } - case 50: { // rondpoint:rondpoint_6001_Optionneur_sinon_i8_hex + case 70: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i8_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_i8_hex, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_i8_hex: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_i8_hex, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_i8_hex: "_ns, aError)); } - case 51: { // rondpoint:rondpoint_6001_Optionneur_sinon_u16_hex + case 71: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u16_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u16_hex, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u16_hex: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u16_hex, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u16_hex: "_ns, aError)); } - case 52: { // rondpoint:rondpoint_6001_Optionneur_sinon_i16_hex + case 72: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i16_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_i16_hex, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_i16_hex: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_i16_hex, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_i16_hex: "_ns, aError)); } - case 53: { // rondpoint:rondpoint_6001_Optionneur_sinon_u32_hex + case 73: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u32_hex, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u32_hex: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u32_hex, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u32_hex: "_ns, aError)); } - case 54: { // rondpoint:rondpoint_6001_Optionneur_sinon_i32_hex + case 74: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i32_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_i32_hex, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_i32_hex: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_i32_hex, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_i32_hex: "_ns, aError)); } - case 55: { // rondpoint:rondpoint_6001_Optionneur_sinon_u64_hex + case 75: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u64_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u64_hex, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u64_hex: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u64_hex, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u64_hex: "_ns, aError)); } - case 56: { // rondpoint:rondpoint_6001_Optionneur_sinon_i64_hex + case 76: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i64_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_i64_hex, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_i64_hex: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_i64_hex, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_i64_hex: "_ns, aError)); } - case 57: { // rondpoint:rondpoint_6001_Optionneur_sinon_u32_oct + case 77: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_oct using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_u32_oct, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_u32_oct: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_u32_oct, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_u32_oct: "_ns, aError)); } - case 58: { // rondpoint:rondpoint_6001_Optionneur_sinon_f32 + case 78: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_f32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_f32, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_f32: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_f32, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_f32: "_ns, aError)); } - case 59: { // rondpoint:rondpoint_6001_Optionneur_sinon_f64 + case 79: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_f64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_f64, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_f64: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_f64, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_f64: "_ns, aError)); } - case 60: { // rondpoint:rondpoint_6001_Optionneur_sinon_enum + case 80: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_enum using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_Optionneur_sinon_enum, aGlobal, aArgs, "rondpoint_6001_Optionneur_sinon_enum: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_Optionneur_sinon_enum, aGlobal, aArgs, "rondpoint_c6ef_Optionneur_sinon_enum: "_ns, aError)); } - case 61: { // rondpoint:rondpoint_6001_copie_dictionnaire + case 81: { // rondpoint:rondpoint_c6ef_copie_dictionnaire using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_copie_dictionnaire, aGlobal, aArgs, "rondpoint_6001_copie_dictionnaire: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_copie_dictionnaire, aGlobal, aArgs, "rondpoint_c6ef_copie_dictionnaire: "_ns, aError)); } - case 62: { // rondpoint:rondpoint_6001_copie_enumeration + case 82: { // rondpoint:rondpoint_c6ef_copie_enumeration using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_copie_enumeration, aGlobal, aArgs, "rondpoint_6001_copie_enumeration: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_copie_enumeration, aGlobal, aArgs, "rondpoint_c6ef_copie_enumeration: "_ns, aError)); } - case 63: { // rondpoint:rondpoint_6001_copie_enumerations + case 83: { // rondpoint:rondpoint_c6ef_copie_enumerations using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_copie_enumerations, aGlobal, aArgs, "rondpoint_6001_copie_enumerations: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_copie_enumerations, aGlobal, aArgs, "rondpoint_c6ef_copie_enumerations: "_ns, aError)); } - case 64: { // rondpoint:rondpoint_6001_copie_carte + case 84: { // rondpoint:rondpoint_c6ef_copie_carte using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_copie_carte, aGlobal, aArgs, "rondpoint_6001_copie_carte: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_copie_carte, aGlobal, aArgs, "rondpoint_c6ef_copie_carte: "_ns, aError)); } - case 65: { // rondpoint:rondpoint_6001_switcheroo + case 85: { // rondpoint:rondpoint_c6ef_switcheroo using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(rondpoint_6001_switcheroo, aGlobal, aArgs, "rondpoint_6001_switcheroo: "_ns, aError)); + return Some(CallHandler::CallAsync(rondpoint_c6ef_switcheroo, aGlobal, aArgs, "rondpoint_c6ef_switcheroo: "_ns, aError)); } - case 66: { // sprites:sprites_83ef_Sprite_new + case 86: { // sprites:sprites_accb_Sprite_new using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(sprites_83ef_Sprite_new, aGlobal, aArgs, "sprites_83ef_Sprite_new: "_ns, aError)); + return Some(CallHandler::CallAsync(sprites_accb_Sprite_new, aGlobal, aArgs, "sprites_accb_Sprite_new: "_ns, aError)); } - case 67: { // sprites:sprites_83ef_Sprite_new_relative_to + case 87: { // sprites:sprites_accb_Sprite_new_relative_to using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(sprites_83ef_Sprite_new_relative_to, aGlobal, aArgs, "sprites_83ef_Sprite_new_relative_to: "_ns, aError)); + return Some(CallHandler::CallAsync(sprites_accb_Sprite_new_relative_to, aGlobal, aArgs, "sprites_accb_Sprite_new_relative_to: "_ns, aError)); } - case 68: { // sprites:sprites_83ef_Sprite_get_position + case 88: { // sprites:sprites_accb_Sprite_get_position using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>>; - return Some(CallHandler::CallAsync(sprites_83ef_Sprite_get_position, aGlobal, aArgs, "sprites_83ef_Sprite_get_position: "_ns, aError)); + return Some(CallHandler::CallAsync(sprites_accb_Sprite_get_position, aGlobal, aArgs, "sprites_accb_Sprite_get_position: "_ns, aError)); } - case 69: { // sprites:sprites_83ef_Sprite_move_to + case 89: { // sprites:sprites_accb_Sprite_move_to using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(sprites_83ef_Sprite_move_to, aGlobal, aArgs, "sprites_83ef_Sprite_move_to: "_ns, aError)); + return Some(CallHandler::CallAsync(sprites_accb_Sprite_move_to, aGlobal, aArgs, "sprites_accb_Sprite_move_to: "_ns, aError)); } - case 70: { // sprites:sprites_83ef_Sprite_move_by + case 90: { // sprites:sprites_accb_Sprite_move_by using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(sprites_83ef_Sprite_move_by, aGlobal, aArgs, "sprites_83ef_Sprite_move_by: "_ns, aError)); + return Some(CallHandler::CallAsync(sprites_accb_Sprite_move_by, aGlobal, aArgs, "sprites_accb_Sprite_move_by: "_ns, aError)); } - case 71: { // sprites:sprites_83ef_translate + case 91: { // sprites:sprites_accb_translate using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(sprites_83ef_translate, aGlobal, aArgs, "sprites_83ef_translate: "_ns, aError)); + return Some(CallHandler::CallAsync(sprites_accb_translate, aGlobal, aArgs, "sprites_accb_translate: "_ns, aError)); } - case 72: { // todolist:todolist_6791_TodoList_new + case 92: { // todolist:todolist_aa33_TodoList_new using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_new, aGlobal, aArgs, "todolist_6791_TodoList_new: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_new, aGlobal, aArgs, "todolist_aa33_TodoList_new: "_ns, aError)); } - case 73: { // todolist:todolist_6791_TodoList_add_item + case 93: { // todolist:todolist_aa33_TodoList_add_item using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_add_item, aGlobal, aArgs, "todolist_6791_TodoList_add_item: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_add_item, aGlobal, aArgs, "todolist_aa33_TodoList_add_item: "_ns, aError)); } - case 74: { // todolist:todolist_6791_TodoList_add_entry + case 94: { // todolist:todolist_aa33_TodoList_add_entry using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_add_entry, aGlobal, aArgs, "todolist_6791_TodoList_add_entry: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_add_entry, aGlobal, aArgs, "todolist_aa33_TodoList_add_entry: "_ns, aError)); } - case 75: { // todolist:todolist_6791_TodoList_get_entries + case 95: { // todolist:todolist_aa33_TodoList_get_entries using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_get_entries, aGlobal, aArgs, "todolist_6791_TodoList_get_entries: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_get_entries, aGlobal, aArgs, "todolist_aa33_TodoList_get_entries: "_ns, aError)); } - case 76: { // todolist:todolist_6791_TodoList_get_items + case 96: { // todolist:todolist_aa33_TodoList_get_items using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_get_items, aGlobal, aArgs, "todolist_6791_TodoList_get_items: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_get_items, aGlobal, aArgs, "todolist_aa33_TodoList_get_items: "_ns, aError)); } - case 77: { // todolist:todolist_6791_TodoList_add_entries + case 97: { // todolist:todolist_aa33_TodoList_add_entries using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_add_entries, aGlobal, aArgs, "todolist_6791_TodoList_add_entries: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_add_entries, aGlobal, aArgs, "todolist_aa33_TodoList_add_entries: "_ns, aError)); } - case 78: { // todolist:todolist_6791_TodoList_add_items + case 98: { // todolist:todolist_aa33_TodoList_add_items using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_add_items, aGlobal, aArgs, "todolist_6791_TodoList_add_items: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_add_items, aGlobal, aArgs, "todolist_aa33_TodoList_add_items: "_ns, aError)); } - case 79: { // todolist:todolist_6791_TodoList_get_last_entry + case 99: { // todolist:todolist_aa33_TodoList_get_last_entry using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_get_last_entry, aGlobal, aArgs, "todolist_6791_TodoList_get_last_entry: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_get_last_entry, aGlobal, aArgs, "todolist_aa33_TodoList_get_last_entry: "_ns, aError)); } - case 80: { // todolist:todolist_6791_TodoList_get_last + case 100: { // todolist:todolist_aa33_TodoList_get_last using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_get_last, aGlobal, aArgs, "todolist_6791_TodoList_get_last: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_get_last, aGlobal, aArgs, "todolist_aa33_TodoList_get_last: "_ns, aError)); } - case 81: { // todolist:todolist_6791_TodoList_get_first + case 101: { // todolist:todolist_aa33_TodoList_get_first using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_get_first, aGlobal, aArgs, "todolist_6791_TodoList_get_first: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_get_first, aGlobal, aArgs, "todolist_aa33_TodoList_get_first: "_ns, aError)); } - case 82: { // todolist:todolist_6791_TodoList_clear_item + case 102: { // todolist:todolist_aa33_TodoList_clear_item using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_clear_item, aGlobal, aArgs, "todolist_6791_TodoList_clear_item: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_clear_item, aGlobal, aArgs, "todolist_aa33_TodoList_clear_item: "_ns, aError)); } - case 83: { // todolist:todolist_6791_TodoList_make_default + case 103: { // todolist:todolist_aa33_TodoList_make_default using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(todolist_6791_TodoList_make_default, aGlobal, aArgs, "todolist_6791_TodoList_make_default: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_TodoList_make_default, aGlobal, aArgs, "todolist_aa33_TodoList_make_default: "_ns, aError)); } - case 84: { // todolist:todolist_6791_get_default_list + case 104: { // todolist:todolist_aa33_get_default_list using CallHandler = ScaffoldingCallHandler>; - return Some(CallHandler::CallAsync(todolist_6791_get_default_list, aGlobal, aArgs, "todolist_6791_get_default_list: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_get_default_list, aGlobal, aArgs, "todolist_aa33_get_default_list: "_ns, aError)); } - case 85: { // todolist:todolist_6791_set_default_list + case 105: { // todolist:todolist_aa33_set_default_list using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - return Some(CallHandler::CallAsync(todolist_6791_set_default_list, aGlobal, aArgs, "todolist_6791_set_default_list: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_set_default_list, aGlobal, aArgs, "todolist_aa33_set_default_list: "_ns, aError)); } - case 86: { // todolist:todolist_6791_create_entry_with + case 106: { // todolist:todolist_aa33_create_entry_with using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(todolist_6791_create_entry_with, aGlobal, aArgs, "todolist_6791_create_entry_with: "_ns, aError)); + return Some(CallHandler::CallAsync(todolist_aa33_create_entry_with, aGlobal, aArgs, "todolist_aa33_create_entry_with: "_ns, aError)); } - case 87: { // customtypes:customtypes_6e0d_get_custom_types_demo + case 107: { // customtypes:customtypes_fb46_get_custom_types_demo using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - return Some(CallHandler::CallAsync(customtypes_6e0d_get_custom_types_demo, aGlobal, aArgs, "customtypes_6e0d_get_custom_types_demo: "_ns, aError)); + return Some(CallHandler::CallAsync(customtypes_fb46_get_custom_types_demo, aGlobal, aArgs, "customtypes_fb46_get_custom_types_demo: "_ns, aError)); } } return Nothing(); @@ -496,444 +496,444 @@ Maybe> UniFFIFixturesCallAsync(const GlobalObject& aGl bool UniFFIFixturesCallSync(const GlobalObject& aGlobal, uint64_t aId, const Sequence& aArgs, RootedDictionary& aReturnValue, ErrorResult& aError) { switch (aId) { - case 0: { // geometry:geometry_631c_gradient + case 20: { // geometry:geometry_1cce_gradient using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(geometry_631c_gradient, aGlobal, aArgs, aReturnValue, "geometry_631c_gradient: "_ns, aError); + CallHandler::CallSync(geometry_1cce_gradient, aGlobal, aArgs, aReturnValue, "geometry_1cce_gradient: "_ns, aError); return true; } - case 1: { // geometry:geometry_631c_intersection + case 21: { // geometry:geometry_1cce_intersection using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(geometry_631c_intersection, aGlobal, aArgs, aReturnValue, "geometry_631c_intersection: "_ns, aError); + CallHandler::CallSync(geometry_1cce_intersection, aGlobal, aArgs, aReturnValue, "geometry_1cce_intersection: "_ns, aError); return true; } - case 2: { // arithmetic:arithmetic_708a_add + case 22: { // arithmetic:arithmetic_906c_add using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(arithmetic_708a_add, aGlobal, aArgs, aReturnValue, "arithmetic_708a_add: "_ns, aError); + CallHandler::CallSync(arithmetic_906c_add, aGlobal, aArgs, aReturnValue, "arithmetic_906c_add: "_ns, aError); return true; } - case 3: { // arithmetic:arithmetic_708a_sub + case 23: { // arithmetic:arithmetic_906c_sub using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(arithmetic_708a_sub, aGlobal, aArgs, aReturnValue, "arithmetic_708a_sub: "_ns, aError); + CallHandler::CallSync(arithmetic_906c_sub, aGlobal, aArgs, aReturnValue, "arithmetic_906c_sub: "_ns, aError); return true; } - case 4: { // arithmetic:arithmetic_708a_div + case 24: { // arithmetic:arithmetic_906c_div using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(arithmetic_708a_div, aGlobal, aArgs, aReturnValue, "arithmetic_708a_div: "_ns, aError); + CallHandler::CallSync(arithmetic_906c_div, aGlobal, aArgs, aReturnValue, "arithmetic_906c_div: "_ns, aError); return true; } - case 5: { // arithmetic:arithmetic_708a_equal + case 25: { // arithmetic:arithmetic_906c_equal using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(arithmetic_708a_equal, aGlobal, aArgs, aReturnValue, "arithmetic_708a_equal: "_ns, aError); + CallHandler::CallSync(arithmetic_906c_equal, aGlobal, aArgs, aReturnValue, "arithmetic_906c_equal: "_ns, aError); return true; } - case 6: { // rondpoint:rondpoint_6001_Retourneur_new + case 26: { // rondpoint:rondpoint_c6ef_Retourneur_new using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(rondpoint_6001_Retourneur_new, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_new: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_new, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_new: "_ns, aError); return true; } - case 7: { // rondpoint:rondpoint_6001_Retourneur_identique_i8 + case 27: { // rondpoint:rondpoint_c6ef_Retourneur_identique_i8 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_i8, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_i8: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_i8, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_i8: "_ns, aError); return true; } - case 8: { // rondpoint:rondpoint_6001_Retourneur_identique_u8 + case 28: { // rondpoint:rondpoint_c6ef_Retourneur_identique_u8 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_u8, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_u8: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_u8, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_u8: "_ns, aError); return true; } - case 9: { // rondpoint:rondpoint_6001_Retourneur_identique_i16 + case 29: { // rondpoint:rondpoint_c6ef_Retourneur_identique_i16 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_i16, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_i16: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_i16, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_i16: "_ns, aError); return true; } - case 10: { // rondpoint:rondpoint_6001_Retourneur_identique_u16 + case 30: { // rondpoint:rondpoint_c6ef_Retourneur_identique_u16 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_u16, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_u16: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_u16, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_u16: "_ns, aError); return true; } - case 11: { // rondpoint:rondpoint_6001_Retourneur_identique_i32 + case 31: { // rondpoint:rondpoint_c6ef_Retourneur_identique_i32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_i32, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_i32: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_i32, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_i32: "_ns, aError); return true; } - case 12: { // rondpoint:rondpoint_6001_Retourneur_identique_u32 + case 32: { // rondpoint:rondpoint_c6ef_Retourneur_identique_u32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_u32, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_u32: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_u32, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_u32: "_ns, aError); return true; } - case 13: { // rondpoint:rondpoint_6001_Retourneur_identique_i64 + case 33: { // rondpoint:rondpoint_c6ef_Retourneur_identique_i64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_i64, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_i64: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_i64, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_i64: "_ns, aError); return true; } - case 14: { // rondpoint:rondpoint_6001_Retourneur_identique_u64 + case 34: { // rondpoint:rondpoint_c6ef_Retourneur_identique_u64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_u64, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_u64: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_u64, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_u64: "_ns, aError); return true; } - case 15: { // rondpoint:rondpoint_6001_Retourneur_identique_float + case 35: { // rondpoint:rondpoint_c6ef_Retourneur_identique_float using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_float, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_float: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_float, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_float: "_ns, aError); return true; } - case 16: { // rondpoint:rondpoint_6001_Retourneur_identique_double + case 36: { // rondpoint:rondpoint_c6ef_Retourneur_identique_double using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_double, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_double: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_double, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_double: "_ns, aError); return true; } - case 17: { // rondpoint:rondpoint_6001_Retourneur_identique_boolean + case 37: { // rondpoint:rondpoint_c6ef_Retourneur_identique_boolean using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_boolean, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_boolean: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_boolean, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_boolean: "_ns, aError); return true; } - case 18: { // rondpoint:rondpoint_6001_Retourneur_identique_string + case 38: { // rondpoint:rondpoint_c6ef_Retourneur_identique_string using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_string, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_string: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_string, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_string: "_ns, aError); return true; } - case 19: { // rondpoint:rondpoint_6001_Retourneur_identique_nombres_signes + case 39: { // rondpoint:rondpoint_c6ef_Retourneur_identique_nombres_signes using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_nombres_signes, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_nombres_signes: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_nombres_signes, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_nombres_signes: "_ns, aError); return true; } - case 20: { // rondpoint:rondpoint_6001_Retourneur_identique_nombres + case 40: { // rondpoint:rondpoint_c6ef_Retourneur_identique_nombres using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_nombres, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_nombres: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_nombres, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_nombres: "_ns, aError); return true; } - case 21: { // rondpoint:rondpoint_6001_Retourneur_identique_optionneur_dictionnaire + case 41: { // rondpoint:rondpoint_c6ef_Retourneur_identique_optionneur_dictionnaire using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointRetourneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Retourneur_identique_optionneur_dictionnaire, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Retourneur_identique_optionneur_dictionnaire: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Retourneur_identique_optionneur_dictionnaire, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Retourneur_identique_optionneur_dictionnaire: "_ns, aError); return true; } - case 22: { // rondpoint:rondpoint_6001_Stringifier_new + case 42: { // rondpoint:rondpoint_c6ef_Stringifier_new using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(rondpoint_6001_Stringifier_new, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_new: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_new, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_new: "_ns, aError); return true; } - case 23: { // rondpoint:rondpoint_6001_Stringifier_well_known_string + case 43: { // rondpoint:rondpoint_c6ef_Stringifier_well_known_string using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_well_known_string, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_well_known_string: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_well_known_string, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_well_known_string: "_ns, aError); return true; } - case 24: { // rondpoint:rondpoint_6001_Stringifier_to_string_i8 + case 44: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_i8 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_i8, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_i8: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_i8, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_i8: "_ns, aError); return true; } - case 25: { // rondpoint:rondpoint_6001_Stringifier_to_string_u8 + case 45: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_u8 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_u8, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_u8: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_u8, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_u8: "_ns, aError); return true; } - case 26: { // rondpoint:rondpoint_6001_Stringifier_to_string_i16 + case 46: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_i16 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_i16, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_i16: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_i16, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_i16: "_ns, aError); return true; } - case 27: { // rondpoint:rondpoint_6001_Stringifier_to_string_u16 + case 47: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_u16 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_u16, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_u16: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_u16, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_u16: "_ns, aError); return true; } - case 28: { // rondpoint:rondpoint_6001_Stringifier_to_string_i32 + case 48: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_i32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_i32, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_i32: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_i32, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_i32: "_ns, aError); return true; } - case 29: { // rondpoint:rondpoint_6001_Stringifier_to_string_u32 + case 49: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_u32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_u32, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_u32: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_u32, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_u32: "_ns, aError); return true; } - case 30: { // rondpoint:rondpoint_6001_Stringifier_to_string_i64 + case 50: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_i64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_i64, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_i64: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_i64, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_i64: "_ns, aError); return true; } - case 31: { // rondpoint:rondpoint_6001_Stringifier_to_string_u64 + case 51: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_u64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_u64, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_u64: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_u64, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_u64: "_ns, aError); return true; } - case 32: { // rondpoint:rondpoint_6001_Stringifier_to_string_float + case 52: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_float using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_float, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_float: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_float, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_float: "_ns, aError); return true; } - case 33: { // rondpoint:rondpoint_6001_Stringifier_to_string_double + case 53: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_double using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_double, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_double: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_double, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_double: "_ns, aError); return true; } - case 34: { // rondpoint:rondpoint_6001_Stringifier_to_string_boolean + case 54: { // rondpoint:rondpoint_c6ef_Stringifier_to_string_boolean using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointStringifierPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Stringifier_to_string_boolean, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Stringifier_to_string_boolean: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Stringifier_to_string_boolean, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Stringifier_to_string_boolean: "_ns, aError); return true; } - case 35: { // rondpoint:rondpoint_6001_Optionneur_new + case 55: { // rondpoint:rondpoint_c6ef_Optionneur_new using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(rondpoint_6001_Optionneur_new, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_new: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_new, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_new: "_ns, aError); return true; } - case 36: { // rondpoint:rondpoint_6001_Optionneur_sinon_boolean + case 56: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_boolean using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_boolean, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_boolean: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_boolean, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_boolean: "_ns, aError); return true; } - case 37: { // rondpoint:rondpoint_6001_Optionneur_sinon_string + case 57: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_string using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_string, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_string: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_string, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_string: "_ns, aError); return true; } - case 38: { // rondpoint:rondpoint_6001_Optionneur_sinon_sequence + case 58: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_sequence using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_sequence, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_sequence: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_sequence, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_sequence: "_ns, aError); return true; } - case 39: { // rondpoint:rondpoint_6001_Optionneur_sinon_null + case 59: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_null using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_null, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_null: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_null, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_null: "_ns, aError); return true; } - case 40: { // rondpoint:rondpoint_6001_Optionneur_sinon_zero + case 60: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_zero using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_zero, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_zero: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_zero, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_zero: "_ns, aError); return true; } - case 41: { // rondpoint:rondpoint_6001_Optionneur_sinon_u8_dec + case 61: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u8_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u8_dec, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u8_dec: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u8_dec, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u8_dec: "_ns, aError); return true; } - case 42: { // rondpoint:rondpoint_6001_Optionneur_sinon_i8_dec + case 62: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i8_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_i8_dec, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_i8_dec: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_i8_dec, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_i8_dec: "_ns, aError); return true; } - case 43: { // rondpoint:rondpoint_6001_Optionneur_sinon_u16_dec + case 63: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u16_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u16_dec, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u16_dec: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u16_dec, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u16_dec: "_ns, aError); return true; } - case 44: { // rondpoint:rondpoint_6001_Optionneur_sinon_i16_dec + case 64: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i16_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_i16_dec, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_i16_dec: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_i16_dec, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_i16_dec: "_ns, aError); return true; } - case 45: { // rondpoint:rondpoint_6001_Optionneur_sinon_u32_dec + case 65: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u32_dec, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u32_dec: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u32_dec, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u32_dec: "_ns, aError); return true; } - case 46: { // rondpoint:rondpoint_6001_Optionneur_sinon_i32_dec + case 66: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i32_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_i32_dec, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_i32_dec: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_i32_dec, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_i32_dec: "_ns, aError); return true; } - case 47: { // rondpoint:rondpoint_6001_Optionneur_sinon_u64_dec + case 67: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u64_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u64_dec, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u64_dec: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u64_dec, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u64_dec: "_ns, aError); return true; } - case 48: { // rondpoint:rondpoint_6001_Optionneur_sinon_i64_dec + case 68: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i64_dec using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_i64_dec, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_i64_dec: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_i64_dec, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_i64_dec: "_ns, aError); return true; } - case 49: { // rondpoint:rondpoint_6001_Optionneur_sinon_u8_hex + case 69: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u8_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u8_hex, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u8_hex: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u8_hex, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u8_hex: "_ns, aError); return true; } - case 50: { // rondpoint:rondpoint_6001_Optionneur_sinon_i8_hex + case 70: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i8_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_i8_hex, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_i8_hex: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_i8_hex, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_i8_hex: "_ns, aError); return true; } - case 51: { // rondpoint:rondpoint_6001_Optionneur_sinon_u16_hex + case 71: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u16_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u16_hex, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u16_hex: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u16_hex, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u16_hex: "_ns, aError); return true; } - case 52: { // rondpoint:rondpoint_6001_Optionneur_sinon_i16_hex + case 72: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i16_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_i16_hex, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_i16_hex: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_i16_hex, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_i16_hex: "_ns, aError); return true; } - case 53: { // rondpoint:rondpoint_6001_Optionneur_sinon_u32_hex + case 73: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u32_hex, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u32_hex: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u32_hex, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u32_hex: "_ns, aError); return true; } - case 54: { // rondpoint:rondpoint_6001_Optionneur_sinon_i32_hex + case 74: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i32_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_i32_hex, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_i32_hex: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_i32_hex, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_i32_hex: "_ns, aError); return true; } - case 55: { // rondpoint:rondpoint_6001_Optionneur_sinon_u64_hex + case 75: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u64_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u64_hex, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u64_hex: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u64_hex, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u64_hex: "_ns, aError); return true; } - case 56: { // rondpoint:rondpoint_6001_Optionneur_sinon_i64_hex + case 76: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_i64_hex using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_i64_hex, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_i64_hex: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_i64_hex, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_i64_hex: "_ns, aError); return true; } - case 57: { // rondpoint:rondpoint_6001_Optionneur_sinon_u32_oct + case 77: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_u32_oct using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_u32_oct, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_u32_oct: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_u32_oct, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_u32_oct: "_ns, aError); return true; } - case 58: { // rondpoint:rondpoint_6001_Optionneur_sinon_f32 + case 78: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_f32 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_f32, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_f32: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_f32, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_f32: "_ns, aError); return true; } - case 59: { // rondpoint:rondpoint_6001_Optionneur_sinon_f64 + case 79: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_f64 using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_f64, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_f64: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_f64, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_f64: "_ns, aError); return true; } - case 60: { // rondpoint:rondpoint_6001_Optionneur_sinon_enum + case 80: { // rondpoint:rondpoint_c6ef_Optionneur_sinon_enum using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kRondpointOptionneurPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_Optionneur_sinon_enum, aGlobal, aArgs, aReturnValue, "rondpoint_6001_Optionneur_sinon_enum: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_Optionneur_sinon_enum, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_Optionneur_sinon_enum: "_ns, aError); return true; } - case 61: { // rondpoint:rondpoint_6001_copie_dictionnaire + case 81: { // rondpoint:rondpoint_c6ef_copie_dictionnaire using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_copie_dictionnaire, aGlobal, aArgs, aReturnValue, "rondpoint_6001_copie_dictionnaire: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_copie_dictionnaire, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_copie_dictionnaire: "_ns, aError); return true; } - case 62: { // rondpoint:rondpoint_6001_copie_enumeration + case 82: { // rondpoint:rondpoint_c6ef_copie_enumeration using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_copie_enumeration, aGlobal, aArgs, aReturnValue, "rondpoint_6001_copie_enumeration: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_copie_enumeration, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_copie_enumeration: "_ns, aError); return true; } - case 63: { // rondpoint:rondpoint_6001_copie_enumerations + case 83: { // rondpoint:rondpoint_c6ef_copie_enumerations using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_copie_enumerations, aGlobal, aArgs, aReturnValue, "rondpoint_6001_copie_enumerations: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_copie_enumerations, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_copie_enumerations: "_ns, aError); return true; } - case 64: { // rondpoint:rondpoint_6001_copie_carte + case 84: { // rondpoint:rondpoint_c6ef_copie_carte using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_copie_carte, aGlobal, aArgs, aReturnValue, "rondpoint_6001_copie_carte: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_copie_carte, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_copie_carte: "_ns, aError); return true; } - case 65: { // rondpoint:rondpoint_6001_switcheroo + case 85: { // rondpoint:rondpoint_c6ef_switcheroo using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(rondpoint_6001_switcheroo, aGlobal, aArgs, aReturnValue, "rondpoint_6001_switcheroo: "_ns, aError); + CallHandler::CallSync(rondpoint_c6ef_switcheroo, aGlobal, aArgs, aReturnValue, "rondpoint_c6ef_switcheroo: "_ns, aError); return true; } - case 66: { // sprites:sprites_83ef_Sprite_new + case 86: { // sprites:sprites_accb_Sprite_new using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(sprites_83ef_Sprite_new, aGlobal, aArgs, aReturnValue, "sprites_83ef_Sprite_new: "_ns, aError); + CallHandler::CallSync(sprites_accb_Sprite_new, aGlobal, aArgs, aReturnValue, "sprites_accb_Sprite_new: "_ns, aError); return true; } - case 67: { // sprites:sprites_83ef_Sprite_new_relative_to + case 87: { // sprites:sprites_accb_Sprite_new_relative_to using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(sprites_83ef_Sprite_new_relative_to, aGlobal, aArgs, aReturnValue, "sprites_83ef_Sprite_new_relative_to: "_ns, aError); + CallHandler::CallSync(sprites_accb_Sprite_new_relative_to, aGlobal, aArgs, aReturnValue, "sprites_accb_Sprite_new_relative_to: "_ns, aError); return true; } - case 68: { // sprites:sprites_83ef_Sprite_get_position + case 88: { // sprites:sprites_accb_Sprite_get_position using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>>; - CallHandler::CallSync(sprites_83ef_Sprite_get_position, aGlobal, aArgs, aReturnValue, "sprites_83ef_Sprite_get_position: "_ns, aError); + CallHandler::CallSync(sprites_accb_Sprite_get_position, aGlobal, aArgs, aReturnValue, "sprites_accb_Sprite_get_position: "_ns, aError); return true; } - case 69: { // sprites:sprites_83ef_Sprite_move_to + case 89: { // sprites:sprites_accb_Sprite_move_to using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(sprites_83ef_Sprite_move_to, aGlobal, aArgs, aReturnValue, "sprites_83ef_Sprite_move_to: "_ns, aError); + CallHandler::CallSync(sprites_accb_Sprite_move_to, aGlobal, aArgs, aReturnValue, "sprites_accb_Sprite_move_to: "_ns, aError); return true; } - case 70: { // sprites:sprites_83ef_Sprite_move_by + case 90: { // sprites:sprites_accb_Sprite_move_by using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kSpritesSpritePointerType>, ScaffoldingConverter>; - CallHandler::CallSync(sprites_83ef_Sprite_move_by, aGlobal, aArgs, aReturnValue, "sprites_83ef_Sprite_move_by: "_ns, aError); + CallHandler::CallSync(sprites_accb_Sprite_move_by, aGlobal, aArgs, aReturnValue, "sprites_accb_Sprite_move_by: "_ns, aError); return true; } - case 71: { // sprites:sprites_83ef_translate + case 91: { // sprites:sprites_accb_translate using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter, ScaffoldingConverter>; - CallHandler::CallSync(sprites_83ef_translate, aGlobal, aArgs, aReturnValue, "sprites_83ef_translate: "_ns, aError); + CallHandler::CallSync(sprites_accb_translate, aGlobal, aArgs, aReturnValue, "sprites_accb_translate: "_ns, aError); return true; } - case 72: { // todolist:todolist_6791_TodoList_new + case 92: { // todolist:todolist_aa33_TodoList_new using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(todolist_6791_TodoList_new, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_new: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_new, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_new: "_ns, aError); return true; } - case 73: { // todolist:todolist_6791_TodoList_add_item + case 93: { // todolist:todolist_aa33_TodoList_add_item using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(todolist_6791_TodoList_add_item, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_add_item: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_add_item, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_add_item: "_ns, aError); return true; } - case 74: { // todolist:todolist_6791_TodoList_add_entry + case 94: { // todolist:todolist_aa33_TodoList_add_entry using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(todolist_6791_TodoList_add_entry, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_add_entry: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_add_entry, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_add_entry: "_ns, aError); return true; } - case 75: { // todolist:todolist_6791_TodoList_get_entries + case 95: { // todolist:todolist_aa33_TodoList_get_entries using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(todolist_6791_TodoList_get_entries, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_get_entries: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_get_entries, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_get_entries: "_ns, aError); return true; } - case 76: { // todolist:todolist_6791_TodoList_get_items + case 96: { // todolist:todolist_aa33_TodoList_get_items using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(todolist_6791_TodoList_get_items, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_get_items: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_get_items, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_get_items: "_ns, aError); return true; } - case 77: { // todolist:todolist_6791_TodoList_add_entries + case 97: { // todolist:todolist_aa33_TodoList_add_entries using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(todolist_6791_TodoList_add_entries, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_add_entries: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_add_entries, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_add_entries: "_ns, aError); return true; } - case 78: { // todolist:todolist_6791_TodoList_add_items + case 98: { // todolist:todolist_aa33_TodoList_add_items using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(todolist_6791_TodoList_add_items, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_add_items: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_add_items, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_add_items: "_ns, aError); return true; } - case 79: { // todolist:todolist_6791_TodoList_get_last_entry + case 99: { // todolist:todolist_aa33_TodoList_get_last_entry using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(todolist_6791_TodoList_get_last_entry, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_get_last_entry: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_get_last_entry, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_get_last_entry: "_ns, aError); return true; } - case 80: { // todolist:todolist_6791_TodoList_get_last + case 100: { // todolist:todolist_aa33_TodoList_get_last using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(todolist_6791_TodoList_get_last, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_get_last: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_get_last, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_get_last: "_ns, aError); return true; } - case 81: { // todolist:todolist_6791_TodoList_get_first + case 101: { // todolist:todolist_aa33_TodoList_get_first using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(todolist_6791_TodoList_get_first, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_get_first: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_get_first, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_get_first: "_ns, aError); return true; } - case 82: { // todolist:todolist_6791_TodoList_clear_item + case 102: { // todolist:todolist_aa33_TodoList_clear_item using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>, ScaffoldingConverter>; - CallHandler::CallSync(todolist_6791_TodoList_clear_item, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_clear_item: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_clear_item, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_clear_item: "_ns, aError); return true; } - case 83: { // todolist:todolist_6791_TodoList_make_default + case 103: { // todolist:todolist_aa33_TodoList_make_default using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(todolist_6791_TodoList_make_default, aGlobal, aArgs, aReturnValue, "todolist_6791_TodoList_make_default: "_ns, aError); + CallHandler::CallSync(todolist_aa33_TodoList_make_default, aGlobal, aArgs, aReturnValue, "todolist_aa33_TodoList_make_default: "_ns, aError); return true; } - case 84: { // todolist:todolist_6791_get_default_list + case 104: { // todolist:todolist_aa33_get_default_list using CallHandler = ScaffoldingCallHandler>; - CallHandler::CallSync(todolist_6791_get_default_list, aGlobal, aArgs, aReturnValue, "todolist_6791_get_default_list: "_ns, aError); + CallHandler::CallSync(todolist_aa33_get_default_list, aGlobal, aArgs, aReturnValue, "todolist_aa33_get_default_list: "_ns, aError); return true; } - case 85: { // todolist:todolist_6791_set_default_list + case 105: { // todolist:todolist_aa33_set_default_list using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTodolistTodoListPointerType>>; - CallHandler::CallSync(todolist_6791_set_default_list, aGlobal, aArgs, aReturnValue, "todolist_6791_set_default_list: "_ns, aError); + CallHandler::CallSync(todolist_aa33_set_default_list, aGlobal, aArgs, aReturnValue, "todolist_aa33_set_default_list: "_ns, aError); return true; } - case 86: { // todolist:todolist_6791_create_entry_with + case 106: { // todolist:todolist_aa33_create_entry_with using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(todolist_6791_create_entry_with, aGlobal, aArgs, aReturnValue, "todolist_6791_create_entry_with: "_ns, aError); + CallHandler::CallSync(todolist_aa33_create_entry_with, aGlobal, aArgs, aReturnValue, "todolist_aa33_create_entry_with: "_ns, aError); return true; } - case 87: { // customtypes:customtypes_6e0d_get_custom_types_demo + case 107: { // customtypes:customtypes_fb46_get_custom_types_demo using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; - CallHandler::CallSync(customtypes_6e0d_get_custom_types_demo, aGlobal, aArgs, aReturnValue, "customtypes_6e0d_get_custom_types_demo: "_ns, aError); + CallHandler::CallSync(customtypes_fb46_get_custom_types_demo, aGlobal, aArgs, aReturnValue, "customtypes_fb46_get_custom_types_demo: "_ns, aError); return true; } } @@ -943,23 +943,23 @@ 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 0: { // rondpoint:Retourneur + case 2: { // rondpoint:Retourneur type = &kRondpointRetourneurPointerType; break; } - case 1: { // rondpoint:Stringifier + case 3: { // rondpoint:Stringifier type = &kRondpointStringifierPointerType; break; } - case 2: { // rondpoint:Optionneur + case 4: { // rondpoint:Optionneur type = &kRondpointOptionneurPointerType; break; } - case 3: { // sprites:Sprite + case 5: { // sprites:Sprite type = &kSpritesSpritePointerType; break; } - case 4: { // todolist:TodoList + case 6: { // todolist:TodoList type = &kTodolistTodoListPointerType; break; } @@ -972,23 +972,23 @@ 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 0: { // rondpoint:Retourneur + case 2: { // rondpoint:Retourneur type = &kRondpointRetourneurPointerType; break; } - case 1: { // rondpoint:Stringifier + case 3: { // rondpoint:Stringifier type = &kRondpointStringifierPointerType; break; } - case 2: { // rondpoint:Optionneur + case 4: { // rondpoint:Optionneur type = &kRondpointOptionneurPointerType; break; } - case 3: { // sprites:Sprite + case 5: { // sprites:Sprite type = &kSpritesSpritePointerType; break; } - case 4: { // todolist:TodoList + case 6: { // todolist:TodoList type = &kTodolistTodoListPointerType; break; } diff --git a/toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp b/toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp index ccbaef273345c..dfdd29f334992 100644 --- a/toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp +++ b/toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp @@ -19,28 +19,265 @@ using dom::UniFFIScaffoldingCallResult; // Define scaffolding functions from UniFFI extern "C" { + void ffi_tabs_4d51_TabsStore_object_free(void *, RustCallStatus*); + void * tabs_4d51_TabsStore_new(RustBuffer, RustCallStatus*); + RustBuffer tabs_4d51_TabsStore_get_all(void *, RustCallStatus*); + void tabs_4d51_TabsStore_set_local_tabs(void *, RustBuffer, RustCallStatus*); + void tabs_4d51_TabsStore_register_with_sync_manager(void *, RustCallStatus*); + void tabs_4d51_TabsStore_reset(void *, RustCallStatus*); + RustBuffer tabs_4d51_TabsStore_sync(void *, RustBuffer, RustBuffer, RustBuffer, RustBuffer, RustBuffer, RustCallStatus*); + void * tabs_4d51_TabsStore_bridged_engine(void *, RustCallStatus*); + void ffi_tabs_4d51_TabsBridgedEngine_object_free(void *, RustCallStatus*); + int64_t tabs_4d51_TabsBridgedEngine_last_sync(void *, RustCallStatus*); + void tabs_4d51_TabsBridgedEngine_set_last_sync(void *, int64_t, RustCallStatus*); + RustBuffer tabs_4d51_TabsBridgedEngine_sync_id(void *, RustCallStatus*); + RustBuffer tabs_4d51_TabsBridgedEngine_reset_sync_id(void *, RustCallStatus*); + RustBuffer tabs_4d51_TabsBridgedEngine_ensure_current_sync_id(void *, RustBuffer, RustCallStatus*); + void tabs_4d51_TabsBridgedEngine_prepare_for_sync(void *, RustBuffer, RustCallStatus*); + void tabs_4d51_TabsBridgedEngine_sync_started(void *, RustCallStatus*); + void tabs_4d51_TabsBridgedEngine_store_incoming(void *, RustBuffer, RustCallStatus*); + RustBuffer tabs_4d51_TabsBridgedEngine_apply(void *, RustCallStatus*); + void tabs_4d51_TabsBridgedEngine_set_uploaded(void *, int64_t, RustBuffer, RustCallStatus*); + void tabs_4d51_TabsBridgedEngine_sync_finished(void *, RustCallStatus*); + void tabs_4d51_TabsBridgedEngine_reset(void *, RustCallStatus*); + void tabs_4d51_TabsBridgedEngine_wipe(void *, RustCallStatus*); } // Define pointer types +const static mozilla::uniffi::UniFFIPointerType kTabsTabsStorePointerType { + "tabs::TabsStore"_ns, + ffi_tabs_4d51_TabsStore_object_free +}; +const static mozilla::uniffi::UniFFIPointerType kTabsTabsBridgedEnginePointerType { + "tabs::TabsBridgedEngine"_ns, + ffi_tabs_4d51_TabsBridgedEngine_object_free +}; Maybe> UniFFICallAsync(const GlobalObject& aGlobal, uint64_t aId, const Sequence& aArgs, ErrorResult& aError) { switch (aId) { + case 0: { // tabs:tabs_4d51_TabsStore_new + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_new, aGlobal, aArgs, "tabs_4d51_TabsStore_new: "_ns, aError)); + } + case 1: { // tabs:tabs_4d51_TabsStore_get_all + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_get_all, aGlobal, aArgs, "tabs_4d51_TabsStore_get_all: "_ns, aError)); + } + case 2: { // tabs:tabs_4d51_TabsStore_set_local_tabs + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_set_local_tabs, aGlobal, aArgs, "tabs_4d51_TabsStore_set_local_tabs: "_ns, aError)); + } + case 3: { // tabs:tabs_4d51_TabsStore_register_with_sync_manager + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_register_with_sync_manager, aGlobal, aArgs, "tabs_4d51_TabsStore_register_with_sync_manager: "_ns, aError)); + } + case 4: { // tabs:tabs_4d51_TabsStore_reset + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_reset, aGlobal, aArgs, "tabs_4d51_TabsStore_reset: "_ns, aError)); + } + case 5: { // tabs:tabs_4d51_TabsStore_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter, ScaffoldingConverter, ScaffoldingConverter, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_sync, aGlobal, aArgs, "tabs_4d51_TabsStore_sync: "_ns, aError)); + } + case 6: { // tabs:tabs_4d51_TabsStore_bridged_engine + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsStore_bridged_engine, aGlobal, aArgs, "tabs_4d51_TabsStore_bridged_engine: "_ns, aError)); + } + case 7: { // tabs:tabs_4d51_TabsBridgedEngine_last_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_last_sync, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_last_sync: "_ns, aError)); + } + case 8: { // tabs:tabs_4d51_TabsBridgedEngine_set_last_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_set_last_sync, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_set_last_sync: "_ns, aError)); + } + case 9: { // tabs:tabs_4d51_TabsBridgedEngine_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_sync_id, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_sync_id: "_ns, aError)); + } + case 10: { // tabs:tabs_4d51_TabsBridgedEngine_reset_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_reset_sync_id, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_reset_sync_id: "_ns, aError)); + } + case 11: { // tabs:tabs_4d51_TabsBridgedEngine_ensure_current_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_ensure_current_sync_id, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_ensure_current_sync_id: "_ns, aError)); + } + case 12: { // tabs:tabs_4d51_TabsBridgedEngine_prepare_for_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_prepare_for_sync, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_prepare_for_sync: "_ns, aError)); + } + case 13: { // tabs:tabs_4d51_TabsBridgedEngine_sync_started + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_sync_started, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_sync_started: "_ns, aError)); + } + case 14: { // tabs:tabs_4d51_TabsBridgedEngine_store_incoming + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_store_incoming, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_store_incoming: "_ns, aError)); + } + case 15: { // tabs:tabs_4d51_TabsBridgedEngine_apply + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_apply, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_apply: "_ns, aError)); + } + case 16: { // tabs:tabs_4d51_TabsBridgedEngine_set_uploaded + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter, ScaffoldingConverter>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_set_uploaded, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_set_uploaded: "_ns, aError)); + } + case 17: { // tabs:tabs_4d51_TabsBridgedEngine_sync_finished + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_sync_finished, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_sync_finished: "_ns, aError)); + } + case 18: { // tabs:tabs_4d51_TabsBridgedEngine_reset + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_reset, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_reset: "_ns, aError)); + } + case 19: { // tabs:tabs_4d51_TabsBridgedEngine_wipe + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + return Some(CallHandler::CallAsync(tabs_4d51_TabsBridgedEngine_wipe, aGlobal, aArgs, "tabs_4d51_TabsBridgedEngine_wipe: "_ns, aError)); + } } return Nothing(); } bool UniFFICallSync(const GlobalObject& aGlobal, uint64_t aId, const Sequence& aArgs, RootedDictionary& aReturnValue, ErrorResult& aError) { switch (aId) { + case 0: { // tabs:tabs_4d51_TabsStore_new + using CallHandler = ScaffoldingCallHandler, ScaffoldingConverter>; + CallHandler::CallSync(tabs_4d51_TabsStore_new, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_new: "_ns, aError); + return true; + } + case 1: { // tabs:tabs_4d51_TabsStore_get_all + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsStore_get_all, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_get_all: "_ns, aError); + return true; + } + case 2: { // tabs:tabs_4d51_TabsStore_set_local_tabs + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(tabs_4d51_TabsStore_set_local_tabs, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_set_local_tabs: "_ns, aError); + return true; + } + case 3: { // tabs:tabs_4d51_TabsStore_register_with_sync_manager + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsStore_register_with_sync_manager, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_register_with_sync_manager: "_ns, aError); + return true; + } + case 4: { // tabs:tabs_4d51_TabsStore_reset + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsStore_reset, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_reset: "_ns, aError); + return true; + } + case 5: { // tabs:tabs_4d51_TabsStore_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>, ScaffoldingConverter, ScaffoldingConverter, ScaffoldingConverter, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(tabs_4d51_TabsStore_sync, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_sync: "_ns, aError); + return true; + } + case 6: { // tabs:tabs_4d51_TabsStore_bridged_engine + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsStorePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsStore_bridged_engine, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsStore_bridged_engine: "_ns, aError); + return true; + } + case 7: { // tabs:tabs_4d51_TabsBridgedEngine_last_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_last_sync, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_last_sync: "_ns, aError); + return true; + } + case 8: { // tabs:tabs_4d51_TabsBridgedEngine_set_last_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_set_last_sync, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_set_last_sync: "_ns, aError); + return true; + } + case 9: { // tabs:tabs_4d51_TabsBridgedEngine_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_sync_id, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_sync_id: "_ns, aError); + return true; + } + case 10: { // tabs:tabs_4d51_TabsBridgedEngine_reset_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_reset_sync_id, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_reset_sync_id: "_ns, aError); + return true; + } + case 11: { // tabs:tabs_4d51_TabsBridgedEngine_ensure_current_sync_id + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_ensure_current_sync_id, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_ensure_current_sync_id: "_ns, aError); + return true; + } + case 12: { // tabs:tabs_4d51_TabsBridgedEngine_prepare_for_sync + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_prepare_for_sync, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_prepare_for_sync: "_ns, aError); + return true; + } + case 13: { // tabs:tabs_4d51_TabsBridgedEngine_sync_started + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_sync_started, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_sync_started: "_ns, aError); + return true; + } + case 14: { // tabs:tabs_4d51_TabsBridgedEngine_store_incoming + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_store_incoming, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_store_incoming: "_ns, aError); + return true; + } + case 15: { // tabs:tabs_4d51_TabsBridgedEngine_apply + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_apply, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_apply: "_ns, aError); + return true; + } + case 16: { // tabs:tabs_4d51_TabsBridgedEngine_set_uploaded + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>, ScaffoldingConverter, ScaffoldingConverter>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_set_uploaded, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_set_uploaded: "_ns, aError); + return true; + } + case 17: { // tabs:tabs_4d51_TabsBridgedEngine_sync_finished + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_sync_finished, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_sync_finished: "_ns, aError); + return true; + } + case 18: { // tabs:tabs_4d51_TabsBridgedEngine_reset + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_reset, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_reset: "_ns, aError); + return true; + } + case 19: { // tabs:tabs_4d51_TabsBridgedEngine_wipe + using CallHandler = ScaffoldingCallHandler, ScaffoldingObjectConverter<&kTabsTabsBridgedEnginePointerType>>; + CallHandler::CallSync(tabs_4d51_TabsBridgedEngine_wipe, aGlobal, aArgs, aReturnValue, "tabs_4d51_TabsBridgedEngine_wipe: "_ns, aError); + return true; + } } return false; } Maybe> UniFFIReadPointer(const GlobalObject& aGlobal, uint64_t aId, const ArrayBuffer& aArrayBuff, long aPosition, ErrorResult& aError) { - return Nothing(); + const UniFFIPointerType* type; + switch (aId) { + case 0: { // tabs:TabsStore + type = &kTabsTabsStorePointerType; + break; + } + case 1: { // tabs:TabsBridgedEngine + type = &kTabsTabsBridgedEnginePointerType; + break; + } + default: + return Nothing(); + } + return Some(UniFFIPointer::Read(aArrayBuff, aPosition, type, aError)); } bool UniFFIWritePointer(const GlobalObject& aGlobal, uint64_t aId, const UniFFIPointer& aPtr, const ArrayBuffer& aArrayBuff, long aPosition, ErrorResult& aError) { - return false; + const UniFFIPointerType* type; + switch (aId) { + case 0: { // tabs:TabsStore + type = &kTabsTabsStorePointerType; + break; + } + case 1: { // tabs:TabsBridgedEngine + type = &kTabsTabsBridgedEnginePointerType; + break; + } + default: + return false; + } + aPtr.Write(aArrayBuff, aPosition, type, aError); + return true; } } // namespace mozilla::uniffi