diff --git a/snapshots/master/demos/android/energy-monitor.apk b/snapshots/master/demos/android/energy-monitor.apk index a4bc80c85..5cb2b2f8a 100644 Binary files a/snapshots/master/demos/android/energy-monitor.apk and b/snapshots/master/demos/android/energy-monitor.apk differ diff --git a/snapshots/master/demos/android/todo_lib.apk b/snapshots/master/demos/android/todo_lib.apk index e0ce2d520..cf241328e 100644 Binary files a/snapshots/master/demos/android/todo_lib.apk and b/snapshots/master/demos/android/todo_lib.apk differ diff --git a/snapshots/master/demos/carousel/pkg/carousel.d.ts b/snapshots/master/demos/carousel/pkg/carousel.d.ts index a523478a3..b37ebb552 100644 --- a/snapshots/master/demos/carousel/pkg/carousel.d.ts +++ b/snapshots/master/demos/carousel/pkg/carousel.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/carousel/pkg/carousel.js b/snapshots/master/demos/carousel/pkg/carousel.js index 85b94849c..d68125fe7 100644 --- a/snapshots/master/demos/carousel/pkg/carousel.js +++ b/snapshots/master/demos/carousel/pkg/carousel.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1038,18 +1038,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1069,6 +1057,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); @@ -1135,6 +1135,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1286,10 +1295,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1297,29 +1302,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1344,15 +1353,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1385,15 +1385,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1420,14 +1420,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1436,6 +1428,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1444,10 +1444,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1470,6 +1466,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1623,63 +1623,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper1144 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1136 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 153, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1146 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1138 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 153, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1147 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1139 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 153, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1148 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1140 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 153, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1149 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1141 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 153, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4360 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4367 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5587 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5595 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5622 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5628 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5627 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5646 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5648 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5657 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5669 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5680 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5712 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5695 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5730 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5700 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5736 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5716 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5741 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5735 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm index 005d33f7a..f29061985 100644 Binary files a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm and b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm differ diff --git a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts index d5ff85243..72fadad9c 100644 --- a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts +++ b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts index f274a5772..c14f13046 100644 --- a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts +++ b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts @@ -17,11 +17,11 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3087ce34e714ce47: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980: (a: number, b: number, c: number, d: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h568d21b1fa0b0102: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js index 7e3f237f4..793db120d 100644 --- a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js +++ b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3087ce34e714ce47(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h568d21b1fa0b0102(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -236,20 +236,20 @@ function makeMutClosure(arg0, arg1, dtor, f) { CLOSURE_DTORS.register(real, state, state); return real; } -function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_37(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(arg0, arg1); } -function __wbg_adapter_44(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(arg0, arg1); +function __wbg_adapter_40(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_49(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_55(arg0, arg1, arg2, arg3) { + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function __wbg_adapter_58(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(arg0, arg1, addHeapObject(arg2)); } /** @@ -410,14 +410,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestFullscreen(); return addHeapObject(ret); }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbindgen_is_undefined = function(arg0) { const ret = getObject(arg0) === undefined; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { const ret = getObject(arg0).requestFullscreen; return addHeapObject(ret); @@ -1677,23 +1677,23 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7904 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper7903 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7906 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper7905 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7908 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper7907 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7910 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper7909 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7912 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper7911 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26); return addHeapObject(ret); }; @@ -1702,39 +1702,39 @@ function __wbg_get_imports() { return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper9363 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_37); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper9365 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper9367 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_44); + const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper9369 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9371 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_49); + imports.wbg.__wbindgen_closure_wrapper9372 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9373 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9378 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9376 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9380 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9384 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9382 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper9386 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10068 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4044, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper10066 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4046, __wbg_adapter_58); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm b/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm index 2d4dc6126..584225e21 100644 Binary files a/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm and b/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm differ diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm.d.ts b/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm.d.ts index 821ba1d28..3a7292e90 100644 --- a/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm.d.ts +++ b/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm.d.ts @@ -10,10 +10,10 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3087ce34e714ce47(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(a: number, b: number, c: number, d: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h568d21b1fa0b0102(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts b/snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts index 6b9901260..06cade83b 100644 --- a/snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts +++ b/snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/gallery/pkg/cosmic/gallery.js b/snapshots/master/demos/gallery/pkg/cosmic/gallery.js index 927af4b2e..22608274f 100644 --- a/snapshots/master/demos/gallery/pkg/cosmic/gallery.js +++ b/snapshots/master/demos/gallery/pkg/cosmic/gallery.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1058,18 +1058,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1089,6 +1077,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); @@ -1155,6 +1155,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1302,10 +1311,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1313,29 +1318,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1360,15 +1369,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1401,15 +1401,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1436,14 +1436,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1452,6 +1444,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1460,10 +1460,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1486,6 +1482,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1639,63 +1639,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper6883 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3288, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6878 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3287, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6885 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3288, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6880 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3287, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6886 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3288, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6881 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3287, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6887 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3288, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6882 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3287, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6888 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3288, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6883 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3287, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10106 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10111 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11333 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11339 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11368 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11372 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11373 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11390 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11394 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11401 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11415 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11424 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11458 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11439 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11476 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11444 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11482 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11460 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11487 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11479 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3523, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm index f296b85b5..e46ab9a40 100644 Binary files a/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm.d.ts b/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm.d.ts index 6d359ee37..0bdf18698 100644 --- a/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm.d.ts +++ b/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/gallery/pkg/cupertino/gallery.d.ts b/snapshots/master/demos/gallery/pkg/cupertino/gallery.d.ts index 6b9901260..06cade83b 100644 --- a/snapshots/master/demos/gallery/pkg/cupertino/gallery.d.ts +++ b/snapshots/master/demos/gallery/pkg/cupertino/gallery.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/gallery/pkg/cupertino/gallery.js b/snapshots/master/demos/gallery/pkg/cupertino/gallery.js index 6f0508a01..60e7f0466 100644 --- a/snapshots/master/demos/gallery/pkg/cupertino/gallery.js +++ b/snapshots/master/demos/gallery/pkg/cupertino/gallery.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1058,18 +1058,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1089,6 +1077,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); @@ -1155,6 +1155,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1302,10 +1311,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1313,29 +1318,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1360,15 +1369,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1401,15 +1401,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1436,14 +1436,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1452,6 +1444,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1460,10 +1460,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1486,6 +1482,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1639,63 +1639,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper6591 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3069, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6587 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3068, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6593 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3069, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6589 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3068, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6594 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3069, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6590 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3068, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6595 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3069, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6591 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3068, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6596 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3069, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6592 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3068, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9817 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9822 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11044 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11050 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11079 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11083 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11084 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11101 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11105 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11112 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11126 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11135 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11169 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11150 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11187 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11155 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11193 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11171 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11198 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11190 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3304, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm index 2f3c91b48..ae94364df 100644 Binary files a/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm.d.ts b/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm.d.ts index 6d359ee37..0bdf18698 100644 --- a/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm.d.ts +++ b/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery.d.ts b/snapshots/master/demos/gallery/pkg/fluent/gallery.d.ts index 6b9901260..06cade83b 100644 --- a/snapshots/master/demos/gallery/pkg/fluent/gallery.d.ts +++ b/snapshots/master/demos/gallery/pkg/fluent/gallery.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery.js b/snapshots/master/demos/gallery/pkg/fluent/gallery.js index ed3d3f189..af8126d9d 100644 --- a/snapshots/master/demos/gallery/pkg/fluent/gallery.js +++ b/snapshots/master/demos/gallery/pkg/fluent/gallery.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1058,18 +1058,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1089,6 +1077,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); @@ -1155,6 +1155,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1302,10 +1311,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1313,29 +1318,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1360,15 +1369,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1401,15 +1401,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1436,14 +1436,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1452,6 +1444,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1460,10 +1460,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1486,6 +1482,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1639,63 +1639,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper5703 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2606, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5699 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2605, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5705 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2606, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5701 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2605, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5706 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2606, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5702 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2605, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5707 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2606, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5703 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2605, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5708 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2606, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5704 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2605, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper8926 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper8931 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10153 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10159 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10188 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10192 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10193 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10210 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10214 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10221 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10235 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10244 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10278 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10259 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10296 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10264 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10302 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10280 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10307 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10299 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2841, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm index e20554bda..036765de2 100644 Binary files a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm.d.ts b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm.d.ts index 6d359ee37..0bdf18698 100644 --- a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm.d.ts +++ b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/gallery/pkg/material/gallery.d.ts b/snapshots/master/demos/gallery/pkg/material/gallery.d.ts index 6b9901260..06cade83b 100644 --- a/snapshots/master/demos/gallery/pkg/material/gallery.d.ts +++ b/snapshots/master/demos/gallery/pkg/material/gallery.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/gallery/pkg/material/gallery.js b/snapshots/master/demos/gallery/pkg/material/gallery.js index efd15f150..4659c8606 100644 --- a/snapshots/master/demos/gallery/pkg/material/gallery.js +++ b/snapshots/master/demos/gallery/pkg/material/gallery.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1058,18 +1058,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1089,6 +1077,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); @@ -1155,6 +1155,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1302,10 +1311,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1313,29 +1318,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1360,15 +1369,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1401,15 +1401,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1436,14 +1436,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1452,6 +1444,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1460,10 +1460,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1486,6 +1482,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1639,63 +1639,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper5153 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2440, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5151 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2439, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5155 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2440, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5153 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2439, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5156 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2440, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5154 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2439, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5157 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2440, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5155 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2439, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5158 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2440, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5156 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2439, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper8383 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper8390 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9610 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9618 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9645 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9651 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9650 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9669 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9671 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9680 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9692 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9703 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9735 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9718 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9753 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9723 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9759 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9739 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9764 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9758 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm index 65796a8e2..e98202453 100644 Binary files a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm.d.ts b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm.d.ts index 6d359ee37..0bdf18698 100644 --- a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm.d.ts +++ b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0610d8dab4a322ee(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10db29113de9a512(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter.d.ts b/snapshots/master/demos/imagefilter/pkg/imagefilter.d.ts index cd384e7de..d7c4be897 100644 --- a/snapshots/master/demos/imagefilter/pkg/imagefilter.d.ts +++ b/snapshots/master/demos/imagefilter/pkg/imagefilter.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter.js b/snapshots/master/demos/imagefilter/pkg/imagefilter.js index e38fab7a7..ab8f14b98 100644 --- a/snapshots/master/demos/imagefilter/pkg/imagefilter.js +++ b/snapshots/master/demos/imagefilter/pkg/imagefilter.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1038,18 +1038,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1069,6 +1057,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); @@ -1135,6 +1135,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1286,10 +1295,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1297,29 +1302,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1344,15 +1353,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1385,15 +1385,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1420,14 +1420,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1436,6 +1428,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1444,10 +1444,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1470,6 +1466,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1623,63 +1623,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper1283 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1273 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1285 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1275 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1286 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1276 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1287 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1277 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1288 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1278 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4644 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4652 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5871 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5880 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5906 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5913 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5911 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5931 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5932 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5942 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5953 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5965 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5996 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5980 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6014 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5985 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6020 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6001 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6025 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6020 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 533, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm index 7a0d100be..52043e129 100644 Binary files a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm and b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm differ diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm.d.ts b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm.d.ts index b2adcd116..831d276ec 100644 --- a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm.d.ts +++ b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function main(): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/memory/pkg/memory.d.ts b/snapshots/master/demos/memory/pkg/memory.d.ts index cd384e7de..d7c4be897 100644 --- a/snapshots/master/demos/memory/pkg/memory.d.ts +++ b/snapshots/master/demos/memory/pkg/memory.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/memory/pkg/memory.js b/snapshots/master/demos/memory/pkg/memory.js index 0e898abbd..f90bbcdf1 100644 --- a/snapshots/master/demos/memory/pkg/memory.js +++ b/snapshots/master/demos/memory/pkg/memory.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_30(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_41(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_44(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_61(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1078,18 +1078,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1109,6 +1097,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbg_call_89af060b4e1523f2 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1192,6 +1192,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1343,10 +1352,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1354,29 +1359,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1401,15 +1410,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1442,15 +1442,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1477,14 +1477,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1493,6 +1485,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1501,10 +1501,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1527,6 +1523,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1680,63 +1680,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper1020 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1013 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 119, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1022 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1015 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 119, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1023 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1016 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 119, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1024 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1017 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 119, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1025 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1018 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 119, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4346 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4353 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5573 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5581 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_44); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5608 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5614 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5613 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5632 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5634 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5643 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5655 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5666 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5698 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5681 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5716 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5686 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5722 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5702 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5727 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5721 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 363, __wbg_adapter_61); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/memory/pkg/memory_bg.wasm b/snapshots/master/demos/memory/pkg/memory_bg.wasm index 6f03ab603..b9c45e2a3 100644 Binary files a/snapshots/master/demos/memory/pkg/memory_bg.wasm and b/snapshots/master/demos/memory/pkg/memory_bg.wasm differ diff --git a/snapshots/master/demos/memory/pkg/memory_bg.wasm.d.ts b/snapshots/master/demos/memory/pkg/memory_bg.wasm.d.ts index b2adcd116..831d276ec 100644 --- a/snapshots/master/demos/memory/pkg/memory_bg.wasm.d.ts +++ b/snapshots/master/demos/memory/pkg/memory_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function main(): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.d.ts b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.d.ts index cd384e7de..d7c4be897 100644 --- a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.d.ts +++ b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.js b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.js index bade70209..01b741278 100644 --- a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.js +++ b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1166,6 +1166,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1321,10 +1330,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1332,29 +1337,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1379,15 +1388,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1420,15 +1420,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1455,14 +1455,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1471,6 +1463,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1479,10 +1479,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1505,6 +1501,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1658,63 +1658,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper1135 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1129 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 176, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1137 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1131 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 176, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1138 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1132 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 176, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1139 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1133 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 176, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1140 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1134 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 176, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4458 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4463 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5685 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5691 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5720 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5724 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5725 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5742 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5746 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5753 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5767 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5776 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5810 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5791 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5828 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5796 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5834 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5812 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5839 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5831 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm index bc9e7d161..8fd161643 100644 Binary files a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm and b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm differ diff --git a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm.d.ts b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm.d.ts index b2adcd116..831d276ec 100644 --- a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm.d.ts +++ b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function main(): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/plotter/pkg/plotter.d.ts b/snapshots/master/demos/plotter/pkg/plotter.d.ts index cd384e7de..d7c4be897 100644 --- a/snapshots/master/demos/plotter/pkg/plotter.d.ts +++ b/snapshots/master/demos/plotter/pkg/plotter.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/plotter/pkg/plotter.js b/snapshots/master/demos/plotter/pkg/plotter.js index dae9d4b50..31adc5b5f 100644 --- a/snapshots/master/demos/plotter/pkg/plotter.js +++ b/snapshots/master/demos/plotter/pkg/plotter.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1037,18 +1037,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1068,6 +1056,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); @@ -1134,6 +1134,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1285,10 +1294,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1296,29 +1301,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1343,15 +1352,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1384,15 +1384,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1419,14 +1419,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1435,6 +1427,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1443,10 +1443,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1469,6 +1465,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1622,63 +1622,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper989 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper982 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper991 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper984 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper992 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper985 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper993 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper986 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper994 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper987 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3544 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper3550 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4772 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4779 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4807 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4812 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4812 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4830 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4833 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4841 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4854 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4864 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4897 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4879 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4915 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4884 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4921 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4900 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4926 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4919 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 320, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm index d9a3e891b..3e991a50a 100644 Binary files a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm and b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm differ diff --git a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm.d.ts b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm.d.ts index b2adcd116..831d276ec 100644 --- a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm.d.ts +++ b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function main(): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.d.ts b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.d.ts index 9f3c85eb9..51365b239 100644 --- a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.d.ts +++ b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.d.ts @@ -17,11 +17,11 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8272e54ac9cf92c4: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980: (a: number, b: number, c: number, d: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c0394d0da548e3b: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.js b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.js index 2de47aba1..f4da931f4 100644 --- a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.js +++ b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8272e54ac9cf92c4(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c0394d0da548e3b(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -236,20 +236,20 @@ function makeMutClosure(arg0, arg1, dtor, f) { CLOSURE_DTORS.register(real, state, state); return real; } -function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_37(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(arg0, arg1); } -function __wbg_adapter_44(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(arg0, arg1); +function __wbg_adapter_40(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_49(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_55(arg0, arg1, arg2, arg3) { + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function __wbg_adapter_58(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(arg0, arg1, addHeapObject(arg2)); } /** @@ -410,14 +410,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestFullscreen(); return addHeapObject(ret); }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbindgen_is_undefined = function(arg0) { const ret = getObject(arg0) === undefined; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { const ret = getObject(arg0).requestFullscreen; return addHeapObject(ret); @@ -1681,44 +1681,44 @@ function __wbg_get_imports() { const ret = makeClosure(arg0, arg1, 2121, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6049 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6050 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6051 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6052 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6053 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6056 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6055 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper6058 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6057 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6061 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6059 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_49); + imports.wbg.__wbindgen_closure_wrapper6067 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6061 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6069 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6064 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6071 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6072 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6075 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2610, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6756 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2654, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper6755 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2656, __wbg_adapter_58); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm index f080cd98f..23c30102b 100644 Binary files a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm and b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm differ diff --git a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm.d.ts b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm.d.ts index 9eb240159..61e9e1a9e 100644 --- a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm.d.ts +++ b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm.d.ts @@ -10,10 +10,10 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8272e54ac9cf92c4(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(a: number, b: number, c: number, d: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c0394d0da548e3b(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.d.ts b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.d.ts index cd384e7de..d7c4be897 100644 --- a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.d.ts +++ b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.js b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.js index c0342fff6..624c65a9f 100644 --- a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.js +++ b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(arg0, arg1); } function __wbg_adapter_57(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1037,18 +1037,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1068,6 +1056,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); @@ -1134,6 +1134,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1285,10 +1294,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1296,29 +1301,33 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; return ret; }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = getObject(arg0).isIntersecting; + return ret; + }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - return ret; - }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1343,15 +1352,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1384,15 +1384,15 @@ function __wbg_get_imports() { imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { getObject(arg0).close(); }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { getObject(arg0).disconnect(); }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { getObject(arg0).disconnect(); }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { + queueMicrotask(takeObject(arg0)); + }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); @@ -1419,14 +1419,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1435,6 +1427,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; @@ -1443,10 +1443,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1469,6 +1465,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1622,63 +1622,63 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper1935 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1925 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 645, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1937 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1927 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 645, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1938 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1928 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 645, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1939 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1929 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 645, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1940 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1930 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 645, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5359 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5365 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6586 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6593 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6621 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6626 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6626 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6644 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6647 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6655 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6668 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6678 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6711 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6693 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6729 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6698 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6735 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6714 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6740 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6733 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_57); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm index 838315e15..e6316de0b 100644 Binary files a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm and b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm differ diff --git a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm.d.ts b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm.d.ts index b2adcd116..831d276ec 100644 --- a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm.d.ts +++ b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function main(): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ae013f90f3d28e0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1654d868f2e44dd6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d61d97d4bdaf698(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58205926949bd514(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16b33447941c09ba(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.d.ts b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.d.ts index c4928f29a..1101b8ed0 100644 --- a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.d.ts +++ b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.d.ts @@ -17,10 +17,10 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h317033bbdf194817: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f15d35de115d253: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6dc35c6612a10d78: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2055ca8d5cc9755b: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20088f43b3a97931: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h27baf0766b5bc15f: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdcb311b8da116f2c: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50654bf29fa333bb: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.js b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.js index 846e20fc9..badcf14b7 100644 --- a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.js +++ b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_30(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h317033bbdf194817(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20088f43b3a97931(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_41(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f15d35de115d253(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h27baf0766b5bc15f(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_44(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6dc35c6612a10d78(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdcb311b8da116f2c(arg0, arg1); } function __wbg_adapter_61(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2055ca8d5cc9755b(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50654bf29fa333bb(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1078,18 +1078,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; - imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; - imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); - }; imports.wbg.__wbg_texSubImage2D_064e1b60f43bdb29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; @@ -1109,6 +1097,18 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { + getObject(arg0).deleteVertexArray(getObject(arg1)); + }; + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; + imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { + getObject(arg0).deleteBuffer(getObject(arg1)); + }; imports.wbg.__wbg_call_89af060b4e1523f2 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1192,6 +1192,15 @@ function __wbg_get_imports() { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = takeObject(arg0).original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); @@ -1343,6 +1352,14 @@ function __wbg_get_imports() { imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); }, arguments) }; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = getObject(arg0).pointerId; + return ret; + }; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = getObject(arg0).buttons; + return ret; + }; imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1350,30 +1367,25 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; - return ret; - }; imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; - imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { - const ret = getObject(arg0).matches; - return ret; - }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; - return ret; - }; imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { const ret = getObject(arg0).isIntersecting; return ret; }; + imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1398,18 +1410,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); - }, arguments) }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); return addHeapObject(ret); @@ -1477,14 +1477,14 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); - }; imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { const ret = getObject(arg0).getCoalescedEvents; return addHeapObject(ret); }; + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = getObject(arg0).requestFullscreen; + return addHeapObject(ret); + }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1497,6 +1497,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1511,14 +1515,6 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; - imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { - const ret = getObject(arg0).Window; - return addHeapObject(ret); - }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1527,6 +1523,10 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; @@ -1680,11 +1680,7 @@ function __wbg_get_imports() { const ret = getObject(arg0).visibilityState; return {"hidden":0,"visible":1,}[ret] ?? 2; }; - imports.wbg.__wbindgen_closure_wrapper1380 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 293, __wbg_adapter_30); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper1382 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1381 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 293, __wbg_adapter_30); return addHeapObject(ret); }; @@ -1700,43 +1696,47 @@ function __wbg_get_imports() { const ret = makeClosure(arg0, arg1, 293, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4790 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1386 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 293, __wbg_adapter_30); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper4795 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6028 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6032 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_44); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6061 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6067 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6076 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6078 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6085 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6083 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6095 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6097 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6110 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6136 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6116 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6145 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6140 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6150 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6145 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6186 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_61); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm index 43871c38b..13959a329 100644 Binary files a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm and b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm differ diff --git a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm.d.ts b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm.d.ts index f7ecc70a1..1a820978b 100644 --- a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm.d.ts +++ b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm.d.ts @@ -10,9 +10,9 @@ export function main(): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h317033bbdf194817(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f15d35de115d253(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6dc35c6612a10d78(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2055ca8d5cc9755b(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20088f43b3a97931(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h27baf0766b5bc15f(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdcb311b8da116f2c(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50654bf29fa333bb(a: number, b: number, c: number, d: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc.d.ts b/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc.d.ts index 920fd1d45..b9333ff81 100644 --- a/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc.d.ts +++ b/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc.d.ts @@ -17,11 +17,11 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ac004b58ef7152b: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980: (a: number, b: number, c: number, d: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1ff24f0e1d6675b7: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc.js b/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc.js index 74a654f9a..ac9cdd4eb 100644 --- a/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc.js +++ b/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ac004b58ef7152b(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1ff24f0e1d6675b7(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -236,20 +236,20 @@ function makeMutClosure(arg0, arg1, dtor, f) { CLOSURE_DTORS.register(real, state, state); return real; } -function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_37(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(arg0, arg1); } -function __wbg_adapter_44(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(arg0, arg1); +function __wbg_adapter_40(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_49(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_55(arg0, arg1, arg2, arg3) { + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function __wbg_adapter_58(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(arg0, arg1, addHeapObject(arg2)); } /** @@ -410,14 +410,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestFullscreen(); return addHeapObject(ret); }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbindgen_is_undefined = function(arg0) { const ret = getObject(arg0) === undefined; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { const ret = getObject(arg0).requestFullscreen; return addHeapObject(ret); @@ -1677,64 +1677,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5198 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5199 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 2232, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5200 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5201 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 2232, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5202 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5203 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 2232, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5204 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5205 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 2232, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5206 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5207 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 2232, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6655 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_37); - return addHeapObject(ret); - }; imports.wbg.__wbindgen_closure_wrapper6657 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6659 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_37); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper6661 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_44); + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6663 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6665 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_49); + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6667 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6668 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6670 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6674 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_40); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper6676 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6678 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2720, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_40); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper6682 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2719, __wbg_adapter_55); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper7362 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2764, __wbg_adapter_58); + const ret = makeMutClosure(arg0, arg1, 2765, __wbg_adapter_58); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm b/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm index 4e1cfbc56..02cd016c5 100644 Binary files a/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm and b/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm differ diff --git a/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm.d.ts b/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm.d.ts index ffdab2c0a..44a130668 100644 --- a/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm.d.ts +++ b/snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm.d.ts @@ -10,10 +10,10 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ac004b58ef7152b(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(a: number, b: number, c: number, d: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1ff24f0e1d6675b7(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/todo/pkg/todo_lib.d.ts b/snapshots/master/demos/todo/pkg/todo_lib.d.ts index aa7008a5c..e908cc862 100644 --- a/snapshots/master/demos/todo/pkg/todo_lib.d.ts +++ b/snapshots/master/demos/todo/pkg/todo_lib.d.ts @@ -17,11 +17,11 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha2e5cca879dcdf47: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980: (a: number, b: number, c: number, d: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h105135f19608916f: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/todo/pkg/todo_lib.js b/snapshots/master/demos/todo/pkg/todo_lib.js index be1dd563c..325c3f8dd 100644 --- a/snapshots/master/demos/todo/pkg/todo_lib.js +++ b/snapshots/master/demos/todo/pkg/todo_lib.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha2e5cca879dcdf47(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h105135f19608916f(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -236,20 +236,20 @@ function makeMutClosure(arg0, arg1, dtor, f) { CLOSURE_DTORS.register(real, state, state); return real; } -function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_37(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(arg0, arg1); } -function __wbg_adapter_44(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(arg0, arg1); +function __wbg_adapter_40(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_49(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_55(arg0, arg1, arg2, arg3) { + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function __wbg_adapter_58(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(arg0, arg1, addHeapObject(arg2)); } /** @@ -410,14 +410,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestFullscreen(); return addHeapObject(ret); }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbindgen_is_undefined = function(arg0) { const ret = getObject(arg0) === undefined; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { const ret = getObject(arg0).requestFullscreen; return addHeapObject(ret); @@ -1661,64 +1661,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2427 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper2428 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 957, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2429 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper2430 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 957, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2431 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper2432 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 957, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2433 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper2434 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 957, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2435 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper2436 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 957, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3882 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_37); - return addHeapObject(ret); - }; imports.wbg.__wbindgen_closure_wrapper3884 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper3886 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_37); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper3888 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_44); + const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper3890 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper3892 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_49); + const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3894 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3895 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3897 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3901 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_40); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper3903 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper3905 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_40); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper3909 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1446, __wbg_adapter_55); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper4589 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1490, __wbg_adapter_58); + const ret = makeMutClosure(arg0, arg1, 1492, __wbg_adapter_58); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm b/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm index 3b561dab1..fa3cf7f39 100644 Binary files a/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm and b/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm differ diff --git a/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm.d.ts b/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm.d.ts index df8342efe..9af12a7b0 100644 --- a/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm.d.ts +++ b/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm.d.ts @@ -10,10 +10,10 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha2e5cca879dcdf47(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(a: number, b: number, c: number, d: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h105135f19608916f(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo.d.ts b/snapshots/master/demos/weather-demo/pkg/weather_demo.d.ts index 0f2035263..b641b3d81 100644 --- a/snapshots/master/demos/weather-demo/pkg/weather_demo.d.ts +++ b/snapshots/master/demos/weather-demo/pkg/weather_demo.d.ts @@ -17,11 +17,11 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h291377b4b7cb6ded: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980: (a: number, b: number, c: number, d: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h82456238d11524e1: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; } diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo.js b/snapshots/master/demos/weather-demo/pkg/weather_demo.js index c08228729..f83a8182c 100644 --- a/snapshots/master/demos/weather-demo/pkg/weather_demo.js +++ b/snapshots/master/demos/weather-demo/pkg/weather_demo.js @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h291377b4b7cb6ded(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h82456238d11524e1(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -236,20 +236,20 @@ function makeMutClosure(arg0, arg1, dtor, f) { CLOSURE_DTORS.register(real, state, state); return real; } -function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_37(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(arg0, arg1); } -function __wbg_adapter_44(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(arg0, arg1); +function __wbg_adapter_40(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_49(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_55(arg0, arg1, arg2, arg3) { + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function __wbg_adapter_58(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(arg0, arg1, addHeapObject(arg2)); } /** @@ -410,14 +410,14 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestFullscreen(); return addHeapObject(ret); }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbindgen_is_undefined = function(arg0) { const ret = getObject(arg0) === undefined; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { const ret = getObject(arg0).requestFullscreen; return addHeapObject(ret); @@ -1692,64 +1692,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4892 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1972, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4891 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1971, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4894 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1972, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4893 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1971, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4896 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1972, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4895 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1971, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4898 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1972, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4897 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1971, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4900 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1972, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4899 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1971, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6353 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6352 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6355 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6354 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6357 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6358 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6359 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper6360 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6361 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6363 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6363 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_49); + imports.wbg.__wbindgen_closure_wrapper6369 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6365 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6371 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6368 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6373 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6376 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6377 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2459, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7060 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2503, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper7057 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2504, __wbg_adapter_58); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm b/snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm index 5b6ac26db..1b09ad0bf 100644 Binary files a/snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm and b/snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm differ diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm.d.ts b/snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm.d.ts index 2415150c6..96e9523a3 100644 --- a/snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm.d.ts +++ b/snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm.d.ts @@ -10,10 +10,10 @@ export function send_keyboard_string_sequence(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h291377b4b7cb6ded(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980(a: number, b: number, c: number, d: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h82456238d11524e1(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf1ea82bd144295e6(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06c19739f9ead6a0(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12cc0d41556f8c23(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77541fe9d334337b(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void; diff --git a/snapshots/master/docs/cpp/api/library_root.html b/snapshots/master/docs/cpp/api/library_root.html index 534807ab0..63faa10a3 100644 --- a/snapshots/master/docs/cpp/api/library_root.html +++ b/snapshots/master/docs/cpp/api/library_root.html @@ -423,7 +423,7 @@
Creates a new ArrayModel.
-Returns the number of entries in the array model.
-Protected
notifyProtected
notifyNotifies the view that multiple rows are added to the model.
+Returns the number of entries in the array model.
+Protected
notifyProtected
notifyProtected
notifyProtected
notifyProtected
notifyProtected
notifyRemoves the last element from the array and returns it.
+Pushes new values to the array that's backing the model and notifies +
Pushes new values to the array that's backing the model and notifies the run-time about the added rows.
Rest
...values: T[]list of values that will be pushed to the array.
-Returns the data at the specified row.
+Stores the given data on the given row index and notifies run-time about the changed row.
+Stores the given data on the given row index and notifies run-time about the changed row.
index in range 0..(rowCount() - 1).
new data item to store on the given row index
-
ArrayModel wraps a JavaScript array for use in
-.slint
views. The underlying array can be modified with the [[ArrayModel.push]] and [[ArrayModel.remove]] methods.