runmat 0.4.7-dev.1 → 0.4.7-dev.2

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.
Binary file
@@ -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 closure4084_externref_shim: (a: number, b: number, c: any) => void;
46
- readonly closure4106_externref_shim: (a: number, b: number, c: any, d: any) => void;
45
+ readonly closure4080_externref_shim: (a: number, b: number, c: any) => void;
46
+ readonly closure4102_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.closure4084_externref_shim(arg0, arg1, arg2);
408
+ wasm.closure4080_externref_shim(arg0, arg1, arg2);
409
409
  }
410
410
 
411
411
  function __wbg_adapter_124(arg0, arg1, arg2, arg3) {
412
- wasm.closure4106_externref_shim(arg0, arg1, arg2, arg3);
412
+ wasm.closure4102_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_wrapper14391 = function(arg0, arg1, arg2) {
697
- const ret = makeMutClosure(arg0, arg1, 4085, __wbg_adapter_32);
696
+ imports.wbg.__wbindgen_closure_wrapper14406 = function(arg0, arg1, arg2) {
697
+ const ret = makeMutClosure(arg0, arg1, 4081, __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 closure4084_externref_shim: (a: number, b: number, c: any) => void;
27
- export const closure4106_externref_shim: (a: number, b: number, c: any, d: any) => void;
26
+ export const closure4080_externref_shim: (a: number, b: number, c: any) => void;
27
+ export const closure4102_externref_shim: (a: number, b: number, c: any, d: any) => void;
28
28
  export const __wbindgen_start: () => void;
@@ -31,8 +31,6 @@ export function renderFigureImageWithTextmark(handle: any, width?: number | null
31
31
  export function renderFigureImageWithCameraState(handle: any, width: number | null | undefined, height: number | null | undefined, camera_state: any, textmark?: string | null): Promise<Uint8Array>;
32
32
  export function plotRendererReady(): boolean;
33
33
  export function onFigureEvent(callback: any): void;
34
- export function registerFsProvider(bindings: any): void;
35
- export function initRunMat(options: any): Promise<RunMatWasm>;
36
34
  export function subscribeStdout(callback: any): number;
37
35
  export function unsubscribeStdout(id: number): void;
38
36
  export function subscribeRuntimeLog(callback: any): number;
@@ -40,6 +38,8 @@ export function setLogFilter(filter: string): void;
40
38
  export function unsubscribeRuntimeLog(id: number): void;
41
39
  export function subscribeTraceEvents(callback: any): number;
42
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;
@@ -105,8 +105,6 @@ export interface InitOutput {
105
105
  readonly currentFigureHandle: () => number;
106
106
  readonly selectFigure: (a: number) => void;
107
107
  readonly destroyPlotSurface: (a: number) => void;
108
- readonly registerFsProvider: (a: any) => [number, number];
109
- readonly initRunMat: (a: any) => any;
110
108
  readonly __wbg_runmatwasm_free: (a: number, b: number) => void;
111
109
  readonly runmatwasm_execute: (a: number, b: number, c: number) => any;
112
110
  readonly runmatwasm_resetSession: (a: number) => [number, number];
@@ -140,6 +138,8 @@ export interface InitOutput {
140
138
  readonly unsubscribeRuntimeLog: (a: number) => void;
141
139
  readonly subscribeTraceEvents: (a: any) => [number, number, number];
142
140
  readonly unsubscribeTraceEvents: (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;
@@ -149,9 +149,9 @@ export interface InitOutput {
149
149
  readonly __wbindgen_export_6: WebAssembly.Table;
150
150
  readonly __externref_table_dealloc: (a: number) => void;
151
151
  readonly closure2699_externref_shim: (a: number, b: number, c: any) => void;
152
- readonly closure7583_externref_shim: (a: number, b: number, c: any) => void;
153
- readonly closure7590_externref_shim: (a: number, b: number, c: any) => void;
154
- readonly closure7621_externref_shim: (a: number, b: number, c: any, d: any) => void;
152
+ readonly closure7569_externref_shim: (a: number, b: number, c: any) => void;
153
+ readonly closure7576_externref_shim: (a: number, b: number, c: any) => void;
154
+ readonly closure7607_externref_shim: (a: number, b: number, c: any, d: any) => void;
155
155
  readonly __wbindgen_start: () => void;
156
156
  }
157
157
 
@@ -538,25 +538,6 @@ export function onFigureEvent(callback) {
538
538
  }
539
539
  }
540
540
 
541
- /**
542
- * @param {any} bindings
543
- */
544
- export function registerFsProvider(bindings) {
545
- const ret = wasm.registerFsProvider(bindings);
546
- if (ret[1]) {
547
- throw takeFromExternrefTable0(ret[0]);
548
- }
549
- }
550
-
551
- /**
552
- * @param {any} options
553
- * @returns {Promise<RunMatWasm>}
554
- */
555
- export function initRunMat(options) {
556
- const ret = wasm.initRunMat(options);
557
- return ret;
558
- }
559
-
560
541
  function passArray8ToWasm0(arg, malloc) {
561
542
  const ptr = malloc(arg.length * 1, 1) >>> 0;
562
543
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -632,20 +613,39 @@ export function unsubscribeTraceEvents(id) {
632
613
  wasm.unsubscribeTraceEvents(id);
633
614
  }
634
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
635
  function __wbg_adapter_56(arg0, arg1, arg2) {
636
636
  wasm.closure2699_externref_shim(arg0, arg1, arg2);
637
637
  }
638
638
 
639
639
  function __wbg_adapter_59(arg0, arg1, arg2) {
640
- wasm.closure7583_externref_shim(arg0, arg1, arg2);
640
+ wasm.closure7569_externref_shim(arg0, arg1, arg2);
641
641
  }
642
642
 
643
643
  function __wbg_adapter_62(arg0, arg1, arg2) {
644
- wasm.closure7590_externref_shim(arg0, arg1, arg2);
644
+ wasm.closure7576_externref_shim(arg0, arg1, arg2);
645
645
  }
646
646
 
647
647
  function __wbg_adapter_622(arg0, arg1, arg2, arg3) {
648
- wasm.closure7621_externref_shim(arg0, arg1, arg2, arg3);
648
+ wasm.closure7607_externref_shim(arg0, arg1, arg2, arg3);
649
649
  }
650
650
 
651
651
  const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
@@ -2141,12 +2141,12 @@ function __wbg_get_imports() {
2141
2141
  const ret = false;
2142
2142
  return ret;
2143
2143
  };
2144
- imports.wbg.__wbindgen_closure_wrapper23411 = function(arg0, arg1, arg2) {
2145
- const ret = makeMutClosure(arg0, arg1, 7584, __wbg_adapter_59);
2144
+ imports.wbg.__wbindgen_closure_wrapper23445 = function(arg0, arg1, arg2) {
2145
+ const ret = makeMutClosure(arg0, arg1, 7570, __wbg_adapter_59);
2146
2146
  return ret;
2147
2147
  };
2148
- imports.wbg.__wbindgen_closure_wrapper23826 = function(arg0, arg1, arg2) {
2149
- const ret = makeMutClosure(arg0, arg1, 7591, __wbg_adapter_62);
2148
+ imports.wbg.__wbindgen_closure_wrapper23860 = function(arg0, arg1, arg2) {
2149
+ const ret = makeMutClosure(arg0, arg1, 7577, __wbg_adapter_62);
2150
2150
  return ret;
2151
2151
  };
2152
2152
  imports.wbg.__wbindgen_closure_wrapper6664 = function(arg0, arg1, arg2) {
@@ -32,8 +32,6 @@ export const newFigureHandle: () => number;
32
32
  export const currentFigureHandle: () => number;
33
33
  export const selectFigure: (a: number) => void;
34
34
  export const destroyPlotSurface: (a: number) => void;
35
- export const registerFsProvider: (a: any) => [number, number];
36
- export const initRunMat: (a: any) => any;
37
35
  export const __wbg_runmatwasm_free: (a: number, b: number) => void;
38
36
  export const runmatwasm_execute: (a: number, b: number, c: number) => any;
39
37
  export const runmatwasm_resetSession: (a: number) => [number, number];
@@ -67,6 +65,8 @@ export const setLogFilter: (a: number, b: number) => [number, number];
67
65
  export const unsubscribeRuntimeLog: (a: number) => void;
68
66
  export const subscribeTraceEvents: (a: any) => [number, number, number];
69
67
  export const unsubscribeTraceEvents: (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;
@@ -76,7 +76,7 @@ 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
78
  export const closure2699_externref_shim: (a: number, b: number, c: any) => void;
79
- export const closure7583_externref_shim: (a: number, b: number, c: any) => void;
80
- export const closure7590_externref_shim: (a: number, b: number, c: any) => void;
81
- export const closure7621_externref_shim: (a: number, b: number, c: any, d: any) => void;
79
+ export const closure7569_externref_shim: (a: number, b: number, c: any) => void;
80
+ export const closure7576_externref_shim: (a: number, b: number, c: any) => void;
81
+ export const closure7607_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.7-dev.1",
3
+ "version": "0.4.7-dev.2",
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",