runmat 0.5.2-dev.1 → 0.5.2-dev.3
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/double.d.ts.map +1 -1
- package/dist/generated/builtins/double.js +10 -0
- package/dist/generated/builtins/double.js.map +1 -1
- package/dist/generated/builtins/linprog.d.ts +4 -0
- package/dist/generated/builtins/linprog.d.ts.map +1 -0
- package/dist/generated/builtins/linprog.js +106 -0
- package/dist/generated/builtins/linprog.js.map +1 -0
- package/dist/generated/builtins-manifest.d.ts.map +1 -1
- package/dist/generated/builtins-manifest.js +22 -1
- package/dist/generated/builtins-manifest.js.map +1 -1
- 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 +6 -6
- package/dist/pkg-web/runmat_wasm_web.js +18 -19
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +5 -5
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +1 -1
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 closure4946_externref_shim: (a: number, b: number, c: any) => void;
|
|
46
|
+
readonly closure4952_externref_shim: (a: number, b: number, c: any) => void;
|
|
47
|
+
readonly closure4995_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.closure4946_externref_shim(arg0, arg1, arg2);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
function __wbg_adapter_39(arg0, arg1, arg2) {
|
|
421
|
-
wasm.
|
|
421
|
+
wasm.closure4952_externref_shim(arg0, arg1, arg2);
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
function __wbg_adapter_421(arg0, arg1, arg2, arg3) {
|
|
425
|
-
wasm.
|
|
425
|
+
wasm.closure4995_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_wrapper17375 = function(arg0, arg1, arg2) {
|
|
1300
|
+
const ret = makeMutClosure(arg0, arg1, 4947, __wbg_adapter_36);
|
|
1301
1301
|
return ret;
|
|
1302
1302
|
};
|
|
1303
|
-
imports.wbg.
|
|
1304
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1303
|
+
imports.wbg.__wbindgen_closure_wrapper17848 = function(arg0, arg1, arg2) {
|
|
1304
|
+
const ret = makeMutClosure(arg0, arg1, 4953, __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 closure4946_externref_shim: (a: number, b: number, c: any) => void;
|
|
27
|
+
export const closure4952_externref_shim: (a: number, b: number, c: any) => void;
|
|
28
|
+
export const closure4995_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
29
29
|
export const __wbindgen_start: () => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function initRunMat(options: any): Promise<RunMatWasm>;
|
|
3
4
|
export function renderCurrentFigureScene(handle: number): void;
|
|
4
5
|
export function createPlotSurface(canvas: any): Promise<number>;
|
|
5
6
|
export function destroyPlotSurface(surface_id: number): void;
|
|
@@ -34,7 +35,6 @@ export function setLogFilter(filter: string): void;
|
|
|
34
35
|
export function unsubscribeRuntimeLog(id: number): void;
|
|
35
36
|
export function subscribeTraceEvents(callback: any): number;
|
|
36
37
|
export function unsubscribeTraceEvents(id: number): void;
|
|
37
|
-
export function initRunMat(options: any): Promise<RunMatWasm>;
|
|
38
38
|
export class RunMatWasm {
|
|
39
39
|
private constructor();
|
|
40
40
|
free(): void;
|
|
@@ -68,6 +68,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
68
68
|
|
|
69
69
|
export interface InitOutput {
|
|
70
70
|
readonly memory: WebAssembly.Memory;
|
|
71
|
+
readonly initRunMat: (a: any) => any;
|
|
71
72
|
readonly renderCurrentFigureScene: (a: number) => [number, number];
|
|
72
73
|
readonly createPlotSurface: (a: any) => any;
|
|
73
74
|
readonly resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -127,7 +128,6 @@ export interface InitOutput {
|
|
|
127
128
|
readonly unsubscribeRuntimeLog: (a: number) => void;
|
|
128
129
|
readonly subscribeTraceEvents: (a: any) => [number, number, number];
|
|
129
130
|
readonly unsubscribeTraceEvents: (a: number) => void;
|
|
130
|
-
readonly initRunMat: (a: any) => any;
|
|
131
131
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
132
132
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
133
133
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -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 closure2940_externref_shim: (a: number, b: number, c: any) => void;
|
|
140
|
+
readonly closure8016_externref_shim: (a: number, b: number, c: any) => void;
|
|
141
|
+
readonly closure8022_externref_shim: (a: number, b: number, c: any) => void;
|
|
142
|
+
readonly closure8053_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
143
143
|
readonly __wbindgen_start: () => void;
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -216,6 +216,14 @@ function debugString(val) {
|
|
|
216
216
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
217
217
|
return className;
|
|
218
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* @param {any} options
|
|
221
|
+
* @returns {Promise<RunMatWasm>}
|
|
222
|
+
*/
|
|
223
|
+
export function initRunMat(options) {
|
|
224
|
+
const ret = wasm.initRunMat(options);
|
|
225
|
+
return ret;
|
|
226
|
+
}
|
|
219
227
|
|
|
220
228
|
function takeFromExternrefTable0(idx) {
|
|
221
229
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
@@ -576,29 +584,20 @@ export function unsubscribeTraceEvents(id) {
|
|
|
576
584
|
wasm.unsubscribeTraceEvents(id);
|
|
577
585
|
}
|
|
578
586
|
|
|
579
|
-
/**
|
|
580
|
-
* @param {any} options
|
|
581
|
-
* @returns {Promise<RunMatWasm>}
|
|
582
|
-
*/
|
|
583
|
-
export function initRunMat(options) {
|
|
584
|
-
const ret = wasm.initRunMat(options);
|
|
585
|
-
return ret;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
587
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
589
|
-
wasm.
|
|
588
|
+
wasm.closure2940_externref_shim(arg0, arg1, arg2);
|
|
590
589
|
}
|
|
591
590
|
|
|
592
591
|
function __wbg_adapter_59(arg0, arg1, arg2) {
|
|
593
|
-
wasm.
|
|
592
|
+
wasm.closure8016_externref_shim(arg0, arg1, arg2);
|
|
594
593
|
}
|
|
595
594
|
|
|
596
595
|
function __wbg_adapter_62(arg0, arg1, arg2) {
|
|
597
|
-
wasm.
|
|
596
|
+
wasm.closure8022_externref_shim(arg0, arg1, arg2);
|
|
598
597
|
}
|
|
599
598
|
|
|
600
599
|
function __wbg_adapter_616(arg0, arg1, arg2, arg3) {
|
|
601
|
-
wasm.
|
|
600
|
+
wasm.closure8053_externref_shim(arg0, arg1, arg2, arg3);
|
|
602
601
|
}
|
|
603
602
|
|
|
604
603
|
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
@@ -2093,16 +2092,16 @@ function __wbg_get_imports() {
|
|
|
2093
2092
|
const ret = false;
|
|
2094
2093
|
return ret;
|
|
2095
2094
|
};
|
|
2096
|
-
imports.wbg.
|
|
2097
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2095
|
+
imports.wbg.__wbindgen_closure_wrapper26024 = function(arg0, arg1, arg2) {
|
|
2096
|
+
const ret = makeMutClosure(arg0, arg1, 8017, __wbg_adapter_59);
|
|
2098
2097
|
return ret;
|
|
2099
2098
|
};
|
|
2100
|
-
imports.wbg.
|
|
2101
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2099
|
+
imports.wbg.__wbindgen_closure_wrapper26439 = function(arg0, arg1, arg2) {
|
|
2100
|
+
const ret = makeMutClosure(arg0, arg1, 8023, __wbg_adapter_62);
|
|
2102
2101
|
return ret;
|
|
2103
2102
|
};
|
|
2104
|
-
imports.wbg.
|
|
2105
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2103
|
+
imports.wbg.__wbindgen_closure_wrapper8160 = function(arg0, arg1, arg2) {
|
|
2104
|
+
const ret = makeMutClosure(arg0, arg1, 2941, __wbg_adapter_56);
|
|
2106
2105
|
return ret;
|
|
2107
2106
|
};
|
|
2108
2107
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const initRunMat: (a: any) => any;
|
|
4
5
|
export const renderCurrentFigureScene: (a: number) => [number, number];
|
|
5
6
|
export const createPlotSurface: (a: any) => any;
|
|
6
7
|
export const resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -60,7 +61,6 @@ export const setLogFilter: (a: number, b: number) => [number, number];
|
|
|
60
61
|
export const unsubscribeRuntimeLog: (a: number) => void;
|
|
61
62
|
export const subscribeTraceEvents: (a: any) => [number, number, number];
|
|
62
63
|
export const unsubscribeTraceEvents: (a: number) => void;
|
|
63
|
-
export const initRunMat: (a: any) => any;
|
|
64
64
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
65
65
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
66
66
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
@@ -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 closure2940_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure8016_externref_shim: (a: number, b: number, c: any) => void;
|
|
74
|
+
export const closure8022_externref_shim: (a: number, b: number, c: any) => void;
|
|
75
|
+
export const closure8053_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
76
76
|
export const __wbindgen_start: () => void;
|
|
Binary file
|