diff --git a/snapshots/master/demos/android/energy-monitor.apk b/snapshots/master/demos/android/energy-monitor.apk index ad023bd33..be8ce821e 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 b8d955ad9..5d3d02cb0 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 a62449213..8cd1edaab 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__h2d1cbcc738a8e712: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h101b1ba5dc049605: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 f79c3a87b..4755234e2 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__h2d1cbcc738a8e712(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h101b1ba5dc049605(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1286,6 +1286,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1310,40 +1341,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1353,6 +1353,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1367,6 +1371,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1375,14 +1383,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1556,6 +1556,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1564,10 +1568,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1623,64 +1623,64 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper1128 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1134 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1130 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1136 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1131 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1137 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1132 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1138 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1133 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1139 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4338 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4337 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5554 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5553 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5587 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_43); + imports.wbg.__wbindgen_closure_wrapper5586 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5596 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5592 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5605 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5598 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5611 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5613 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5637 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5636 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5646 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5641 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5693 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5651 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5706 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper5665 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 388, __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 ea7b27184..ffab57b99 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 c7cf8d608..e31fd6c05 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__h2d1cbcc738a8e712(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h101b1ba5dc049605(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 2c70f299d..c919df9a6 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__h4a403c73a42f6c62: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b: (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__h8eef9b8832347905: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h31830c12b4281a46: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed: (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__hfed05b037b6d37a4: (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 0251fcee7..a04cbce96 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__h4a403c73a42f6c62(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h31830c12b4281a46(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,19 +237,19 @@ 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__h3b3b4a0a2d68029f(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(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__h63b29cdc568f7d0e(arg0, arg1); +function __wbg_adapter_40(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(arg0, arg1); } -function __wbg_adapter_51(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__hb66c83361514d8ed(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__h8eef9b8832347905(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfed05b037b6d37a4(arg0, arg1, addHeapObject(arg2)); } /** @@ -368,18 +368,6 @@ function __wbg_get_imports() { const ret = false; return ret; }; - imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { - const ret = getObject(arg0).offsetX; - return ret; - }; - imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { - const ret = getObject(arg0).offsetY; - return ret; - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { const ret = getObject(arg0).Window; return addHeapObject(ret); @@ -392,6 +380,18 @@ function __wbg_get_imports() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); }; + imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { + const ret = getObject(arg0).offsetX; + return ret; + }; + imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { + const ret = getObject(arg0).offsetY; + return ret; + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_scheduler_7ccf2d3b362018c4 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1677,64 +1677,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7698 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3536, __wbg_adapter_26); - return addHeapObject(ret); - }; imports.wbg.__wbindgen_closure_wrapper7700 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3536, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3537, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper7702 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3536, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3537, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper7704 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3536, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3537, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper7706 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3536, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3537, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9217 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper7708 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3537, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9219 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9224 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9221 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9226 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9226 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper9228 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9233 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9230 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9235 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9236 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper9238 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_51); + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_37); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper9242 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9249 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9245 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9253 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4011, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9260 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9900 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4043, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper9913 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __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 49d033a64..96665fc85 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 08aa05bb1..88a3bc2aa 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__h4a403c73a42f6c62(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__h8eef9b8832347905(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h31830c12b4281a46(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed(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__hfed05b037b6d37a4(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 b85483b37..6df1d059c 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__h38046416648e2830: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h1d8c93ec534e37b4: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 3a9fb3c8f..dec86f4bb 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__h38046416648e2830(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d8c93ec534e37b4(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1302,6 +1302,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1326,40 +1357,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1369,6 +1369,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1383,6 +1387,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1391,14 +1399,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1572,6 +1572,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1580,10 +1584,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1639,43 +1639,43 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper6965 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3387, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6972 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3389, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6967 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3387, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6974 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3389, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6968 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3387, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6975 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3389, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6969 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3387, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6976 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3389, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6970 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3387, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6977 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3389, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10175 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10172 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11391 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11388 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11424 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_43); + imports.wbg.__wbindgen_closure_wrapper11421 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11433 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11427 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11442 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11433 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); return addHeapObject(ret); }; @@ -1683,20 +1683,20 @@ function __wbg_get_imports() { const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11474 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11471 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11483 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11476 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11529 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11486 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11542 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3630, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper11500 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3630, __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 5c230fe89..d2092b584 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 e2ea87d44..7000a8cb5 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__h38046416648e2830(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h1d8c93ec534e37b4(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 b85483b37..6df1d059c 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__h38046416648e2830: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h1d8c93ec534e37b4: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 0f7a1d18b..1bad07def 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__h38046416648e2830(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d8c93ec534e37b4(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1302,6 +1302,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1326,40 +1357,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1369,6 +1369,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1383,6 +1387,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1391,14 +1399,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1572,6 +1572,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1580,10 +1584,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1639,64 +1639,64 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper6683 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3182, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6692 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3184, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6685 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3182, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6694 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3184, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6686 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3182, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6695 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3184, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6687 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3182, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6696 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3184, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6688 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3182, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper6697 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3184, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9897 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9896 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11113 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11112 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11146 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_43); + imports.wbg.__wbindgen_closure_wrapper11145 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11155 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11151 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11164 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11157 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11170 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11172 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11196 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11195 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11205 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11200 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11251 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11210 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11264 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3425, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper11224 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3425, __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 90b869c86..229e1be1b 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 e2ea87d44..7000a8cb5 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__h38046416648e2830(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h1d8c93ec534e37b4(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 b85483b37..6df1d059c 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__h38046416648e2830: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h1d8c93ec534e37b4: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 f43de4c91..163c9b9cc 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__h38046416648e2830(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d8c93ec534e37b4(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1302,6 +1302,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1326,40 +1357,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1369,6 +1369,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1383,6 +1387,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1391,14 +1399,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1572,6 +1572,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1580,10 +1584,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1639,43 +1639,43 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper5747 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2674, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5753 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2676, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5749 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2674, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5755 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2676, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5750 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2674, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5756 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2676, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5751 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2674, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5757 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2676, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5752 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2674, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5758 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2676, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper8955 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper8952 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10171 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10168 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10204 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_43); + imports.wbg.__wbindgen_closure_wrapper10201 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10213 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10207 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10222 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10213 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); return addHeapObject(ret); }; @@ -1683,20 +1683,20 @@ function __wbg_get_imports() { const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10254 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10251 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10263 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10256 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10309 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10266 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10322 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2917, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper10280 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2917, __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 5fb12f0b9..6ed8555ab 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 e2ea87d44..7000a8cb5 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__h38046416648e2830(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h1d8c93ec534e37b4(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 b85483b37..6df1d059c 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__h38046416648e2830: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h1d8c93ec534e37b4: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 52ff97c9f..befa435a7 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__h38046416648e2830(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d8c93ec534e37b4(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1302,6 +1302,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1326,40 +1357,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1369,6 +1369,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1383,6 +1387,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1391,14 +1399,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1572,6 +1572,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1580,10 +1584,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1639,43 +1639,43 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper5221 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2507, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5228 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2509, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5223 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2507, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5230 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2509, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5224 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2507, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5231 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2509, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5225 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2507, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5232 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2509, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5226 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2507, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5233 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2509, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper8438 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper8435 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9654 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9651 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9687 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_43); + imports.wbg.__wbindgen_closure_wrapper9684 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9696 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9690 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9705 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9696 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); return addHeapObject(ret); }; @@ -1683,20 +1683,20 @@ function __wbg_get_imports() { const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9737 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9734 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9746 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9739 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9792 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9749 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9805 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2750, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9763 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2750, __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 161df49c9..9f9a2a827 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 e2ea87d44..7000a8cb5 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__h38046416648e2830(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h1d8c93ec534e37b4(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 395647498..7bdabe909 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__h2d1cbcc738a8e712: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h101b1ba5dc049605: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 92d466ce7..b44c0411d 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__h2d1cbcc738a8e712(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h101b1ba5dc049605(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -1286,6 +1286,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1310,40 +1341,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1353,6 +1353,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1367,6 +1371,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1375,14 +1383,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1556,6 +1556,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1564,10 +1568,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1623,64 +1623,64 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper1287 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1290 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 286, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1289 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1292 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 286, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1290 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1293 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 286, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1291 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1294 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 286, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1292 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1295 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 286, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4634 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4635 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5850 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5851 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5883 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_43); + imports.wbg.__wbindgen_closure_wrapper5884 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5892 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5890 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5901 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5896 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5907 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5911 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5933 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5934 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5942 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5939 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5989 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5949 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6002 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper5963 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 544, __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 3b57dd5f2..22540091f 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 713cfadc9..206bda841 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__h2d1cbcc738a8e712(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h101b1ba5dc049605(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 395647498..7bdabe909 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__h2d1cbcc738a8e712: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h101b1ba5dc049605: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 71becfb1f..7163234c3 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__h2d1cbcc738a8e712(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h101b1ba5dc049605(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_47(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1343,6 +1343,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1367,40 +1398,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1410,6 +1410,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1424,6 +1428,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1432,14 +1440,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1613,6 +1613,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1621,10 +1625,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1680,64 +1680,64 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper1013 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1017 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 110, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1015 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1019 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 110, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1016 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1020 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 110, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1017 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1021 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 110, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1018 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1022 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 110, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4327 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4326 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5543 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5542 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_44); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5576 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_47); + imports.wbg.__wbindgen_closure_wrapper5575 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5585 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5581 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5594 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5587 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5600 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5602 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5626 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5625 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5635 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5630 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5682 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5640 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5695 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_41); + imports.wbg.__wbindgen_closure_wrapper5654 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 359, __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 b2291ce56..3a1cfa20c 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 713cfadc9..206bda841 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__h2d1cbcc738a8e712(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h101b1ba5dc049605(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 395647498..7bdabe909 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__h2d1cbcc738a8e712: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h101b1ba5dc049605: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 a4e473993..9b47aad6e 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__h2d1cbcc738a8e712(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h101b1ba5dc049605(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1321,6 +1321,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1345,40 +1376,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1388,6 +1388,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1402,6 +1406,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1410,14 +1418,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1591,6 +1591,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1599,10 +1603,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1658,23 +1658,23 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper1125 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1127 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 167, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1127 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1129 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 167, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1128 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1130 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 167, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1129 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1131 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 167, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1130 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1132 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 167, __wbg_adapter_26); return addHeapObject(ret); }; @@ -1687,18 +1687,18 @@ function __wbg_get_imports() { return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper5682 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_43); + const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5691 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5688 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5700 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5694 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5706 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5709 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_37); return addHeapObject(ret); }; @@ -1706,16 +1706,16 @@ function __wbg_get_imports() { const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5741 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5737 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5788 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5747 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5801 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper5761 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 413, __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 d36ad26c8..239249951 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 713cfadc9..206bda841 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__h2d1cbcc738a8e712(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h101b1ba5dc049605(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 395647498..7bdabe909 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__h2d1cbcc738a8e712: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h101b1ba5dc049605: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 846f48b07..7334d4c5c 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__h2d1cbcc738a8e712(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h101b1ba5dc049605(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1285,6 +1285,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1309,40 +1340,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1352,6 +1352,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1366,6 +1370,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1374,14 +1382,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1555,6 +1555,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1563,10 +1567,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1622,23 +1622,23 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper988 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper993 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper990 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper995 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper991 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper996 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper992 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper997 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper993 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper998 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26); return addHeapObject(ret); }; @@ -1651,18 +1651,18 @@ function __wbg_get_imports() { return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper4735 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_43); + const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4744 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4741 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4753 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4747 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4759 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4762 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; @@ -1670,16 +1670,16 @@ function __wbg_get_imports() { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4794 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4790 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4841 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4800 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4854 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper4814 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 322, __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 837979167..95ad0b215 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 713cfadc9..206bda841 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__h2d1cbcc738a8e712(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h101b1ba5dc049605(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 15868aea3..53a961889 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__h417115de7b80f128: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b: (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__h8eef9b8832347905: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1e3b40e57cf79d1e: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed: (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__hfed05b037b6d37a4: (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 57f4a82ef..1badf47e0 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__h417115de7b80f128(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1e3b40e57cf79d1e(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,19 +237,19 @@ 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__h3b3b4a0a2d68029f(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(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__h63b29cdc568f7d0e(arg0, arg1); +function __wbg_adapter_40(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(arg0, arg1); } -function __wbg_adapter_51(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__hb66c83361514d8ed(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__h8eef9b8832347905(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfed05b037b6d37a4(arg0, arg1, addHeapObject(arg2)); } /** @@ -368,18 +368,6 @@ function __wbg_get_imports() { const ret = false; return ret; }; - imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { - const ret = getObject(arg0).offsetX; - return ret; - }; - imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { - const ret = getObject(arg0).offsetY; - return ret; - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { const ret = getObject(arg0).Window; return addHeapObject(ret); @@ -392,6 +380,18 @@ function __wbg_get_imports() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); }; + imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { + const ret = getObject(arg0).offsetX; + return ret; + }; + imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { + const ret = getObject(arg0).offsetY; + return ret; + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_scheduler_7ccf2d3b362018c4 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1661,64 +1661,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4470 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2147, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4469 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4472 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2147, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4471 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4474 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2147, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4473 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4476 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2147, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4475 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4478 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2147, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4477 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2146, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5990 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper5994 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5992 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper5996 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5994 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper5998 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5999 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper6000 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6006 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6008 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6011 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_51); + imports.wbg.__wbindgen_closure_wrapper6012 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6022 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6015 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6026 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2623, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6030 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2619, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6673 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2655, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper6683 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2651, __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 302a4e2e2..5fa53baee 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 94c816366..d496ce535 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__h417115de7b80f128(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__h8eef9b8832347905(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1e3b40e57cf79d1e(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed(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__hfed05b037b6d37a4(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 395647498..7bdabe909 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__h2d1cbcc738a8e712: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16: (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__h101b1ba5dc049605: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (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 2d3b593d3..ab1a3bade 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__h2d1cbcc738a8e712(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h101b1ba5dc049605(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__h3eed822787167cf0(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(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__hb09277208677da62(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1); } -function __wbg_adapter_43(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1285,6 +1285,37 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_persisted_6483200f25cdfed4 = function(arg0) { + const ret = getObject(arg0).persisted; + return ret; + }; + 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_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { const ret = getObject(arg0).contentRect; return addHeapObject(ret); @@ -1309,40 +1340,9 @@ function __wbg_get_imports() { const ret = getObject(arg0).blockSize; return ret; }; - 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); - const len1 = WASM_VECTOR_LEN; - 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; - return ret; - }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; - 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_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.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -1352,6 +1352,10 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; + return addHeapObject(ret); + }; imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { getObject(arg0).type = getStringFromWasm0(arg1, arg2); }; @@ -1366,6 +1370,10 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, 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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1374,14 +1382,6 @@ 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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1555,6 +1555,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return ret; }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { const ret = getObject(arg0).requestIdleCallback; return addHeapObject(ret); @@ -1563,10 +1567,6 @@ 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.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1622,64 +1622,64 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper1952 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1954 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 662, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1954 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1956 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 662, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1955 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1957 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 662, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1956 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1958 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 662, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1957 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1959 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 662, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5358 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5357 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6574 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6573 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6607 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_43); + imports.wbg.__wbindgen_closure_wrapper6606 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6616 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6612 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6625 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6618 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6631 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6633 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6657 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6656 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6666 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6661 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6713 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6671 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6726 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6685 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 912, __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 3e98c0c68..2b05739fb 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 713cfadc9..206bda841 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__h2d1cbcc738a8e712(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3eed822787167cf0(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb09277208677da62(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc62b81be21516a16(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__h101b1ba5dc049605(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(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 d140b6029..4077977e5 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__h57c42eea6b6d5266: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h02ab080d3e031883: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h799d0859af6aff87: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h99e149a1b143154f: (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__h638588ce5884da9a: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0e86ec135b0269be: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7c6833b0ee6bd94: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14f77cfa92992be8: (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 6560a166b..d330f1a21 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__h57c42eea6b6d5266(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h638588ce5884da9a(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__h02ab080d3e031883(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0e86ec135b0269be(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__h799d0859af6aff87(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7c6833b0ee6bd94(arg0, arg1); } -function __wbg_adapter_59(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h99e149a1b143154f(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +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__h14f77cfa92992be8(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function handleError(f, args) { @@ -1343,35 +1343,38 @@ 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_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = getObject(arg1).pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + 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_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { + const ret = getObject(arg0).pressure; return ret; }; imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { const ret = getObject(arg0).persisted; return ret; }; - imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { - const ret = getObject(arg0).matches; + imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { + getObject(arg0).setPointerCapture(arg1); + }, arguments) }; + 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); - const len1 = WASM_VECTOR_LEN; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { const ret = getObject(arg0).isIntersecting; return ret; }; - imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { - const ret = getObject(arg0).pressure; + imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { + const ret = getObject(arg0).matches; return ret; }; imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { @@ -1398,9 +1401,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) { @@ -1410,6 +1410,10 @@ function __wbg_get_imports() { const ret = false; return 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); }; @@ -1424,10 +1428,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_prototype_d33365945f23f380 = function() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); @@ -1436,10 +1436,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)); + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = getObject(arg0).Window; return addHeapObject(ret); - }, arguments) }; + }; imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { const ret = getObject(arg0).button; return ret; @@ -1613,10 +1613,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).y; return 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); @@ -1629,6 +1625,10 @@ 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.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { queueMicrotask(takeObject(arg0)); }; @@ -1680,64 +1680,64 @@ function __wbg_get_imports() { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbindgen_closure_wrapper1392 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1394 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 298, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1394 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1396 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 298, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1395 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1397 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 298, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1396 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1398 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 298, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1397 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1399 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 298, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4781 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4780 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6007 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6006 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_44); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6040 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6039 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6059 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6050 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6099 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6055 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6110 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6073 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6117 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6097 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6129 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6120 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6140 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_59); + imports.wbg.__wbindgen_closure_wrapper6132 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6157 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_41); + imports.wbg.__wbindgen_closure_wrapper6137 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 545, __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 84e5b8140..eba61b20f 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 90b16038a..3a6d0c9e7 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__h57c42eea6b6d5266(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h02ab080d3e031883(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h799d0859af6aff87(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h99e149a1b143154f(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__h638588ce5884da9a(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0e86ec135b0269be(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7c6833b0ee6bd94(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14f77cfa92992be8(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 6d67c8185..f3bb7ded6 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__h023952d2bd2c4562: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b: (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__h8eef9b8832347905: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h020b20bdae4feddc: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed: (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__hfed05b037b6d37a4: (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 927372708..dd3a1ee33 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__h023952d2bd2c4562(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h020b20bdae4feddc(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,19 +237,19 @@ 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__h3b3b4a0a2d68029f(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(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__h63b29cdc568f7d0e(arg0, arg1); +function __wbg_adapter_40(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(arg0, arg1); } -function __wbg_adapter_51(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__hb66c83361514d8ed(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__h8eef9b8832347905(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfed05b037b6d37a4(arg0, arg1, addHeapObject(arg2)); } /** @@ -368,18 +368,6 @@ function __wbg_get_imports() { const ret = false; return ret; }; - imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { - const ret = getObject(arg0).offsetX; - return ret; - }; - imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { - const ret = getObject(arg0).offsetY; - return ret; - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { const ret = getObject(arg0).Window; return addHeapObject(ret); @@ -392,6 +380,18 @@ function __wbg_get_imports() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); }; + imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { + const ret = getObject(arg0).offsetX; + return ret; + }; + imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { + const ret = getObject(arg0).offsetY; + return ret; + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_scheduler_7ccf2d3b362018c4 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1677,64 +1677,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4948 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2200, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4947 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2199, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4950 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2200, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4949 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2199, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4952 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2200, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4951 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2199, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4954 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2200, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4953 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2199, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4956 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2200, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4955 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2199, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6468 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6472 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6470 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6474 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6472 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6476 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6477 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper6478 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6484 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6486 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6489 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_51); + imports.wbg.__wbindgen_closure_wrapper6490 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6500 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6493 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6504 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2675, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6508 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2671, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7151 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2707, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper7161 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2703, __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 cb0f17ec7..2e65624d6 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 dc9812d4b..d8ec82303 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__h023952d2bd2c4562(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__h8eef9b8832347905(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h020b20bdae4feddc(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed(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__hfed05b037b6d37a4(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 baa143a88..58e261c24 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__h651a809a8a5f4bd9: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b: (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__h8eef9b8832347905: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h02de761137f2bee0: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed: (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__hfed05b037b6d37a4: (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 1a6d9e96b..47b1cb58d 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__h651a809a8a5f4bd9(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h02de761137f2bee0(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,19 +237,19 @@ 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__h3b3b4a0a2d68029f(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(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__h63b29cdc568f7d0e(arg0, arg1); +function __wbg_adapter_40(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(arg0, arg1); } -function __wbg_adapter_51(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__hb66c83361514d8ed(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__h8eef9b8832347905(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfed05b037b6d37a4(arg0, arg1, addHeapObject(arg2)); } /** @@ -368,18 +368,6 @@ function __wbg_get_imports() { const ret = false; return ret; }; - imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { - const ret = getObject(arg0).offsetX; - return ret; - }; - imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { - const ret = getObject(arg0).offsetY; - return ret; - }; - imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); - }; imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { const ret = getObject(arg0).Window; return addHeapObject(ret); @@ -392,6 +380,18 @@ function __wbg_get_imports() { const ret = ResizeObserverEntry.prototype; return addHeapObject(ret); }; + imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { + const ret = getObject(arg0).offsetX; + return ret; + }; + imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { + const ret = getObject(arg0).offsetY; + return ret; + }; + imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { + const ret = getObject(arg0).getCoalescedEvents; + return addHeapObject(ret); + }; imports.wbg.__wbg_scheduler_7ccf2d3b362018c4 = function(arg0) { const ret = getObject(arg0).scheduler; return addHeapObject(ret); @@ -1661,64 +1661,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2337 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 985, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2338 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 984, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2339 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 985, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2340 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 984, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2341 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 985, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2342 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 984, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2343 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 985, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2344 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 984, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2345 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 985, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2346 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 984, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3855 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3861 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3857 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3863 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3859 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3865 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3864 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper3867 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3871 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3873 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3873 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3875 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3876 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_51); + imports.wbg.__wbindgen_closure_wrapper3879 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3887 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3882 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3891 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1462, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3897 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1458, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4538 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1494, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper4550 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1490, __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 16853a8ef..81c37d9f7 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 c7168d0ea..cb0b35a67 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__h651a809a8a5f4bd9(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__h8eef9b8832347905(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h02de761137f2bee0(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed(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__hfed05b037b6d37a4(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 6827e76d7..8041319fb 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__h0438a528394f9c27: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b: (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__h8eef9b8832347905: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1f254bc52380cec0: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed: (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__hfed05b037b6d37a4: (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 80a39ab17..1b166db68 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__h0438a528394f9c27(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1f254bc52380cec0(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -237,19 +237,19 @@ 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__h3b3b4a0a2d68029f(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(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__h63b29cdc568f7d0e(arg0, arg1); +function __wbg_adapter_40(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(arg0, arg1); } -function __wbg_adapter_51(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__hb66c83361514d8ed(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__h8eef9b8832347905(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfed05b037b6d37a4(arg0, arg1, addHeapObject(arg2)); } /** @@ -1692,64 +1692,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4776 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2005, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4786 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2013, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4778 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2005, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4788 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2013, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4780 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2005, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4790 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2013, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4782 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2005, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4792 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2013, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4784 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2005, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4794 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2013, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6300 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6312 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6302 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6314 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6304 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6316 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6309 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper6318 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6316 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6324 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6318 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6326 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6321 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_51); + imports.wbg.__wbindgen_closure_wrapper6330 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6332 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6333 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6336 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6348 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2484, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6984 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2512, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper7001 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2516, __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 be87f1ee8..c46213257 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 547d4461b..3c4114b17 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__h0438a528394f9c27(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b3b4a0a2d68029f(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h63b29cdc568f7d0e(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h053d7ad80e3cd91b(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__h8eef9b8832347905(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1f254bc52380cec0(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed(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__hfed05b037b6d37a4(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 8db6cd93a..4aa5d8ed0 100644 --- a/snapshots/master/docs/cpp/api/library_root.html +++ b/snapshots/master/docs/cpp/api/library_root.html @@ -423,7 +423,7 @@