diff --git a/snapshots/master/demos/android/energy-monitor.apk b/snapshots/master/demos/android/energy-monitor.apk index 33b008138..6b5b972ad 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 55935bbce..6b85a55d6 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/android/weather_demo_lib.apk b/snapshots/master/demos/android/weather_demo_lib.apk index 9457c0b85..0de9f7f1b 100644 Binary files a/snapshots/master/demos/android/weather_demo_lib.apk and b/snapshots/master/demos/android/weather_demo_lib.apk differ diff --git a/snapshots/master/demos/carousel/pkg/carousel.d.ts b/snapshots/master/demos/carousel/pkg/carousel.d.ts index aa70e9914..1e3c48e70 100644 --- a/snapshots/master/demos/carousel/pkg/carousel.d.ts +++ b/snapshots/master/demos/carousel/pkg/carousel.d.ts @@ -17,7 +17,7 @@ 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__haf9379e87c58f9ff: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/carousel/pkg/carousel.js b/snapshots/master/demos/carousel/pkg/carousel.js index 97c719806..41e3f134c 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__haf9379e87c58f9ff(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -873,6 +873,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -907,16 +923,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -993,12 +999,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_log_c0c5e0d6d276d6e2 = function(arg0, arg1) { console.log(getStringFromWasm0(arg0, arg1)); }; @@ -1611,24 +1611,24 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1127 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1125 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1128 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1126 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1129 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1127 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1130 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1128 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1131 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1129 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper4316 = function(arg0, arg1, arg2) { diff --git a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm index 734a2b87a..e6295393d 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 4f0ea2b93..592bb784c 100644 --- a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts +++ b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts @@ -10,7 +10,7 @@ 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__haf9379e87c58f9ff(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): 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 9010dfb3a..6f67d6afd 100644 --- a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts +++ b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts @@ -17,7 +17,7 @@ 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__h288dc2962a71e7c4: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h147356408aa68a84: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00a6d4548890a13e: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h733a4072079c2a8c: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3334ee000db41310: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js index 15b9e22bd..c42cb4973 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__h288dc2962a71e7c4(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h147356408aa68a84(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -1665,64 +1665,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7658 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3518, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7704 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7660 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3518, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7706 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7662 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3518, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7708 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7664 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3518, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7710 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7666 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3518, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7712 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9204 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9207 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9206 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_40); + imports.wbg.__wbindgen_closure_wrapper9209 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9208 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9211 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9210 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9213 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9215 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9218 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9219 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9222 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9228 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9231 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9232 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_53); + imports.wbg.__wbindgen_closure_wrapper9235 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9237 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3976, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9240 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9910 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4054, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper9913 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4052, __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 8858e4b72..fbdd70b3c 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 6e73eb8dd..515ad25d7 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,7 +10,7 @@ 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__h288dc2962a71e7c4(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h147356408aa68a84(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00a6d4548890a13e(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h733a4072079c2a8c(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3334ee000db41310(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts b/snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts index b03e9ff7e..dfae9338d 100644 --- a/snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts +++ b/snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts @@ -17,7 +17,7 @@ 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__h108fa026c80f01c6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/gallery/pkg/cosmic/gallery.js b/snapshots/master/demos/gallery/pkg/cosmic/gallery.js index c83935c6b..b440b4278 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__h108fa026c80f01c6(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -893,6 +893,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -927,16 +943,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1013,12 +1019,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_naturalWidth_71b3dd9a08fc5b67 = function(arg0) { const ret = getObject(arg0).naturalWidth; return ret; @@ -1627,63 +1627,63 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_closure_wrapper6956 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3406, __wbg_adapter_26); + return addHeapObject(ret); + }; imports.wbg.__wbindgen_closure_wrapper6957 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3402, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3406, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6958 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3402, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3406, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6959 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3402, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3406, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6960 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3402, __wbg_adapter_26); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper6961 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3402, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3406, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper10141 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper10143 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11328 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11330 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11367 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11369 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11373 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11375 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11387 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11389 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11393 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11395 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11408 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11410 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11422 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11424 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11440 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11442 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11445 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11447 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3649, __wbg_adapter_37); 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 afbafae8f..96f026ac8 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 3836557b6..fd15239b6 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,7 +10,7 @@ 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__h108fa026c80f01c6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/gallery/pkg/cupertino/gallery.d.ts b/snapshots/master/demos/gallery/pkg/cupertino/gallery.d.ts index b03e9ff7e..dfae9338d 100644 --- a/snapshots/master/demos/gallery/pkg/cupertino/gallery.d.ts +++ b/snapshots/master/demos/gallery/pkg/cupertino/gallery.d.ts @@ -17,7 +17,7 @@ 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__h108fa026c80f01c6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/gallery/pkg/cupertino/gallery.js b/snapshots/master/demos/gallery/pkg/cupertino/gallery.js index bb51b3150..713cbe498 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__h108fa026c80f01c6(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -893,6 +893,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -927,16 +943,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1013,12 +1019,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_naturalWidth_71b3dd9a08fc5b67 = function(arg0) { const ret = getObject(arg0).naturalWidth; return ret; @@ -1627,63 +1627,63 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_closure_wrapper6696 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3216, __wbg_adapter_26); + return addHeapObject(ret); + }; imports.wbg.__wbindgen_closure_wrapper6697 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3212, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3216, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6698 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3212, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3216, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6699 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3212, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3216, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6700 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3212, __wbg_adapter_26); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper6701 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3212, __wbg_adapter_26); + const ret = makeClosure(arg0, arg1, 3216, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9885 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper9887 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11072 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11074 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11111 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11113 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11117 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11119 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11131 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11133 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11137 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11139 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11152 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11154 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11166 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11168 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11184 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11186 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper11189 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper11191 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 3459, __wbg_adapter_37); 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 e1d9c1847..eca00d214 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 3836557b6..fd15239b6 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,7 +10,7 @@ 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__h108fa026c80f01c6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery.d.ts b/snapshots/master/demos/gallery/pkg/fluent/gallery.d.ts index b03e9ff7e..dfae9338d 100644 --- a/snapshots/master/demos/gallery/pkg/fluent/gallery.d.ts +++ b/snapshots/master/demos/gallery/pkg/fluent/gallery.d.ts @@ -17,7 +17,7 @@ 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__h108fa026c80f01c6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery.js b/snapshots/master/demos/gallery/pkg/fluent/gallery.js index d30be61c5..910f1155b 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__h108fa026c80f01c6(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -893,6 +893,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -927,16 +943,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1013,12 +1019,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_naturalWidth_71b3dd9a08fc5b67 = function(arg0) { const ret = getObject(arg0).naturalWidth; return ret; @@ -1627,24 +1627,24 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5755 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2698, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5752 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2702, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5756 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2698, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5753 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2702, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5757 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2698, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5754 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2702, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5758 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2698, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5755 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2702, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5759 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2698, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5756 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2702, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper8938 = function(arg0, arg1, arg2) { diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm index 400d0ee52..d3ef30d62 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 3836557b6..fd15239b6 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,7 +10,7 @@ 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__h108fa026c80f01c6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/gallery/pkg/material/gallery.d.ts b/snapshots/master/demos/gallery/pkg/material/gallery.d.ts index b03e9ff7e..dfae9338d 100644 --- a/snapshots/master/demos/gallery/pkg/material/gallery.d.ts +++ b/snapshots/master/demos/gallery/pkg/material/gallery.d.ts @@ -17,7 +17,7 @@ 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__h108fa026c80f01c6: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/gallery/pkg/material/gallery.js b/snapshots/master/demos/gallery/pkg/material/gallery.js index 7eaeaa85b..a6fc8d753 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__h108fa026c80f01c6(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -893,6 +893,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -927,16 +943,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1013,12 +1019,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_naturalWidth_71b3dd9a08fc5b67 = function(arg0) { const ret = getObject(arg0).naturalWidth; return ret; @@ -1627,24 +1627,24 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5197 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2516, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5194 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2520, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5198 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2516, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5195 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2520, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5199 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2516, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5196 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2520, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5200 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2516, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5197 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2520, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5201 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2516, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper5198 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2520, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper8389 = function(arg0, arg1, arg2) { diff --git a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm index d38d49835..ae84fd4cf 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 3836557b6..fd15239b6 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,7 +10,7 @@ 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__h108fa026c80f01c6(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2d9432b408933ec0(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter.d.ts b/snapshots/master/demos/imagefilter/pkg/imagefilter.d.ts index 374fc65a5..b12a08ea8 100644 --- a/snapshots/master/demos/imagefilter/pkg/imagefilter.d.ts +++ b/snapshots/master/demos/imagefilter/pkg/imagefilter.d.ts @@ -17,7 +17,7 @@ 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__haf9379e87c58f9ff: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter.js b/snapshots/master/demos/imagefilter/pkg/imagefilter.js index 337874cfa..3f29a9aba 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__haf9379e87c58f9ff(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -873,6 +873,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -907,16 +923,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -993,12 +999,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_log_c0c5e0d6d276d6e2 = function(arg0, arg1) { console.log(getStringFromWasm0(arg0, arg1)); }; @@ -1611,63 +1611,63 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1285 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1282 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 284, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1286 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1283 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 284, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1287 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1284 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 284, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1288 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1285 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 284, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1289 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 280, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1286 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 284, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4614 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4612 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5801 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5799 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5840 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5838 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5846 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5844 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5860 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5858 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5866 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5864 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5881 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5879 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5895 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5893 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5913 = 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_wrapper5918 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5916 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_37); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm index b2a1ea5e4..5f049c73c 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 92676a01f..38f3cd009 100644 --- a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm.d.ts +++ b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm.d.ts @@ -10,7 +10,7 @@ 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__haf9379e87c58f9ff(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/memory/pkg/memory.d.ts b/snapshots/master/demos/memory/pkg/memory.d.ts index 374fc65a5..b12a08ea8 100644 --- a/snapshots/master/demos/memory/pkg/memory.d.ts +++ b/snapshots/master/demos/memory/pkg/memory.d.ts @@ -17,7 +17,7 @@ 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__haf9379e87c58f9ff: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/memory/pkg/memory.js b/snapshots/master/demos/memory/pkg/memory.js index 438696c0c..a8f559669 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__haf9379e87c58f9ff(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -913,6 +913,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -947,16 +963,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1033,12 +1039,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_log_c0c5e0d6d276d6e2 = function(arg0, arg1) { console.log(getStringFromWasm0(arg0, arg1)); }; @@ -1668,24 +1668,24 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1014 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 104, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1011 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 108, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1015 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 104, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1012 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 108, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1016 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 104, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1013 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 108, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1017 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 104, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1014 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 108, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1018 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 104, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1015 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 108, __wbg_adapter_30); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper4305 = function(arg0, arg1, arg2) { diff --git a/snapshots/master/demos/memory/pkg/memory_bg.wasm b/snapshots/master/demos/memory/pkg/memory_bg.wasm index b0e8f757a..399df964d 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 92676a01f..38f3cd009 100644 --- a/snapshots/master/demos/memory/pkg/memory_bg.wasm.d.ts +++ b/snapshots/master/demos/memory/pkg/memory_bg.wasm.d.ts @@ -10,7 +10,7 @@ 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__haf9379e87c58f9ff(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): 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 374fc65a5..b12a08ea8 100644 --- a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.d.ts +++ b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.d.ts @@ -17,7 +17,7 @@ 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__haf9379e87c58f9ff: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.js b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay.js index 66d0ed08d..6587c7af8 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__haf9379e87c58f9ff(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -850,6 +850,68 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_new_72fb9a18b5ae2624 = function() { + const ret = new Object(); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_string_new = function(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return addHeapObject(ret); + }; + imports.wbg.__wbg_getContext_fec464290556673c = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3)); + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_instanceof_WebGl2RenderingContext_6b8f92d566ced9e1 = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof WebGL2RenderingContext; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_getSupportedExtensions_7a174085f9e1983a = function(arg0) { + const ret = getObject(arg0).getSupportedExtensions(); + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_length_cd7af8117672b8b8 = function(arg0) { + const ret = getObject(arg0).length; + return ret; + }; + imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) { + const ret = getObject(arg0)[arg1 >>> 0]; + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_string_get = function(arg0, arg1) { + const obj = getObject(arg1); + const ret = typeof(obj) === 'string' ? obj : undefined; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; + }; + imports.wbg.__wbg_getParameter_aa9af66884d2b210 = function() { return handleError(function (arg0, arg1) { + const ret = getObject(arg0).getParameter(arg1 >>> 0); + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -884,16 +946,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -970,58 +1022,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_new_72fb9a18b5ae2624 = function() { - const ret = new Object(); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_string_new = function(arg0, arg1) { - const ret = getStringFromWasm0(arg0, arg1); - return addHeapObject(ret); - }; - imports.wbg.__wbg_getContext_fec464290556673c = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_instanceof_WebGl2RenderingContext_6b8f92d566ced9e1 = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof WebGL2RenderingContext; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; - imports.wbg.__wbg_getSupportedExtensions_7a174085f9e1983a = function(arg0) { - const ret = getObject(arg0).getSupportedExtensions(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_length_cd7af8117672b8b8 = function(arg0) { - const ret = getObject(arg0).length; - return ret; - }; - imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) { - const ret = getObject(arg0)[arg1 >>> 0]; - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_string_get = function(arg0, arg1) { - const obj = getObject(arg1); - const ret = typeof(obj) === 'string' ? obj : undefined; - var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len1 = WASM_VECTOR_LEN; - getInt32Memory0()[arg0 / 4 + 1] = len1; - getInt32Memory0()[arg0 / 4 + 0] = ptr1; - }; - imports.wbg.__wbg_getParameter_aa9af66884d2b210 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).getParameter(arg1 >>> 0); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_log_c0c5e0d6d276d6e2 = function(arg0, arg1) { console.log(getStringFromWasm0(arg0, arg1)); }; @@ -1646,24 +1646,24 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1125 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 161, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1122 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 165, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1126 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 161, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1123 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 165, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1127 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 161, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1124 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 165, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1128 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 161, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1125 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 165, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1129 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 161, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1126 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 165, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper4413 = function(arg0, arg1, arg2) { 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 e3a762a44..e773d4792 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 92676a01f..38f3cd009 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,7 +10,7 @@ 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__haf9379e87c58f9ff(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/plotter/pkg/plotter.d.ts b/snapshots/master/demos/plotter/pkg/plotter.d.ts index 374fc65a5..b12a08ea8 100644 --- a/snapshots/master/demos/plotter/pkg/plotter.d.ts +++ b/snapshots/master/demos/plotter/pkg/plotter.d.ts @@ -17,7 +17,7 @@ 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__haf9379e87c58f9ff: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/plotter/pkg/plotter.js b/snapshots/master/demos/plotter/pkg/plotter.js index 6aa8e7b70..1aa456fb0 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__haf9379e87c58f9ff(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -872,6 +872,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -906,16 +922,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -992,12 +998,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_log_c0c5e0d6d276d6e2 = function(arg0, arg1) { console.log(getStringFromWasm0(arg0, arg1)); }; @@ -1610,63 +1610,63 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper987 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 132, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper985 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 136, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper988 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 132, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper986 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 136, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper989 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 132, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper987 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 136, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper990 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 132, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper988 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 136, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper991 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 132, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper989 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 136, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3464 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper3467 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4652 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4655 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4691 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4694 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4697 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4700 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4711 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4714 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4717 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4720 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4732 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4735 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4746 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4749 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4764 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4767 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4769 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4772 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_37); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm index 4f37090c3..f91b043dc 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 92676a01f..38f3cd009 100644 --- a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm.d.ts +++ b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm.d.ts @@ -10,7 +10,7 @@ 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__haf9379e87c58f9ff(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.d.ts b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.d.ts index 5f432dbbb..43cf71ea1 100644 --- a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.d.ts +++ b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.d.ts @@ -17,7 +17,7 @@ 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__h0a31bbde25fd706b: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ceb3c3910418df4: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00a6d4548890a13e: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h733a4072079c2a8c: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3334ee000db41310: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.js b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib.js index db1f4bde7..d1630fd69 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__h0a31bbde25fd706b(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ceb3c3910418df4(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -1649,64 +1649,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4539 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2131, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4587 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2107, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4541 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2131, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4589 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2107, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4543 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2131, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4591 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2107, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4545 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2131, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4593 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2107, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4547 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 2131, __wbg_adapter_26); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper6087 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_37); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper6089 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_40); + imports.wbg.__wbindgen_closure_wrapper4595 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 2107, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6091 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6093 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6098 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6095 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_37); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper6097 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6102 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6111 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6106 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6115 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_53); + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_37); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper6119 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6120 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2589, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6124 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2587, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6793 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2668, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper6797 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2666, __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 de69a2fc2..b65f90e5d 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 3b469ddbb..283908569 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,7 +10,7 @@ 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__h0a31bbde25fd706b(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ceb3c3910418df4(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00a6d4548890a13e(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h733a4072079c2a8c(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3334ee000db41310(a: number, b: number, c: number, d: number): 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 374fc65a5..b12a08ea8 100644 --- a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.d.ts +++ b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.d.ts @@ -17,7 +17,7 @@ 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__haf9379e87c58f9ff: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.js b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.js index 11d3272b7..2ed89e495 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__haf9379e87c58f9ff(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -872,6 +872,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -906,16 +922,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -992,12 +998,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_log_c0c5e0d6d276d6e2 = function(arg0, arg1) { console.log(getStringFromWasm0(arg0, arg1)); }; @@ -1610,63 +1610,63 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1951 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 656, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1945 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 660, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1952 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 656, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1946 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 660, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1953 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 656, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1947 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 660, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1954 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 656, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1948 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 660, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1955 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 656, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper1949 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 660, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5334 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5335 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6521 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6522 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6560 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6561 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6566 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6567 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6580 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6581 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6586 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6587 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6601 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6602 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6615 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6616 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6633 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6634 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6638 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6639 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 912, __wbg_adapter_37); 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 cd959dee0..d050467d5 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 92676a01f..38f3cd009 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,7 +10,7 @@ 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__haf9379e87c58f9ff(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08ecf3c452abf60f(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c779a0d12370fbd(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha1c845e6c90967ab(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc26cf3230aefb935(a: number, b: number, c: number, d: number): 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 8d67add9c..2c308ba0e 100644 --- a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.d.ts +++ b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.d.ts @@ -17,7 +17,7 @@ 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__h1b6a9dc3e929bb5b: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h042c499c454c639b: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h31a65bb615796ac8: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2bc3c07596751b74: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h368a480d748df3ec: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.js b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle.js index e52e2288f..545bb49e9 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__h1b6a9dc3e929bb5b(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h042c499c454c639b(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -913,6 +913,22 @@ function __wbg_get_imports() { imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; + imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof CanvasRenderingContext2D; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { + getObject(arg0).font = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { + getObject(arg0).fillStyle = getObject(arg1); + }; imports.wbg.__wbg_setwidth_83d936c4b04dcbec = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; @@ -947,16 +963,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof CanvasRenderingContext2D; - } catch (_) { - result = false; - } - const ret = result; - return ret; - }; imports.wbg.__wbg_data_1d8005e6d66d881b = function(arg0, arg1) { const ret = getObject(arg1).data; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -1033,12 +1039,6 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setfont_a4d031cf2c94b4db = function(arg0, arg1, arg2) { - getObject(arg0).font = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_setfillStyle_4de94b275f5761f2 = function(arg0, arg1) { - getObject(arg0).fillStyle = getObject(arg1); - }; imports.wbg.__wbg_log_c0c5e0d6d276d6e2 = function(arg0, arg1) { console.log(getStringFromWasm0(arg0, arg1)); }; @@ -1668,63 +1668,63 @@ function __wbg_get_imports() { const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1402 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 302, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1394 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1403 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 302, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1395 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1404 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 302, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1396 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1405 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 302, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1397 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1406 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 302, __wbg_adapter_30); + imports.wbg.__wbindgen_closure_wrapper1398 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4768 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper4767 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper5964 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper5963 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_44); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6006 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6005 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6015 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6014 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6024 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6023 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6029 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6028 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6036 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6035 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6046 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6045 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6055 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6054 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6121 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6120 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 555, __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 0b1e3d60c..aa72f875c 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 2d2f07e3b..4dd2e919b 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,7 +10,7 @@ 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__h1b6a9dc3e929bb5b(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h042c499c454c639b(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h31a65bb615796ac8(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2bc3c07596751b74(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h368a480d748df3ec(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/todo/pkg/todo_lib.d.ts b/snapshots/master/demos/todo/pkg/todo_lib.d.ts index c1ac5105f..32f026ed7 100644 --- a/snapshots/master/demos/todo/pkg/todo_lib.d.ts +++ b/snapshots/master/demos/todo/pkg/todo_lib.d.ts @@ -17,7 +17,7 @@ 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__h4c9c85e70a6eca56: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21818ab328868267: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00a6d4548890a13e: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h733a4072079c2a8c: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3334ee000db41310: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/todo/pkg/todo_lib.js b/snapshots/master/demos/todo/pkg/todo_lib.js index 364d5ae03..3fa7f4bfd 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__h4c9c85e70a6eca56(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21818ab328868267(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -1649,64 +1649,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2289 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 958, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2334 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 932, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2291 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 958, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2336 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 932, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2293 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 958, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2338 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 932, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2295 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 958, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper2340 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 932, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper2297 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 958, __wbg_adapter_26); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper3834 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper2342 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 932, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper3836 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_40); + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper3838 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_40); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper3840 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_37); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper3842 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3845 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3847 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3849 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3851 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3858 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3860 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3862 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_53); + imports.wbg.__wbindgen_closure_wrapper3864 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper3867 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1416, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper3869 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1414, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4540 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 1495, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper4542 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 1493, __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 91e863650..3613085ec 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 24360002d..a537b6e93 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,7 +10,7 @@ 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__h4c9c85e70a6eca56(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21818ab328868267(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00a6d4548890a13e(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h733a4072079c2a8c(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3334ee000db41310(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib.d.ts b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib.d.ts index efbd0b315..00503b857 100644 --- a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib.d.ts +++ b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib.d.ts @@ -17,7 +17,7 @@ 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__h158df311502dda0d: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67cbe5eacd5434a9: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00a6d4548890a13e: (a: number, b: number, c: number) => void; readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h733a4072079c2a8c: (a: number, b: number) => void; readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3334ee000db41310: (a: number, b: number, c: number, d: number) => void; diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib.js b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib.js index 1108ec1e5..2575d870a 100644 --- a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib.js +++ b/snapshots/master/demos/weather-demo/pkg/weather_demo_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__h158df311502dda0d(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67cbe5eacd5434a9(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -1680,64 +1680,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4736 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1987, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4782 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1962, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4738 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1987, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4784 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1962, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4740 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1987, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4786 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1962, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4742 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1987, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper4788 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1962, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4744 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 1987, __wbg_adapter_26); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper6281 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_37); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_closure_wrapper6283 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_40); + imports.wbg.__wbindgen_closure_wrapper4790 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 1962, __wbg_adapter_26); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6285 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6287 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6292 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6289 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_37); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper6291 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6296 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_37); + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6305 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6300 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_37); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper6309 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_53); + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_37); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper6313 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6314 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2445, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper6318 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2443, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6988 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 2523, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper6991 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 2521, __wbg_adapter_58); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm index a98f0a7f8..a3bbe5d82 100644 Binary files a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm and b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm differ diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm.d.ts b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm.d.ts index 20bd5c5b4..a58040521 100644 --- a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm.d.ts +++ b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm.d.ts @@ -10,7 +10,7 @@ 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__h158df311502dda0d(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67cbe5eacd5434a9(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00a6d4548890a13e(a: number, b: number, c: number): void; export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h733a4072079c2a8c(a: number, b: number): void; export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3334ee000db41310(a: number, b: number, c: number, d: number): void; diff --git a/snapshots/master/docs/cpp/api/library_root.html b/snapshots/master/docs/cpp/api/library_root.html index 6c4c1cb0c..782d59239 100644 --- a/snapshots/master/docs/cpp/api/library_root.html +++ b/snapshots/master/docs/cpp/api/library_root.html @@ -423,7 +423,7 @@
Creates a new ArrayModel.
-Returns the number of entries in the array model.
-Protected
notifyProtected
notifyNotifies the view that multiple rows are added to the model.
+Returns the number of entries in the array model.
+Protected
notifyProtected
notifyProtected
notifyProtected
notifyProtected
notifyProtected
notifyRemoves the last element from the array and returns it.
+Pushes new values to the array that's backing the model and notifies +
Pushes new values to the array that's backing the model and notifies the run-time about the added rows.
Rest
...values: T[]list of values that will be pushed to the array.
-Returns the data at the specified row.
+Stores the given data on the given row index and notifies run-time about the changed row.
+Stores the given data on the given row index and notifies run-time about the changed row.
index in range 0..(rowCount() - 1).
new data item to store on the given row index
-
ArrayModel wraps a JavaScript array for use in
-.slint
views. The underlying array can be modified with the [[ArrayModel.push]] and [[ArrayModel.remove]] methods.