runmat 0.4.10-dev.11 → 0.4.10-dev.12
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/lsp/runmat_lsp.d.ts +3 -3
- package/dist/lsp/runmat_lsp.js +7 -7
- package/dist/lsp/runmat_lsp_bg.wasm +0 -0
- package/dist/lsp/runmat_lsp_bg.wasm.d.ts +3 -3
- package/dist/pkg-web/runmat_wasm_web.d.ts +18 -18
- package/dist/pkg-web/runmat_wasm_web.js +79 -79
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +11 -11
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +1 -1
|
Binary file
|
package/dist/lsp/runmat_lsp.d.ts
CHANGED
|
@@ -42,9 +42,9 @@ 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
|
|
47
|
-
readonly
|
|
45
|
+
readonly closure4910_externref_shim: (a: number, b: number, c: any) => void;
|
|
46
|
+
readonly closure4916_externref_shim: (a: number, b: number, c: any) => void;
|
|
47
|
+
readonly closure4959_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
48
48
|
readonly __wbindgen_start: () => void;
|
|
49
49
|
}
|
|
50
50
|
|
package/dist/lsp/runmat_lsp.js
CHANGED
|
@@ -414,15 +414,15 @@ export function setCompatMode(mode) {
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
function __wbg_adapter_36(arg0, arg1, arg2) {
|
|
417
|
-
wasm.
|
|
417
|
+
wasm.closure4910_externref_shim(arg0, arg1, arg2);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
function __wbg_adapter_39(arg0, arg1, arg2) {
|
|
421
|
-
wasm.
|
|
421
|
+
wasm.closure4916_externref_shim(arg0, arg1, arg2);
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
function __wbg_adapter_421(arg0, arg1, arg2, arg3) {
|
|
425
|
-
wasm.
|
|
425
|
+
wasm.closure4959_externref_shim(arg0, arg1, arg2, arg3);
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
@@ -1296,12 +1296,12 @@ function __wbg_get_imports() {
|
|
|
1296
1296
|
const ret = false;
|
|
1297
1297
|
return ret;
|
|
1298
1298
|
};
|
|
1299
|
-
imports.wbg.
|
|
1300
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1299
|
+
imports.wbg.__wbindgen_closure_wrapper17295 = function(arg0, arg1, arg2) {
|
|
1300
|
+
const ret = makeMutClosure(arg0, arg1, 4911, __wbg_adapter_36);
|
|
1301
1301
|
return ret;
|
|
1302
1302
|
};
|
|
1303
|
-
imports.wbg.
|
|
1304
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1303
|
+
imports.wbg.__wbindgen_closure_wrapper17768 = function(arg0, arg1, arg2) {
|
|
1304
|
+
const ret = makeMutClosure(arg0, arg1, 4917, __wbg_adapter_39);
|
|
1305
1305
|
return ret;
|
|
1306
1306
|
};
|
|
1307
1307
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -23,7 +23,7 @@ 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
|
|
28
|
-
export const
|
|
26
|
+
export const closure4910_externref_shim: (a: number, b: number, c: any) => void;
|
|
27
|
+
export const closure4916_externref_shim: (a: number, b: number, c: any) => void;
|
|
28
|
+
export const closure4959_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
29
29
|
export const __wbindgen_start: () => void;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function subscribeStdout(callback: any): number;
|
|
4
|
+
export function unsubscribeStdout(id: number): void;
|
|
5
|
+
export function subscribeRuntimeLog(callback: any): number;
|
|
6
|
+
export function setLogFilter(filter: string): void;
|
|
7
|
+
export function unsubscribeRuntimeLog(id: number): void;
|
|
8
|
+
export function subscribeTraceEvents(callback: any): number;
|
|
9
|
+
export function unsubscribeTraceEvents(id: number): void;
|
|
3
10
|
export function renderCurrentFigureScene(handle: number): void;
|
|
4
11
|
export function createPlotSurface(canvas: any): Promise<number>;
|
|
5
12
|
export function destroyPlotSurface(surface_id: number): void;
|
|
@@ -28,13 +35,6 @@ export function renderFigureImageWithCameraState(handle: any, width: number | nu
|
|
|
28
35
|
export function plotRendererReady(): boolean;
|
|
29
36
|
export function onFigureEvent(callback: any): void;
|
|
30
37
|
export function initRunMat(options: any): Promise<RunMatWasm>;
|
|
31
|
-
export function subscribeStdout(callback: any): number;
|
|
32
|
-
export function unsubscribeStdout(id: number): void;
|
|
33
|
-
export function subscribeRuntimeLog(callback: any): number;
|
|
34
|
-
export function setLogFilter(filter: string): void;
|
|
35
|
-
export function unsubscribeRuntimeLog(id: number): void;
|
|
36
|
-
export function subscribeTraceEvents(callback: any): number;
|
|
37
|
-
export function unsubscribeTraceEvents(id: number): void;
|
|
38
38
|
export class RunMatWasm {
|
|
39
39
|
private constructor();
|
|
40
40
|
free(): void;
|
|
@@ -68,6 +68,13 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
68
68
|
|
|
69
69
|
export interface InitOutput {
|
|
70
70
|
readonly memory: WebAssembly.Memory;
|
|
71
|
+
readonly subscribeStdout: (a: any) => [number, number, number];
|
|
72
|
+
readonly unsubscribeStdout: (a: number) => void;
|
|
73
|
+
readonly subscribeRuntimeLog: (a: any) => [number, number, number];
|
|
74
|
+
readonly setLogFilter: (a: number, b: number) => [number, number];
|
|
75
|
+
readonly unsubscribeRuntimeLog: (a: number) => void;
|
|
76
|
+
readonly subscribeTraceEvents: (a: any) => [number, number, number];
|
|
77
|
+
readonly unsubscribeTraceEvents: (a: number) => void;
|
|
71
78
|
readonly renderCurrentFigureScene: (a: number) => [number, number];
|
|
72
79
|
readonly createPlotSurface: (a: any) => any;
|
|
73
80
|
readonly resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -96,13 +103,6 @@ export interface InitOutput {
|
|
|
96
103
|
readonly selectFigure: (a: number) => void;
|
|
97
104
|
readonly destroyPlotSurface: (a: number) => void;
|
|
98
105
|
readonly initRunMat: (a: any) => any;
|
|
99
|
-
readonly subscribeStdout: (a: any) => [number, number, number];
|
|
100
|
-
readonly unsubscribeStdout: (a: number) => void;
|
|
101
|
-
readonly subscribeRuntimeLog: (a: any) => [number, number, number];
|
|
102
|
-
readonly setLogFilter: (a: number, b: number) => [number, number];
|
|
103
|
-
readonly unsubscribeRuntimeLog: (a: number) => void;
|
|
104
|
-
readonly subscribeTraceEvents: (a: any) => [number, number, number];
|
|
105
|
-
readonly unsubscribeTraceEvents: (a: number) => void;
|
|
106
106
|
readonly __wbg_runmatwasm_free: (a: number, b: number) => void;
|
|
107
107
|
readonly runmatwasm_executeRequest: (a: number, b: any) => any;
|
|
108
108
|
readonly runmatwasm_resetSession: (a: number) => [number, number];
|
|
@@ -136,10 +136,10 @@ export interface InitOutput {
|
|
|
136
136
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
137
137
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
138
138
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
139
|
+
readonly closure3176_externref_shim: (a: number, b: number, c: any) => void;
|
|
140
|
+
readonly closure8012_externref_shim: (a: number, b: number, c: any) => void;
|
|
141
|
+
readonly closure8018_externref_shim: (a: number, b: number, c: any) => void;
|
|
142
|
+
readonly closure8049_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
143
143
|
readonly __wbindgen_start: () => void;
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -222,6 +222,75 @@ function takeFromExternrefTable0(idx) {
|
|
|
222
222
|
wasm.__externref_table_dealloc(idx);
|
|
223
223
|
return value;
|
|
224
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* @param {any} callback
|
|
227
|
+
* @returns {number}
|
|
228
|
+
*/
|
|
229
|
+
export function subscribeStdout(callback) {
|
|
230
|
+
const ret = wasm.subscribeStdout(callback);
|
|
231
|
+
if (ret[2]) {
|
|
232
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
233
|
+
}
|
|
234
|
+
return ret[0] >>> 0;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @param {number} id
|
|
239
|
+
*/
|
|
240
|
+
export function unsubscribeStdout(id) {
|
|
241
|
+
wasm.unsubscribeStdout(id);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @param {any} callback
|
|
246
|
+
* @returns {number}
|
|
247
|
+
*/
|
|
248
|
+
export function subscribeRuntimeLog(callback) {
|
|
249
|
+
const ret = wasm.subscribeRuntimeLog(callback);
|
|
250
|
+
if (ret[2]) {
|
|
251
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
252
|
+
}
|
|
253
|
+
return ret[0] >>> 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @param {string} filter
|
|
258
|
+
*/
|
|
259
|
+
export function setLogFilter(filter) {
|
|
260
|
+
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
261
|
+
const len0 = WASM_VECTOR_LEN;
|
|
262
|
+
const ret = wasm.setLogFilter(ptr0, len0);
|
|
263
|
+
if (ret[1]) {
|
|
264
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @param {number} id
|
|
270
|
+
*/
|
|
271
|
+
export function unsubscribeRuntimeLog(id) {
|
|
272
|
+
wasm.unsubscribeRuntimeLog(id);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @param {any} callback
|
|
277
|
+
* @returns {number}
|
|
278
|
+
*/
|
|
279
|
+
export function subscribeTraceEvents(callback) {
|
|
280
|
+
const ret = wasm.subscribeTraceEvents(callback);
|
|
281
|
+
if (ret[2]) {
|
|
282
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
283
|
+
}
|
|
284
|
+
return ret[0] >>> 0;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @param {number} id
|
|
289
|
+
*/
|
|
290
|
+
export function unsubscribeTraceEvents(id) {
|
|
291
|
+
wasm.unsubscribeTraceEvents(id);
|
|
292
|
+
}
|
|
293
|
+
|
|
225
294
|
/**
|
|
226
295
|
* @param {number} handle
|
|
227
296
|
*/
|
|
@@ -510,75 +579,6 @@ export function initRunMat(options) {
|
|
|
510
579
|
return ret;
|
|
511
580
|
}
|
|
512
581
|
|
|
513
|
-
/**
|
|
514
|
-
* @param {any} callback
|
|
515
|
-
* @returns {number}
|
|
516
|
-
*/
|
|
517
|
-
export function subscribeStdout(callback) {
|
|
518
|
-
const ret = wasm.subscribeStdout(callback);
|
|
519
|
-
if (ret[2]) {
|
|
520
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
521
|
-
}
|
|
522
|
-
return ret[0] >>> 0;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* @param {number} id
|
|
527
|
-
*/
|
|
528
|
-
export function unsubscribeStdout(id) {
|
|
529
|
-
wasm.unsubscribeStdout(id);
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* @param {any} callback
|
|
534
|
-
* @returns {number}
|
|
535
|
-
*/
|
|
536
|
-
export function subscribeRuntimeLog(callback) {
|
|
537
|
-
const ret = wasm.subscribeRuntimeLog(callback);
|
|
538
|
-
if (ret[2]) {
|
|
539
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
540
|
-
}
|
|
541
|
-
return ret[0] >>> 0;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* @param {string} filter
|
|
546
|
-
*/
|
|
547
|
-
export function setLogFilter(filter) {
|
|
548
|
-
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
549
|
-
const len0 = WASM_VECTOR_LEN;
|
|
550
|
-
const ret = wasm.setLogFilter(ptr0, len0);
|
|
551
|
-
if (ret[1]) {
|
|
552
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* @param {number} id
|
|
558
|
-
*/
|
|
559
|
-
export function unsubscribeRuntimeLog(id) {
|
|
560
|
-
wasm.unsubscribeRuntimeLog(id);
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* @param {any} callback
|
|
565
|
-
* @returns {number}
|
|
566
|
-
*/
|
|
567
|
-
export function subscribeTraceEvents(callback) {
|
|
568
|
-
const ret = wasm.subscribeTraceEvents(callback);
|
|
569
|
-
if (ret[2]) {
|
|
570
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
571
|
-
}
|
|
572
|
-
return ret[0] >>> 0;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* @param {number} id
|
|
577
|
-
*/
|
|
578
|
-
export function unsubscribeTraceEvents(id) {
|
|
579
|
-
wasm.unsubscribeTraceEvents(id);
|
|
580
|
-
}
|
|
581
|
-
|
|
582
582
|
function passArray8ToWasm0(arg, malloc) {
|
|
583
583
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
584
584
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -586,19 +586,19 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
586
586
|
return ptr;
|
|
587
587
|
}
|
|
588
588
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
589
|
-
wasm.
|
|
589
|
+
wasm.closure3176_externref_shim(arg0, arg1, arg2);
|
|
590
590
|
}
|
|
591
591
|
|
|
592
592
|
function __wbg_adapter_59(arg0, arg1, arg2) {
|
|
593
|
-
wasm.
|
|
593
|
+
wasm.closure8012_externref_shim(arg0, arg1, arg2);
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
function __wbg_adapter_62(arg0, arg1, arg2) {
|
|
597
|
-
wasm.
|
|
597
|
+
wasm.closure8018_externref_shim(arg0, arg1, arg2);
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
function __wbg_adapter_616(arg0, arg1, arg2, arg3) {
|
|
601
|
-
wasm.
|
|
601
|
+
wasm.closure8049_externref_shim(arg0, arg1, arg2, arg3);
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
@@ -2093,16 +2093,16 @@ function __wbg_get_imports() {
|
|
|
2093
2093
|
const ret = false;
|
|
2094
2094
|
return ret;
|
|
2095
2095
|
};
|
|
2096
|
-
imports.wbg.
|
|
2097
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2096
|
+
imports.wbg.__wbindgen_closure_wrapper25914 = function(arg0, arg1, arg2) {
|
|
2097
|
+
const ret = makeMutClosure(arg0, arg1, 8013, __wbg_adapter_59);
|
|
2098
2098
|
return ret;
|
|
2099
2099
|
};
|
|
2100
|
-
imports.wbg.
|
|
2101
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2100
|
+
imports.wbg.__wbindgen_closure_wrapper26329 = function(arg0, arg1, arg2) {
|
|
2101
|
+
const ret = makeMutClosure(arg0, arg1, 8019, __wbg_adapter_62);
|
|
2102
2102
|
return ret;
|
|
2103
2103
|
};
|
|
2104
|
-
imports.wbg.
|
|
2105
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2104
|
+
imports.wbg.__wbindgen_closure_wrapper8295 = function(arg0, arg1, arg2) {
|
|
2105
|
+
const ret = makeMutClosure(arg0, arg1, 3177, __wbg_adapter_56);
|
|
2106
2106
|
return ret;
|
|
2107
2107
|
};
|
|
2108
2108
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const subscribeStdout: (a: any) => [number, number, number];
|
|
5
|
+
export const unsubscribeStdout: (a: number) => void;
|
|
6
|
+
export const subscribeRuntimeLog: (a: any) => [number, number, number];
|
|
7
|
+
export const setLogFilter: (a: number, b: number) => [number, number];
|
|
8
|
+
export const unsubscribeRuntimeLog: (a: number) => void;
|
|
9
|
+
export const subscribeTraceEvents: (a: any) => [number, number, number];
|
|
10
|
+
export const unsubscribeTraceEvents: (a: number) => void;
|
|
4
11
|
export const renderCurrentFigureScene: (a: number) => [number, number];
|
|
5
12
|
export const createPlotSurface: (a: any) => any;
|
|
6
13
|
export const resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -29,13 +36,6 @@ export const currentFigureHandle: () => number;
|
|
|
29
36
|
export const selectFigure: (a: number) => void;
|
|
30
37
|
export const destroyPlotSurface: (a: number) => void;
|
|
31
38
|
export const initRunMat: (a: any) => any;
|
|
32
|
-
export const subscribeStdout: (a: any) => [number, number, number];
|
|
33
|
-
export const unsubscribeStdout: (a: number) => void;
|
|
34
|
-
export const subscribeRuntimeLog: (a: any) => [number, number, number];
|
|
35
|
-
export const setLogFilter: (a: number, b: number) => [number, number];
|
|
36
|
-
export const unsubscribeRuntimeLog: (a: number) => void;
|
|
37
|
-
export const subscribeTraceEvents: (a: any) => [number, number, number];
|
|
38
|
-
export const unsubscribeTraceEvents: (a: number) => void;
|
|
39
39
|
export const __wbg_runmatwasm_free: (a: number, b: number) => void;
|
|
40
40
|
export const runmatwasm_executeRequest: (a: number, b: any) => any;
|
|
41
41
|
export const runmatwasm_resetSession: (a: number) => [number, number];
|
|
@@ -69,8 +69,8 @@ export const __wbindgen_export_4: WebAssembly.Table;
|
|
|
69
69
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
70
70
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
71
71
|
export const __externref_table_dealloc: (a: number) => void;
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
72
|
+
export const closure3176_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure8012_externref_shim: (a: number, b: number, c: any) => void;
|
|
74
|
+
export const closure8018_externref_shim: (a: number, b: number, c: any) => void;
|
|
75
|
+
export const closure8049_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
76
76
|
export const __wbindgen_start: () => void;
|
|
Binary file
|