runmat 0.4.5-dev.4 → 0.4.5-dev.5
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/artifacts/stdlib.snapshot +0 -0
- package/dist/generated/builtin-examples-catalog.d.ts.map +1 -1
- package/dist/generated/builtin-examples-catalog.js +1 -1
- package/dist/generated/builtin-examples-catalog.js.map +1 -1
- package/dist/generated/builtins/imread.d.ts +4 -0
- package/dist/generated/builtins/imread.d.ts.map +1 -0
- package/dist/generated/builtins/imread.js +131 -0
- package/dist/generated/builtins/imread.js.map +1 -0
- package/dist/generated/builtins-manifest.d.ts.map +1 -1
- package/dist/generated/builtins-manifest.js +27 -0
- package/dist/generated/builtins-manifest.js.map +1 -1
- package/dist/lsp/runmat_lsp.d.ts +2 -2
- package/dist/lsp/runmat_lsp.js +4 -4
- package/dist/lsp/runmat_lsp_bg.wasm +0 -0
- package/dist/lsp/runmat_lsp_bg.wasm.d.ts +2 -2
- package/dist/pkg-web/runmat_wasm_web.d.ts +8 -8
- package/dist/pkg-web/runmat_wasm_web.js +29 -29
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +6 -6
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +1 -1
package/dist/lsp/runmat_lsp.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ export interface InitOutput {
|
|
|
42
42
|
readonly __wbindgen_export_4: WebAssembly.Table;
|
|
43
43
|
readonly __wbindgen_export_5: WebAssembly.Table;
|
|
44
44
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
45
|
+
readonly closure4024_externref_shim: (a: number, b: number, c: any) => void;
|
|
46
|
+
readonly closure4046_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
47
47
|
readonly __wbindgen_start: () => void;
|
|
48
48
|
}
|
|
49
49
|
|
package/dist/lsp/runmat_lsp.js
CHANGED
|
@@ -405,11 +405,11 @@ export function setCompatMode(mode) {
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
function __wbg_adapter_32(arg0, arg1, arg2) {
|
|
408
|
-
wasm.
|
|
408
|
+
wasm.closure4024_externref_shim(arg0, arg1, arg2);
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
function __wbg_adapter_124(arg0, arg1, arg2, arg3) {
|
|
412
|
-
wasm.
|
|
412
|
+
wasm.closure4046_externref_shim(arg0, arg1, arg2, arg3);
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
const __wbindgen_enum_XmlHttpRequestResponseType = ["", "arraybuffer", "blob", "document", "json", "text"];
|
|
@@ -693,8 +693,8 @@ function __wbg_get_imports() {
|
|
|
693
693
|
const ret = false;
|
|
694
694
|
return ret;
|
|
695
695
|
};
|
|
696
|
-
imports.wbg.
|
|
697
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
696
|
+
imports.wbg.__wbindgen_closure_wrapper14206 = function(arg0, arg1, arg2) {
|
|
697
|
+
const ret = makeMutClosure(arg0, arg1, 4025, __wbg_adapter_32);
|
|
698
698
|
return ret;
|
|
699
699
|
};
|
|
700
700
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -23,6 +23,6 @@ export const __externref_table_alloc: () => number;
|
|
|
23
23
|
export const __wbindgen_export_4: WebAssembly.Table;
|
|
24
24
|
export const __wbindgen_export_5: WebAssembly.Table;
|
|
25
25
|
export const __externref_table_dealloc: (a: number) => void;
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
26
|
+
export const closure4024_externref_shim: (a: number, b: number, c: any) => void;
|
|
27
|
+
export const closure4046_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
28
28
|
export const __wbindgen_start: () => void;
|
|
@@ -7,8 +7,6 @@ export function setLogFilter(filter: string): void;
|
|
|
7
7
|
export function unsubscribeRuntimeLog(id: number): void;
|
|
8
8
|
export function subscribeTraceEvents(callback: any): number;
|
|
9
9
|
export function unsubscribeTraceEvents(id: number): void;
|
|
10
|
-
export function registerFsProvider(bindings: any): void;
|
|
11
|
-
export function initRunMat(options: any): Promise<RunMatWasm>;
|
|
12
10
|
export function registerPlotCanvas(canvas: any): Promise<void>;
|
|
13
11
|
export function registerFigureCanvas(handle: number, canvas: any): Promise<void>;
|
|
14
12
|
export function deregisterPlotCanvas(): void;
|
|
@@ -40,6 +38,8 @@ export function renderFigureImageWithTextmark(handle: any, width?: number | null
|
|
|
40
38
|
export function renderFigureImageWithCameraState(handle: any, width: number | null | undefined, height: number | null | undefined, camera_state: any, textmark?: string | null): Promise<Uint8Array>;
|
|
41
39
|
export function plotRendererReady(): boolean;
|
|
42
40
|
export function onFigureEvent(callback: any): void;
|
|
41
|
+
export function registerFsProvider(bindings: any): void;
|
|
42
|
+
export function initRunMat(options: any): Promise<RunMatWasm>;
|
|
43
43
|
export class RunMatWasm {
|
|
44
44
|
private constructor();
|
|
45
45
|
free(): void;
|
|
@@ -81,8 +81,6 @@ export interface InitOutput {
|
|
|
81
81
|
readonly unsubscribeRuntimeLog: (a: number) => void;
|
|
82
82
|
readonly subscribeTraceEvents: (a: any) => [number, number, number];
|
|
83
83
|
readonly unsubscribeTraceEvents: (a: number) => void;
|
|
84
|
-
readonly registerFsProvider: (a: any) => [number, number];
|
|
85
|
-
readonly initRunMat: (a: any) => any;
|
|
86
84
|
readonly __wbg_runmatwasm_free: (a: number, b: number) => void;
|
|
87
85
|
readonly runmatwasm_execute: (a: number, b: number, c: number) => any;
|
|
88
86
|
readonly runmatwasm_resetSession: (a: number) => [number, number];
|
|
@@ -140,6 +138,8 @@ export interface InitOutput {
|
|
|
140
138
|
readonly currentFigureHandle: () => number;
|
|
141
139
|
readonly selectFigure: (a: number) => void;
|
|
142
140
|
readonly destroyPlotSurface: (a: number) => void;
|
|
141
|
+
readonly registerFsProvider: (a: any) => [number, number];
|
|
142
|
+
readonly initRunMat: (a: any) => any;
|
|
143
143
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
144
144
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
145
145
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -148,10 +148,10 @@ export interface InitOutput {
|
|
|
148
148
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
149
149
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
150
150
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
151
|
+
readonly closure2803_externref_shim: (a: number, b: number, c: any) => void;
|
|
152
|
+
readonly closure7484_externref_shim: (a: number, b: number, c: any) => void;
|
|
153
|
+
readonly closure7491_externref_shim: (a: number, b: number, c: any) => void;
|
|
154
|
+
readonly closure7522_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
155
155
|
readonly __wbindgen_start: () => void;
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -291,25 +291,6 @@ export function unsubscribeTraceEvents(id) {
|
|
|
291
291
|
wasm.unsubscribeTraceEvents(id);
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
/**
|
|
295
|
-
* @param {any} bindings
|
|
296
|
-
*/
|
|
297
|
-
export function registerFsProvider(bindings) {
|
|
298
|
-
const ret = wasm.registerFsProvider(bindings);
|
|
299
|
-
if (ret[1]) {
|
|
300
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* @param {any} options
|
|
306
|
-
* @returns {Promise<RunMatWasm>}
|
|
307
|
-
*/
|
|
308
|
-
export function initRunMat(options) {
|
|
309
|
-
const ret = wasm.initRunMat(options);
|
|
310
|
-
return ret;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
294
|
function passArray8ToWasm0(arg, malloc) {
|
|
314
295
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
315
296
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -633,20 +614,39 @@ export function onFigureEvent(callback) {
|
|
|
633
614
|
}
|
|
634
615
|
}
|
|
635
616
|
|
|
617
|
+
/**
|
|
618
|
+
* @param {any} bindings
|
|
619
|
+
*/
|
|
620
|
+
export function registerFsProvider(bindings) {
|
|
621
|
+
const ret = wasm.registerFsProvider(bindings);
|
|
622
|
+
if (ret[1]) {
|
|
623
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* @param {any} options
|
|
629
|
+
* @returns {Promise<RunMatWasm>}
|
|
630
|
+
*/
|
|
631
|
+
export function initRunMat(options) {
|
|
632
|
+
const ret = wasm.initRunMat(options);
|
|
633
|
+
return ret;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
636
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
637
|
-
wasm.
|
|
637
|
+
wasm.closure2803_externref_shim(arg0, arg1, arg2);
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
function __wbg_adapter_59(arg0, arg1, arg2) {
|
|
641
|
-
wasm.
|
|
641
|
+
wasm.closure7484_externref_shim(arg0, arg1, arg2);
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
function __wbg_adapter_62(arg0, arg1, arg2) {
|
|
645
|
-
wasm.
|
|
645
|
+
wasm.closure7491_externref_shim(arg0, arg1, arg2);
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
function __wbg_adapter_622(arg0, arg1, arg2, arg3) {
|
|
649
|
-
wasm.
|
|
649
|
+
wasm.closure7522_externref_shim(arg0, arg1, arg2, arg3);
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
@@ -2142,16 +2142,16 @@ function __wbg_get_imports() {
|
|
|
2142
2142
|
const ret = false;
|
|
2143
2143
|
return ret;
|
|
2144
2144
|
};
|
|
2145
|
-
imports.wbg.
|
|
2146
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2145
|
+
imports.wbg.__wbindgen_closure_wrapper23140 = function(arg0, arg1, arg2) {
|
|
2146
|
+
const ret = makeMutClosure(arg0, arg1, 7485, __wbg_adapter_59);
|
|
2147
2147
|
return ret;
|
|
2148
2148
|
};
|
|
2149
|
-
imports.wbg.
|
|
2150
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2149
|
+
imports.wbg.__wbindgen_closure_wrapper23555 = function(arg0, arg1, arg2) {
|
|
2150
|
+
const ret = makeMutClosure(arg0, arg1, 7492, __wbg_adapter_62);
|
|
2151
2151
|
return ret;
|
|
2152
2152
|
};
|
|
2153
|
-
imports.wbg.
|
|
2154
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2153
|
+
imports.wbg.__wbindgen_closure_wrapper6799 = function(arg0, arg1, arg2) {
|
|
2154
|
+
const ret = makeMutClosure(arg0, arg1, 2804, __wbg_adapter_56);
|
|
2155
2155
|
return ret;
|
|
2156
2156
|
};
|
|
2157
2157
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -8,8 +8,6 @@ export const setLogFilter: (a: number, b: number) => [number, number];
|
|
|
8
8
|
export const unsubscribeRuntimeLog: (a: number) => void;
|
|
9
9
|
export const subscribeTraceEvents: (a: any) => [number, number, number];
|
|
10
10
|
export const unsubscribeTraceEvents: (a: number) => void;
|
|
11
|
-
export const registerFsProvider: (a: any) => [number, number];
|
|
12
|
-
export const initRunMat: (a: any) => any;
|
|
13
11
|
export const __wbg_runmatwasm_free: (a: number, b: number) => void;
|
|
14
12
|
export const runmatwasm_execute: (a: number, b: number, c: number) => any;
|
|
15
13
|
export const runmatwasm_resetSession: (a: number) => [number, number];
|
|
@@ -67,6 +65,8 @@ export const newFigureHandle: () => number;
|
|
|
67
65
|
export const currentFigureHandle: () => number;
|
|
68
66
|
export const selectFigure: (a: number) => void;
|
|
69
67
|
export const destroyPlotSurface: (a: number) => void;
|
|
68
|
+
export const registerFsProvider: (a: any) => [number, number];
|
|
69
|
+
export const initRunMat: (a: any) => any;
|
|
70
70
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
71
71
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
72
72
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
@@ -75,8 +75,8 @@ export const __wbindgen_export_4: WebAssembly.Table;
|
|
|
75
75
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
76
76
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
77
77
|
export const __externref_table_dealloc: (a: number) => void;
|
|
78
|
-
export const
|
|
79
|
-
export const
|
|
80
|
-
export const
|
|
81
|
-
export const
|
|
78
|
+
export const closure2803_externref_shim: (a: number, b: number, c: any) => void;
|
|
79
|
+
export const closure7484_externref_shim: (a: number, b: number, c: any) => void;
|
|
80
|
+
export const closure7491_externref_shim: (a: number, b: number, c: any) => void;
|
|
81
|
+
export const closure7522_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
82
82
|
export const __wbindgen_start: () => void;
|
|
Binary file
|