runmat 0.4.8-dev.0 → 0.4.8

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.
@@ -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 closure4102_externref_shim: (a: number, b: number, c: any) => void;
46
- readonly closure4124_externref_shim: (a: number, b: number, c: any, d: any) => void;
45
+ readonly closure4104_externref_shim: (a: number, b: number, c: any) => void;
46
+ readonly closure4126_externref_shim: (a: number, b: number, c: any, d: any) => void;
47
47
  readonly __wbindgen_start: () => void;
48
48
  }
49
49
 
@@ -405,11 +405,11 @@ export function setCompatMode(mode) {
405
405
  }
406
406
 
407
407
  function __wbg_adapter_32(arg0, arg1, arg2) {
408
- wasm.closure4102_externref_shim(arg0, arg1, arg2);
408
+ wasm.closure4104_externref_shim(arg0, arg1, arg2);
409
409
  }
410
410
 
411
411
  function __wbg_adapter_124(arg0, arg1, arg2, arg3) {
412
- wasm.closure4124_externref_shim(arg0, arg1, arg2, arg3);
412
+ wasm.closure4126_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.__wbindgen_closure_wrapper14403 = function(arg0, arg1, arg2) {
697
- const ret = makeMutClosure(arg0, arg1, 4103, __wbg_adapter_32);
696
+ imports.wbg.__wbindgen_closure_wrapper14325 = function(arg0, arg1, arg2) {
697
+ const ret = makeMutClosure(arg0, arg1, 4105, __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 closure4102_externref_shim: (a: number, b: number, c: any) => void;
27
- export const closure4124_externref_shim: (a: number, b: number, c: any, d: any) => void;
26
+ export const closure4104_externref_shim: (a: number, b: number, c: any) => void;
27
+ export const closure4126_externref_shim: (a: number, b: number, c: any, d: any) => void;
28
28
  export const __wbindgen_start: () => void;
@@ -1,5 +1,14 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export function registerFsProvider(bindings: any): void;
4
+ export function initRunMat(options: any): Promise<RunMatWasm>;
5
+ export function subscribeStdout(callback: any): number;
6
+ export function unsubscribeStdout(id: number): void;
7
+ export function subscribeRuntimeLog(callback: any): number;
8
+ export function setLogFilter(filter: string): void;
9
+ export function unsubscribeRuntimeLog(id: number): void;
10
+ export function subscribeTraceEvents(callback: any): number;
11
+ export function unsubscribeTraceEvents(id: number): void;
3
12
  export function registerPlotCanvas(canvas: any): Promise<void>;
4
13
  export function registerFigureCanvas(handle: number, canvas: any): Promise<void>;
5
14
  export function deregisterPlotCanvas(): void;
@@ -31,15 +40,6 @@ export function renderFigureImageWithTextmark(handle: any, width?: number | null
31
40
  export function renderFigureImageWithCameraState(handle: any, width: number | null | undefined, height: number | null | undefined, camera_state: any, textmark?: string | null): Promise<Uint8Array>;
32
41
  export function plotRendererReady(): boolean;
33
42
  export function onFigureEvent(callback: any): void;
34
- export function subscribeStdout(callback: any): number;
35
- export function unsubscribeStdout(id: number): void;
36
- export function subscribeRuntimeLog(callback: any): number;
37
- export function setLogFilter(filter: string): void;
38
- export function unsubscribeRuntimeLog(id: number): void;
39
- export function subscribeTraceEvents(callback: any): number;
40
- export function unsubscribeTraceEvents(id: number): 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;
@@ -74,37 +74,8 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
74
74
 
75
75
  export interface InitOutput {
76
76
  readonly memory: WebAssembly.Memory;
77
- readonly registerPlotCanvas: (a: any) => any;
78
- readonly registerFigureCanvas: (a: number, b: any) => any;
79
- readonly deregisterFigureCanvas: (a: number) => void;
80
- readonly resizeFigureCanvas: (a: number, b: number, c: number) => [number, number];
81
- readonly renderCurrentFigureScene: (a: number) => [number, number];
82
- readonly createPlotSurface: (a: any) => any;
83
- readonly resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
84
- readonly bindSurfaceToFigure: (a: number, b: number) => [number, number];
85
- readonly presentSurface: (a: number) => [number, number];
86
- readonly presentFigureOnSurface: (a: number, b: number) => [number, number];
87
- readonly handlePlotSurfaceEvent: (a: number, b: any) => [number, number];
88
- readonly fitPlotSurfaceExtents: (a: number) => [number, number];
89
- readonly resetPlotSurfaceCamera: (a: number) => [number, number];
90
- readonly getPlotSurfaceCameraState: (a: number) => [number, number, number];
91
- readonly setPlotSurfaceCameraState: (a: number, b: any) => [number, number];
92
- readonly setPlotThemeConfig: (a: any) => [number, number];
93
- readonly configureSubplot: (a: number, b: number, c: number) => [number, number];
94
- readonly setHoldMode: (a: any) => [number, number, number];
95
- readonly clearFigure: (a: any) => [number, number, number];
96
- readonly closeFigure: (a: any) => [number, number, number];
97
- readonly currentAxesInfo: () => any;
98
- readonly renderFigureImage: (a: any, b: number, c: number, d: number, e: number) => any;
99
- readonly renderFigureImageWithTextmark: (a: any, b: number, c: number, d: number, e: number) => any;
100
- readonly renderFigureImageWithCameraState: (a: any, b: number, c: number, d: any, e: number, f: number) => any;
101
- readonly plotRendererReady: () => number;
102
- readonly onFigureEvent: (a: any) => [number, number];
103
- readonly deregisterPlotCanvas: () => void;
104
- readonly newFigureHandle: () => number;
105
- readonly currentFigureHandle: () => number;
106
- readonly selectFigure: (a: number) => void;
107
- readonly destroyPlotSurface: (a: number) => void;
77
+ readonly registerFsProvider: (a: any) => [number, number];
78
+ readonly initRunMat: (a: any) => any;
108
79
  readonly __wbg_runmatwasm_free: (a: number, b: number) => void;
109
80
  readonly runmatwasm_execute: (a: number, b: number, c: number) => any;
110
81
  readonly runmatwasm_resetSession: (a: number) => [number, number];
@@ -138,8 +109,37 @@ export interface InitOutput {
138
109
  readonly unsubscribeRuntimeLog: (a: number) => void;
139
110
  readonly subscribeTraceEvents: (a: any) => [number, number, number];
140
111
  readonly unsubscribeTraceEvents: (a: number) => void;
141
- readonly registerFsProvider: (a: any) => [number, number];
142
- readonly initRunMat: (a: any) => any;
112
+ readonly registerPlotCanvas: (a: any) => any;
113
+ readonly registerFigureCanvas: (a: number, b: any) => any;
114
+ readonly deregisterFigureCanvas: (a: number) => void;
115
+ readonly resizeFigureCanvas: (a: number, b: number, c: number) => [number, number];
116
+ readonly renderCurrentFigureScene: (a: number) => [number, number];
117
+ readonly createPlotSurface: (a: any) => any;
118
+ readonly resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
119
+ readonly bindSurfaceToFigure: (a: number, b: number) => [number, number];
120
+ readonly presentSurface: (a: number) => [number, number];
121
+ readonly presentFigureOnSurface: (a: number, b: number) => [number, number];
122
+ readonly handlePlotSurfaceEvent: (a: number, b: any) => [number, number];
123
+ readonly fitPlotSurfaceExtents: (a: number) => [number, number];
124
+ readonly resetPlotSurfaceCamera: (a: number) => [number, number];
125
+ readonly getPlotSurfaceCameraState: (a: number) => [number, number, number];
126
+ readonly setPlotSurfaceCameraState: (a: number, b: any) => [number, number];
127
+ readonly setPlotThemeConfig: (a: any) => [number, number];
128
+ readonly configureSubplot: (a: number, b: number, c: number) => [number, number];
129
+ readonly setHoldMode: (a: any) => [number, number, number];
130
+ readonly clearFigure: (a: any) => [number, number, number];
131
+ readonly closeFigure: (a: any) => [number, number, number];
132
+ readonly currentAxesInfo: () => any;
133
+ readonly renderFigureImage: (a: any, b: number, c: number, d: number, e: number) => any;
134
+ readonly renderFigureImageWithTextmark: (a: any, b: number, c: number, d: number, e: number) => any;
135
+ readonly renderFigureImageWithCameraState: (a: any, b: number, c: number, d: any, e: number, f: number) => any;
136
+ readonly plotRendererReady: () => number;
137
+ readonly onFigureEvent: (a: any) => [number, number];
138
+ readonly deregisterPlotCanvas: () => void;
139
+ readonly newFigureHandle: () => number;
140
+ readonly currentFigureHandle: () => number;
141
+ readonly selectFigure: (a: number) => void;
142
+ readonly destroyPlotSurface: (a: number) => void;
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 closure2699_externref_shim: (a: number, b: number, c: any) => void;
152
- readonly closure7596_externref_shim: (a: number, b: number, c: any) => void;
153
- readonly closure7603_externref_shim: (a: number, b: number, c: any) => void;
154
- readonly closure7634_externref_shim: (a: number, b: number, c: any, d: any) => void;
151
+ readonly closure2686_externref_shim: (a: number, b: number, c: any) => void;
152
+ readonly closure7581_externref_shim: (a: number, b: number, c: any) => void;
153
+ readonly closure7588_externref_shim: (a: number, b: number, c: any) => void;
154
+ readonly closure7619_externref_shim: (a: number, b: number, c: any, d: any) => void;
155
155
  readonly __wbindgen_start: () => void;
156
156
  }
157
157
 
@@ -216,6 +216,106 @@ 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
+ function takeFromExternrefTable0(idx) {
221
+ const value = wasm.__wbindgen_export_4.get(idx);
222
+ wasm.__externref_table_dealloc(idx);
223
+ return value;
224
+ }
225
+ /**
226
+ * @param {any} bindings
227
+ */
228
+ export function registerFsProvider(bindings) {
229
+ const ret = wasm.registerFsProvider(bindings);
230
+ if (ret[1]) {
231
+ throw takeFromExternrefTable0(ret[0]);
232
+ }
233
+ }
234
+
235
+ /**
236
+ * @param {any} options
237
+ * @returns {Promise<RunMatWasm>}
238
+ */
239
+ export function initRunMat(options) {
240
+ const ret = wasm.initRunMat(options);
241
+ return ret;
242
+ }
243
+
244
+ function passArray8ToWasm0(arg, malloc) {
245
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
246
+ getUint8ArrayMemory0().set(arg, ptr / 1);
247
+ WASM_VECTOR_LEN = arg.length;
248
+ return ptr;
249
+ }
250
+ /**
251
+ * @param {any} callback
252
+ * @returns {number}
253
+ */
254
+ export function subscribeStdout(callback) {
255
+ const ret = wasm.subscribeStdout(callback);
256
+ if (ret[2]) {
257
+ throw takeFromExternrefTable0(ret[1]);
258
+ }
259
+ return ret[0] >>> 0;
260
+ }
261
+
262
+ /**
263
+ * @param {number} id
264
+ */
265
+ export function unsubscribeStdout(id) {
266
+ wasm.unsubscribeStdout(id);
267
+ }
268
+
269
+ /**
270
+ * @param {any} callback
271
+ * @returns {number}
272
+ */
273
+ export function subscribeRuntimeLog(callback) {
274
+ const ret = wasm.subscribeRuntimeLog(callback);
275
+ if (ret[2]) {
276
+ throw takeFromExternrefTable0(ret[1]);
277
+ }
278
+ return ret[0] >>> 0;
279
+ }
280
+
281
+ /**
282
+ * @param {string} filter
283
+ */
284
+ export function setLogFilter(filter) {
285
+ const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
286
+ const len0 = WASM_VECTOR_LEN;
287
+ const ret = wasm.setLogFilter(ptr0, len0);
288
+ if (ret[1]) {
289
+ throw takeFromExternrefTable0(ret[0]);
290
+ }
291
+ }
292
+
293
+ /**
294
+ * @param {number} id
295
+ */
296
+ export function unsubscribeRuntimeLog(id) {
297
+ wasm.unsubscribeRuntimeLog(id);
298
+ }
299
+
300
+ /**
301
+ * @param {any} callback
302
+ * @returns {number}
303
+ */
304
+ export function subscribeTraceEvents(callback) {
305
+ const ret = wasm.subscribeTraceEvents(callback);
306
+ if (ret[2]) {
307
+ throw takeFromExternrefTable0(ret[1]);
308
+ }
309
+ return ret[0] >>> 0;
310
+ }
311
+
312
+ /**
313
+ * @param {number} id
314
+ */
315
+ export function unsubscribeTraceEvents(id) {
316
+ wasm.unsubscribeTraceEvents(id);
317
+ }
318
+
219
319
  /**
220
320
  * @param {any} canvas
221
321
  * @returns {Promise<void>}
@@ -246,11 +346,6 @@ export function deregisterFigureCanvas(handle) {
246
346
  wasm.deregisterFigureCanvas(handle);
247
347
  }
248
348
 
249
- function takeFromExternrefTable0(idx) {
250
- const value = wasm.__wbindgen_export_4.get(idx);
251
- wasm.__externref_table_dealloc(idx);
252
- return value;
253
- }
254
349
  /**
255
350
  * @param {number} handle
256
351
  * @param {number} width
@@ -538,114 +633,20 @@ export function onFigureEvent(callback) {
538
633
  }
539
634
  }
540
635
 
541
- function passArray8ToWasm0(arg, malloc) {
542
- const ptr = malloc(arg.length * 1, 1) >>> 0;
543
- getUint8ArrayMemory0().set(arg, ptr / 1);
544
- WASM_VECTOR_LEN = arg.length;
545
- return ptr;
546
- }
547
- /**
548
- * @param {any} callback
549
- * @returns {number}
550
- */
551
- export function subscribeStdout(callback) {
552
- const ret = wasm.subscribeStdout(callback);
553
- if (ret[2]) {
554
- throw takeFromExternrefTable0(ret[1]);
555
- }
556
- return ret[0] >>> 0;
557
- }
558
-
559
- /**
560
- * @param {number} id
561
- */
562
- export function unsubscribeStdout(id) {
563
- wasm.unsubscribeStdout(id);
564
- }
565
-
566
- /**
567
- * @param {any} callback
568
- * @returns {number}
569
- */
570
- export function subscribeRuntimeLog(callback) {
571
- const ret = wasm.subscribeRuntimeLog(callback);
572
- if (ret[2]) {
573
- throw takeFromExternrefTable0(ret[1]);
574
- }
575
- return ret[0] >>> 0;
576
- }
577
-
578
- /**
579
- * @param {string} filter
580
- */
581
- export function setLogFilter(filter) {
582
- const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
583
- const len0 = WASM_VECTOR_LEN;
584
- const ret = wasm.setLogFilter(ptr0, len0);
585
- if (ret[1]) {
586
- throw takeFromExternrefTable0(ret[0]);
587
- }
588
- }
589
-
590
- /**
591
- * @param {number} id
592
- */
593
- export function unsubscribeRuntimeLog(id) {
594
- wasm.unsubscribeRuntimeLog(id);
595
- }
596
-
597
- /**
598
- * @param {any} callback
599
- * @returns {number}
600
- */
601
- export function subscribeTraceEvents(callback) {
602
- const ret = wasm.subscribeTraceEvents(callback);
603
- if (ret[2]) {
604
- throw takeFromExternrefTable0(ret[1]);
605
- }
606
- return ret[0] >>> 0;
607
- }
608
-
609
- /**
610
- * @param {number} id
611
- */
612
- export function unsubscribeTraceEvents(id) {
613
- wasm.unsubscribeTraceEvents(id);
614
- }
615
-
616
- /**
617
- * @param {any} bindings
618
- */
619
- export function registerFsProvider(bindings) {
620
- const ret = wasm.registerFsProvider(bindings);
621
- if (ret[1]) {
622
- throw takeFromExternrefTable0(ret[0]);
623
- }
624
- }
625
-
626
- /**
627
- * @param {any} options
628
- * @returns {Promise<RunMatWasm>}
629
- */
630
- export function initRunMat(options) {
631
- const ret = wasm.initRunMat(options);
632
- return ret;
633
- }
634
-
635
636
  function __wbg_adapter_56(arg0, arg1, arg2) {
636
- wasm.closure2699_externref_shim(arg0, arg1, arg2);
637
+ wasm.closure2686_externref_shim(arg0, arg1, arg2);
637
638
  }
638
639
 
639
640
  function __wbg_adapter_59(arg0, arg1, arg2) {
640
- wasm.closure7596_externref_shim(arg0, arg1, arg2);
641
+ wasm.closure7581_externref_shim(arg0, arg1, arg2);
641
642
  }
642
643
 
643
644
  function __wbg_adapter_62(arg0, arg1, arg2) {
644
- wasm.closure7603_externref_shim(arg0, arg1, arg2);
645
+ wasm.closure7588_externref_shim(arg0, arg1, arg2);
645
646
  }
646
647
 
647
648
  function __wbg_adapter_622(arg0, arg1, arg2, arg3) {
648
- wasm.closure7634_externref_shim(arg0, arg1, arg2, arg3);
649
+ wasm.closure7619_externref_shim(arg0, arg1, arg2, arg3);
649
650
  }
650
651
 
651
652
  const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
@@ -2141,16 +2142,16 @@ function __wbg_get_imports() {
2141
2142
  const ret = false;
2142
2143
  return ret;
2143
2144
  };
2144
- imports.wbg.__wbindgen_closure_wrapper23458 = function(arg0, arg1, arg2) {
2145
- const ret = makeMutClosure(arg0, arg1, 7597, __wbg_adapter_59);
2145
+ imports.wbg.__wbindgen_closure_wrapper23453 = function(arg0, arg1, arg2) {
2146
+ const ret = makeMutClosure(arg0, arg1, 7582, __wbg_adapter_59);
2146
2147
  return ret;
2147
2148
  };
2148
- imports.wbg.__wbindgen_closure_wrapper23873 = function(arg0, arg1, arg2) {
2149
- const ret = makeMutClosure(arg0, arg1, 7604, __wbg_adapter_62);
2149
+ imports.wbg.__wbindgen_closure_wrapper23868 = function(arg0, arg1, arg2) {
2150
+ const ret = makeMutClosure(arg0, arg1, 7589, __wbg_adapter_62);
2150
2151
  return ret;
2151
2152
  };
2152
- imports.wbg.__wbindgen_closure_wrapper6665 = function(arg0, arg1, arg2) {
2153
- const ret = makeMutClosure(arg0, arg1, 2700, __wbg_adapter_56);
2153
+ imports.wbg.__wbindgen_closure_wrapper6659 = function(arg0, arg1, arg2) {
2154
+ const ret = makeMutClosure(arg0, arg1, 2687, __wbg_adapter_56);
2154
2155
  return ret;
2155
2156
  };
2156
2157
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
@@ -1,37 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const registerPlotCanvas: (a: any) => any;
5
- export const registerFigureCanvas: (a: number, b: any) => any;
6
- export const deregisterFigureCanvas: (a: number) => void;
7
- export const resizeFigureCanvas: (a: number, b: number, c: number) => [number, number];
8
- export const renderCurrentFigureScene: (a: number) => [number, number];
9
- export const createPlotSurface: (a: any) => any;
10
- export const resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
11
- export const bindSurfaceToFigure: (a: number, b: number) => [number, number];
12
- export const presentSurface: (a: number) => [number, number];
13
- export const presentFigureOnSurface: (a: number, b: number) => [number, number];
14
- export const handlePlotSurfaceEvent: (a: number, b: any) => [number, number];
15
- export const fitPlotSurfaceExtents: (a: number) => [number, number];
16
- export const resetPlotSurfaceCamera: (a: number) => [number, number];
17
- export const getPlotSurfaceCameraState: (a: number) => [number, number, number];
18
- export const setPlotSurfaceCameraState: (a: number, b: any) => [number, number];
19
- export const setPlotThemeConfig: (a: any) => [number, number];
20
- export const configureSubplot: (a: number, b: number, c: number) => [number, number];
21
- export const setHoldMode: (a: any) => [number, number, number];
22
- export const clearFigure: (a: any) => [number, number, number];
23
- export const closeFigure: (a: any) => [number, number, number];
24
- export const currentAxesInfo: () => any;
25
- export const renderFigureImage: (a: any, b: number, c: number, d: number, e: number) => any;
26
- export const renderFigureImageWithTextmark: (a: any, b: number, c: number, d: number, e: number) => any;
27
- export const renderFigureImageWithCameraState: (a: any, b: number, c: number, d: any, e: number, f: number) => any;
28
- export const plotRendererReady: () => number;
29
- export const onFigureEvent: (a: any) => [number, number];
30
- export const deregisterPlotCanvas: () => void;
31
- export const newFigureHandle: () => number;
32
- export const currentFigureHandle: () => number;
33
- export const selectFigure: (a: number) => void;
34
- export const destroyPlotSurface: (a: number) => void;
4
+ export const registerFsProvider: (a: any) => [number, number];
5
+ export const initRunMat: (a: any) => any;
35
6
  export const __wbg_runmatwasm_free: (a: number, b: number) => void;
36
7
  export const runmatwasm_execute: (a: number, b: number, c: number) => any;
37
8
  export const runmatwasm_resetSession: (a: number) => [number, number];
@@ -65,8 +36,37 @@ export const setLogFilter: (a: number, b: number) => [number, number];
65
36
  export const unsubscribeRuntimeLog: (a: number) => void;
66
37
  export const subscribeTraceEvents: (a: any) => [number, number, number];
67
38
  export const unsubscribeTraceEvents: (a: number) => void;
68
- export const registerFsProvider: (a: any) => [number, number];
69
- export const initRunMat: (a: any) => any;
39
+ export const registerPlotCanvas: (a: any) => any;
40
+ export const registerFigureCanvas: (a: number, b: any) => any;
41
+ export const deregisterFigureCanvas: (a: number) => void;
42
+ export const resizeFigureCanvas: (a: number, b: number, c: number) => [number, number];
43
+ export const renderCurrentFigureScene: (a: number) => [number, number];
44
+ export const createPlotSurface: (a: any) => any;
45
+ export const resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
46
+ export const bindSurfaceToFigure: (a: number, b: number) => [number, number];
47
+ export const presentSurface: (a: number) => [number, number];
48
+ export const presentFigureOnSurface: (a: number, b: number) => [number, number];
49
+ export const handlePlotSurfaceEvent: (a: number, b: any) => [number, number];
50
+ export const fitPlotSurfaceExtents: (a: number) => [number, number];
51
+ export const resetPlotSurfaceCamera: (a: number) => [number, number];
52
+ export const getPlotSurfaceCameraState: (a: number) => [number, number, number];
53
+ export const setPlotSurfaceCameraState: (a: number, b: any) => [number, number];
54
+ export const setPlotThemeConfig: (a: any) => [number, number];
55
+ export const configureSubplot: (a: number, b: number, c: number) => [number, number];
56
+ export const setHoldMode: (a: any) => [number, number, number];
57
+ export const clearFigure: (a: any) => [number, number, number];
58
+ export const closeFigure: (a: any) => [number, number, number];
59
+ export const currentAxesInfo: () => any;
60
+ export const renderFigureImage: (a: any, b: number, c: number, d: number, e: number) => any;
61
+ export const renderFigureImageWithTextmark: (a: any, b: number, c: number, d: number, e: number) => any;
62
+ export const renderFigureImageWithCameraState: (a: any, b: number, c: number, d: any, e: number, f: number) => any;
63
+ export const plotRendererReady: () => number;
64
+ export const onFigureEvent: (a: any) => [number, number];
65
+ export const deregisterPlotCanvas: () => void;
66
+ export const newFigureHandle: () => number;
67
+ export const currentFigureHandle: () => number;
68
+ export const selectFigure: (a: number) => void;
69
+ export const destroyPlotSurface: (a: number) => void;
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 closure2699_externref_shim: (a: number, b: number, c: any) => void;
79
- export const closure7596_externref_shim: (a: number, b: number, c: any) => void;
80
- export const closure7603_externref_shim: (a: number, b: number, c: any) => void;
81
- export const closure7634_externref_shim: (a: number, b: number, c: any, d: any) => void;
78
+ export const closure2686_externref_shim: (a: number, b: number, c: any) => void;
79
+ export const closure7581_externref_shim: (a: number, b: number, c: any) => void;
80
+ export const closure7588_externref_shim: (a: number, b: number, c: any) => void;
81
+ export const closure7619_externref_shim: (a: number, b: number, c: any, d: any) => void;
82
82
  export const __wbindgen_start: () => void;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runmat",
3
- "version": "0.4.8-dev.0",
3
+ "version": "0.4.8",
4
4
  "description": "Blazing fast runtime for math. Run MATLAB code on CPU or GPU.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN ../../LICENSE.md",