@duckdb/duckdb-wasm-shell 1.29.1-dev60.0 → 1.29.1-dev71.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/dist/img/duckdb_version_badge.svg +1 -1
- package/dist/shell.cjs +140 -134
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +140 -134
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +141 -135
- package/dist/shell.mjs.map +3 -3
- package/dist/shell_bg.wasm +0 -0
- package/package.json +2 -2
package/dist/shell.js
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
// package.json
|
|
34
34
|
var package_default = {
|
|
35
35
|
name: "@duckdb/duckdb-wasm-shell",
|
|
36
|
-
version: "1.29.1-
|
|
36
|
+
version: "1.29.1-dev71.0",
|
|
37
37
|
description: "",
|
|
38
38
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
39
39
|
license: "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"csv"
|
|
58
58
|
],
|
|
59
59
|
dependencies: {
|
|
60
|
-
"@duckdb/duckdb-wasm": "^1.29.1-
|
|
60
|
+
"@duckdb/duckdb-wasm": "^1.29.1-dev71.0",
|
|
61
61
|
xterm: "^5.3.0",
|
|
62
62
|
"xterm-addon-fit": "^0.8.0",
|
|
63
63
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -303,37 +303,11 @@
|
|
|
303
303
|
return real;
|
|
304
304
|
}
|
|
305
305
|
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
306
|
-
const ret = wasm.
|
|
306
|
+
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9314410c6b7d39d7(arg0, arg1, addHeapObject(arg2));
|
|
307
307
|
return ret !== 0;
|
|
308
308
|
}
|
|
309
309
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
310
|
-
wasm.
|
|
311
|
-
}
|
|
312
|
-
var cachedUint32Memory0 = null;
|
|
313
|
-
function getUint32Memory0() {
|
|
314
|
-
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
315
|
-
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
316
|
-
}
|
|
317
|
-
return cachedUint32Memory0;
|
|
318
|
-
}
|
|
319
|
-
function passArray32ToWasm0(arg, malloc) {
|
|
320
|
-
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
321
|
-
getUint32Memory0().set(arg, ptr / 4);
|
|
322
|
-
WASM_VECTOR_LEN = arg.length;
|
|
323
|
-
return ptr;
|
|
324
|
-
}
|
|
325
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
326
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
327
|
-
getUint8Memory0().set(arg, ptr / 1);
|
|
328
|
-
WASM_VECTOR_LEN = arg.length;
|
|
329
|
-
return ptr;
|
|
330
|
-
}
|
|
331
|
-
function handleError(f, args) {
|
|
332
|
-
try {
|
|
333
|
-
return f.apply(this, args);
|
|
334
|
-
} catch (e) {
|
|
335
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
336
|
-
}
|
|
310
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc0eb04714d123abb(arg0, arg1, addHeapObject(arg2));
|
|
337
311
|
}
|
|
338
312
|
function embed(elem, runtime, options) {
|
|
339
313
|
try {
|
|
@@ -383,8 +357,34 @@
|
|
|
383
357
|
const ret = wasm.configureDatabase(addHeapObject(db));
|
|
384
358
|
return takeObject(ret);
|
|
385
359
|
}
|
|
386
|
-
function
|
|
387
|
-
|
|
360
|
+
function handleError(f, args) {
|
|
361
|
+
try {
|
|
362
|
+
return f.apply(this, args);
|
|
363
|
+
} catch (e) {
|
|
364
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
var cachedUint32Memory0 = null;
|
|
368
|
+
function getUint32Memory0() {
|
|
369
|
+
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
370
|
+
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
371
|
+
}
|
|
372
|
+
return cachedUint32Memory0;
|
|
373
|
+
}
|
|
374
|
+
function passArray32ToWasm0(arg, malloc) {
|
|
375
|
+
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
376
|
+
getUint32Memory0().set(arg, ptr / 4);
|
|
377
|
+
WASM_VECTOR_LEN = arg.length;
|
|
378
|
+
return ptr;
|
|
379
|
+
}
|
|
380
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
381
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
382
|
+
getUint8Memory0().set(arg, ptr / 1);
|
|
383
|
+
WASM_VECTOR_LEN = arg.length;
|
|
384
|
+
return ptr;
|
|
385
|
+
}
|
|
386
|
+
function __wbg_adapter_213(arg0, arg1, arg2, arg3) {
|
|
387
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h5790724ce0bebff1(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
388
388
|
}
|
|
389
389
|
var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
|
|
390
390
|
var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" });
|
|
@@ -480,6 +480,12 @@
|
|
|
480
480
|
return addHeapObject(ret);
|
|
481
481
|
}, arguments);
|
|
482
482
|
};
|
|
483
|
+
imports.wbg.__wbg_registerOPFSFileName_8efb2b5d0df8d9a7 = function() {
|
|
484
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
485
|
+
const ret = getObject(arg0).registerOPFSFileName(getStringFromWasm0(arg1, arg2));
|
|
486
|
+
return addHeapObject(ret);
|
|
487
|
+
}, arguments);
|
|
488
|
+
};
|
|
483
489
|
imports.wbg.__wbg_exportFileStatistics_6b72eb40ca2eb4d5 = function() {
|
|
484
490
|
return handleError(function(arg0, arg1, arg2) {
|
|
485
491
|
const ret = getObject(arg0).exportFileStatistics(getStringFromWasm0(arg1, arg2));
|
|
@@ -644,52 +650,48 @@
|
|
|
644
650
|
imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
|
|
645
651
|
getObject(arg0).fit();
|
|
646
652
|
};
|
|
647
|
-
imports.wbg.
|
|
648
|
-
|
|
649
|
-
|
|
653
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
654
|
+
return handleError(function(arg0, arg1) {
|
|
655
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
656
|
+
return addHeapObject(ret);
|
|
657
|
+
}, arguments);
|
|
650
658
|
};
|
|
651
|
-
imports.wbg.
|
|
652
|
-
|
|
653
|
-
return addHeapObject(ret);
|
|
659
|
+
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
660
|
+
getObject(arg0).rows = arg1 >>> 0;
|
|
654
661
|
};
|
|
655
|
-
imports.wbg.
|
|
656
|
-
|
|
657
|
-
return addHeapObject(ret);
|
|
662
|
+
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
663
|
+
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
658
664
|
};
|
|
659
|
-
imports.wbg.
|
|
660
|
-
|
|
661
|
-
return addHeapObject(ret);
|
|
665
|
+
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
666
|
+
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
662
667
|
};
|
|
663
|
-
imports.wbg.
|
|
664
|
-
const ret = getObject(
|
|
665
|
-
|
|
668
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
669
|
+
const ret = getObject(arg1).fontFamily;
|
|
670
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
671
|
+
const len1 = WASM_VECTOR_LEN;
|
|
672
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
673
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
666
674
|
};
|
|
667
|
-
imports.wbg.
|
|
668
|
-
|
|
669
|
-
return addHeapObject(ret);
|
|
675
|
+
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
676
|
+
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
670
677
|
};
|
|
671
|
-
imports.wbg.
|
|
672
|
-
|
|
673
|
-
return addHeapObject(ret);
|
|
678
|
+
imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
|
|
679
|
+
getObject(arg0).fontSize = arg1 >>> 0;
|
|
674
680
|
};
|
|
675
|
-
imports.wbg.
|
|
676
|
-
|
|
677
|
-
return addHeapObject(ret);
|
|
681
|
+
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
|
|
682
|
+
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
|
|
678
683
|
};
|
|
679
|
-
imports.wbg.
|
|
680
|
-
|
|
681
|
-
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
682
|
-
return addHeapObject(ret);
|
|
683
|
-
}, arguments);
|
|
684
|
+
imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
|
|
685
|
+
getObject(arg0).rightClickSelectsWord = arg1 !== 0;
|
|
684
686
|
};
|
|
685
|
-
imports.wbg.
|
|
686
|
-
|
|
687
|
+
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
688
|
+
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
687
689
|
};
|
|
688
|
-
imports.wbg.
|
|
689
|
-
|
|
690
|
+
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
691
|
+
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
690
692
|
};
|
|
691
|
-
imports.wbg.
|
|
692
|
-
|
|
693
|
+
imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
|
|
694
|
+
getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
|
|
693
695
|
};
|
|
694
696
|
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
695
697
|
const ret = getObject(arg1).backgroundColor;
|
|
@@ -698,12 +700,18 @@
|
|
|
698
700
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
699
701
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
700
702
|
};
|
|
701
|
-
imports.wbg.
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
703
|
+
imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
|
|
704
|
+
getObject(arg0).background = getStringFromWasm0(arg1, arg2);
|
|
705
|
+
};
|
|
706
|
+
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
|
|
707
|
+
getObject(arg0).theme = getObject(arg1);
|
|
708
|
+
};
|
|
709
|
+
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
710
|
+
getObject(arg0).open(takeObject(arg1));
|
|
711
|
+
};
|
|
712
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
713
|
+
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
714
|
+
return addHeapObject(ret);
|
|
707
715
|
};
|
|
708
716
|
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
709
717
|
let result;
|
|
@@ -715,6 +723,13 @@
|
|
|
715
723
|
const ret = result;
|
|
716
724
|
return ret;
|
|
717
725
|
};
|
|
726
|
+
imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
|
|
727
|
+
getObject(arg0).loadAddon(takeObject(arg1));
|
|
728
|
+
};
|
|
729
|
+
imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
|
|
730
|
+
const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
731
|
+
return addHeapObject(ret);
|
|
732
|
+
};
|
|
718
733
|
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
719
734
|
let result;
|
|
720
735
|
try {
|
|
@@ -725,6 +740,10 @@
|
|
|
725
740
|
const ret = result;
|
|
726
741
|
return ret;
|
|
727
742
|
};
|
|
743
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
744
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
745
|
+
return addHeapObject(ret);
|
|
746
|
+
};
|
|
728
747
|
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
729
748
|
const obj = getObject(arg1);
|
|
730
749
|
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
@@ -733,81 +752,59 @@
|
|
|
733
752
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
734
753
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
735
754
|
};
|
|
736
|
-
imports.wbg.
|
|
737
|
-
|
|
755
|
+
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
756
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
757
|
+
};
|
|
758
|
+
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
759
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
760
|
+
};
|
|
761
|
+
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
762
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
763
|
+
};
|
|
764
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
765
|
+
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
738
766
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
739
767
|
const len1 = WASM_VECTOR_LEN;
|
|
740
768
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
741
769
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
742
770
|
};
|
|
743
|
-
imports.wbg.
|
|
744
|
-
const ret = import_duckdb_wasm.
|
|
771
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
772
|
+
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
745
773
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
746
774
|
const len1 = WASM_VECTOR_LEN;
|
|
747
775
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
748
776
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
749
777
|
};
|
|
750
|
-
imports.wbg.
|
|
751
|
-
const ret =
|
|
778
|
+
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
779
|
+
const ret = getObject(arg0).blockStats;
|
|
752
780
|
return addHeapObject(ret);
|
|
753
781
|
};
|
|
754
|
-
imports.wbg.
|
|
755
|
-
const
|
|
756
|
-
|
|
757
|
-
obj.a = 0;
|
|
758
|
-
return true;
|
|
759
|
-
}
|
|
760
|
-
const ret = false;
|
|
761
|
-
return ret;
|
|
762
|
-
};
|
|
763
|
-
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
764
|
-
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
765
|
-
};
|
|
766
|
-
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
767
|
-
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
768
|
-
};
|
|
769
|
-
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
770
|
-
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
771
|
-
};
|
|
772
|
-
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
|
|
773
|
-
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
|
|
774
|
-
};
|
|
775
|
-
imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
|
|
776
|
-
getObject(arg0).fontSize = arg1 >>> 0;
|
|
777
|
-
};
|
|
778
|
-
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
779
|
-
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
780
|
-
};
|
|
781
|
-
imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
|
|
782
|
-
getObject(arg0).rightClickSelectsWord = arg1 !== 0;
|
|
783
|
-
};
|
|
784
|
-
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
785
|
-
getObject(arg0).rows = arg1 >>> 0;
|
|
786
|
-
};
|
|
787
|
-
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
|
|
788
|
-
getObject(arg0).theme = getObject(arg1);
|
|
789
|
-
};
|
|
790
|
-
imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
|
|
791
|
-
getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
|
|
782
|
+
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) {
|
|
783
|
+
const ret = getObject(arg0).totalFileWrites;
|
|
784
|
+
return addHeapObject(ret);
|
|
792
785
|
};
|
|
793
|
-
imports.wbg.
|
|
794
|
-
getObject(arg0).
|
|
786
|
+
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) {
|
|
787
|
+
const ret = getObject(arg0).totalFileReadsAhead;
|
|
788
|
+
return addHeapObject(ret);
|
|
795
789
|
};
|
|
796
|
-
imports.wbg.
|
|
797
|
-
getObject(arg0).
|
|
790
|
+
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) {
|
|
791
|
+
const ret = getObject(arg0).totalFileReadsCold;
|
|
792
|
+
return addHeapObject(ret);
|
|
798
793
|
};
|
|
799
|
-
imports.wbg.
|
|
800
|
-
getObject(arg0).
|
|
794
|
+
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) {
|
|
795
|
+
const ret = getObject(arg0).totalFileReadsCached;
|
|
796
|
+
return addHeapObject(ret);
|
|
801
797
|
};
|
|
802
|
-
imports.wbg.
|
|
803
|
-
getObject(arg0).
|
|
798
|
+
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) {
|
|
799
|
+
const ret = getObject(arg0).totalPageAccesses;
|
|
800
|
+
return addHeapObject(ret);
|
|
804
801
|
};
|
|
805
|
-
imports.wbg.
|
|
806
|
-
const ret =
|
|
802
|
+
imports.wbg.__wbg_totalPageLoads_1ce10deb8828d935 = function(arg0) {
|
|
803
|
+
const ret = getObject(arg0).totalPageLoads;
|
|
807
804
|
return addHeapObject(ret);
|
|
808
805
|
};
|
|
809
|
-
imports.wbg.
|
|
810
|
-
const ret =
|
|
806
|
+
imports.wbg.__wbg_blockSize_77bc4e968a2e845a = function(arg0) {
|
|
807
|
+
const ret = getObject(arg0).blockSize;
|
|
811
808
|
return addHeapObject(ret);
|
|
812
809
|
};
|
|
813
810
|
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
@@ -872,6 +869,15 @@
|
|
|
872
869
|
const ret = getObject(arg0).now();
|
|
873
870
|
return ret;
|
|
874
871
|
};
|
|
872
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
873
|
+
const obj = takeObject(arg0).original;
|
|
874
|
+
if (obj.cnt-- == 1) {
|
|
875
|
+
obj.a = 0;
|
|
876
|
+
return true;
|
|
877
|
+
}
|
|
878
|
+
const ret = false;
|
|
879
|
+
return ret;
|
|
880
|
+
};
|
|
875
881
|
imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
|
|
876
882
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
877
883
|
return addHeapObject(ret);
|
|
@@ -947,7 +953,7 @@
|
|
|
947
953
|
const a = state0.a;
|
|
948
954
|
state0.a = 0;
|
|
949
955
|
try {
|
|
950
|
-
return
|
|
956
|
+
return __wbg_adapter_213(a, state0.b, arg02, arg12);
|
|
951
957
|
} finally {
|
|
952
958
|
state0.a = a;
|
|
953
959
|
}
|
|
@@ -999,12 +1005,12 @@
|
|
|
999
1005
|
const ret = wasm.memory;
|
|
1000
1006
|
return addHeapObject(ret);
|
|
1001
1007
|
};
|
|
1002
|
-
imports.wbg.
|
|
1003
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1008
|
+
imports.wbg.__wbindgen_closure_wrapper549 = function(arg0, arg1, arg2) {
|
|
1009
|
+
const ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_22);
|
|
1004
1010
|
return addHeapObject(ret);
|
|
1005
1011
|
};
|
|
1006
|
-
imports.wbg.
|
|
1007
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1012
|
+
imports.wbg.__wbindgen_closure_wrapper897 = function(arg0, arg1, arg2) {
|
|
1013
|
+
const ret = makeMutClosure(arg0, arg1, 185, __wbg_adapter_25);
|
|
1008
1014
|
return addHeapObject(ret);
|
|
1009
1015
|
};
|
|
1010
1016
|
return imports;
|