@sema-lang/sema-wasm 1.19.1 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sema_wasm.d.ts +4 -5
- package/sema_wasm.js +11 -11
- package/sema_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/sema_wasm.d.ts
CHANGED
|
@@ -185,11 +185,10 @@ export interface InitOutput {
|
|
|
185
185
|
readonly semainterpreter_version: (a: number) => [number, number];
|
|
186
186
|
readonly semainterpreter_vfsStats: (a: number) => any;
|
|
187
187
|
readonly semainterpreter_writeFile: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
191
|
-
readonly
|
|
192
|
-
readonly wasm_bindgen__convert__closures_____invoke__h9fac141a297d59fb: (a: number, b: number) => void;
|
|
188
|
+
readonly wasm_bindgen__closure__destroy__h15f7f8185dc35aa4: (a: number, b: number) => void;
|
|
189
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6d7c8ec94fdfda71: (a: number, b: number, c: any) => [number, number];
|
|
190
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0eb89207c65c07af: (a: number, b: number, c: any, d: any) => void;
|
|
191
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4611d89de9aa46ce: (a: number, b: number) => void;
|
|
193
192
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
194
193
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
195
194
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/sema_wasm.js
CHANGED
|
@@ -574,7 +574,7 @@ function __wbg_get_imports() {
|
|
|
574
574
|
const a = state0.a;
|
|
575
575
|
state0.a = 0;
|
|
576
576
|
try {
|
|
577
|
-
return
|
|
577
|
+
return wasm_bindgen__convert__closures_____invoke__h0eb89207c65c07af(a, state0.b, arg0, arg1);
|
|
578
578
|
} finally {
|
|
579
579
|
state0.a = a;
|
|
580
580
|
}
|
|
@@ -715,13 +715,13 @@ function __wbg_get_imports() {
|
|
|
715
715
|
return ret;
|
|
716
716
|
}, arguments); },
|
|
717
717
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
718
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
719
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
718
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [Externref], shim_idx: 3, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
719
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h15f7f8185dc35aa4, wasm_bindgen__convert__closures_____invoke__h6d7c8ec94fdfda71);
|
|
720
720
|
return ret;
|
|
721
721
|
},
|
|
722
722
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
723
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
724
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
723
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
724
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h15f7f8185dc35aa4, wasm_bindgen__convert__closures_____invoke__h4611d89de9aa46ce);
|
|
725
725
|
return ret;
|
|
726
726
|
},
|
|
727
727
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -750,19 +750,19 @@ function __wbg_get_imports() {
|
|
|
750
750
|
};
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
-
function
|
|
754
|
-
wasm.
|
|
753
|
+
function wasm_bindgen__convert__closures_____invoke__h4611d89de9aa46ce(arg0, arg1) {
|
|
754
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4611d89de9aa46ce(arg0, arg1);
|
|
755
755
|
}
|
|
756
756
|
|
|
757
|
-
function
|
|
758
|
-
const ret = wasm.
|
|
757
|
+
function wasm_bindgen__convert__closures_____invoke__h6d7c8ec94fdfda71(arg0, arg1, arg2) {
|
|
758
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h6d7c8ec94fdfda71(arg0, arg1, arg2);
|
|
759
759
|
if (ret[1]) {
|
|
760
760
|
throw takeFromExternrefTable0(ret[0]);
|
|
761
761
|
}
|
|
762
762
|
}
|
|
763
763
|
|
|
764
|
-
function
|
|
765
|
-
wasm.
|
|
764
|
+
function wasm_bindgen__convert__closures_____invoke__h0eb89207c65c07af(arg0, arg1, arg2, arg3) {
|
|
765
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h0eb89207c65c07af(arg0, arg1, arg2, arg3);
|
|
766
766
|
}
|
|
767
767
|
|
|
768
768
|
|
package/sema_wasm_bg.wasm
CHANGED
|
Binary file
|