runmat 0.6.1-dev.0 → 0.6.1

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.
@@ -248,7 +248,7 @@ function __wbg_get_imports() {
248
248
  const ret = arg0.WorkerGlobalScope;
249
249
  return ret;
250
250
  },
251
- __wbg___runmatOcctImportCad_b0df8f994525abcc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
251
+ __wbg___runmatOcctImportCad_f0b36263a857ff98: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
252
252
  const ret = __runmatOcctImportCad(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getArrayU8FromWasm0(arg5, arg6), arg7, arg8, arg9);
253
253
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
254
254
  const len1 = WASM_VECTOR_LEN;
@@ -1297,12 +1297,12 @@ function __wbg_get_imports() {
1297
1297
  arg0.writeTexture(arg1, arg2, arg3, arg4);
1298
1298
  }, arguments); },
1299
1299
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1300
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 8167, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1300
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 8157, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1301
1301
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h2ddb700be264118d);
1302
1302
  return ret;
1303
1303
  },
1304
1304
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1305
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 8206, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1305
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 8196, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1306
1306
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0fd58337c3bb7841);
1307
1307
  return ret;
1308
1308
  },
Binary file
@@ -124,6 +124,14 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
124
124
 
125
125
  export interface InitOutput {
126
126
  readonly memory: WebAssembly.Memory;
127
+ readonly initRunMat: (a: any) => any;
128
+ readonly subscribeStdout: (a: any) => [number, number, number];
129
+ readonly unsubscribeStdout: (a: number) => void;
130
+ readonly subscribeRuntimeLog: (a: any) => [number, number, number];
131
+ readonly setLogFilter: (a: number, b: number) => [number, number];
132
+ readonly unsubscribeRuntimeLog: (a: number) => void;
133
+ readonly subscribeTraceEvents: (a: any) => [number, number, number];
134
+ readonly unsubscribeTraceEvents: (a: number) => void;
127
135
  readonly renderCurrentFigureScene: (a: number) => [number, number];
128
136
  readonly createPlotSurface: (a: any) => any;
129
137
  readonly resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
@@ -190,18 +198,10 @@ export interface InitOutput {
190
198
  readonly currentFigureHandle: () => number;
191
199
  readonly selectFigure: (a: number) => void;
192
200
  readonly destroyPlotSurface: (a: number) => void;
193
- readonly initRunMat: (a: any) => any;
194
- readonly subscribeStdout: (a: any) => [number, number, number];
195
- readonly unsubscribeStdout: (a: number) => void;
196
- readonly subscribeRuntimeLog: (a: any) => [number, number, number];
197
- readonly setLogFilter: (a: number, b: number) => [number, number];
198
- readonly unsubscribeRuntimeLog: (a: number) => void;
199
- readonly subscribeTraceEvents: (a: any) => [number, number, number];
200
- readonly unsubscribeTraceEvents: (a: number) => void;
201
201
  readonly wasm_bindgen__convert__closures_____invoke__h0fd58337c3bb7841: (a: number, b: number, c: any) => [number, number];
202
202
  readonly wasm_bindgen__convert__closures_____invoke__h554464018ada0f86: (a: number, b: number, c: any, d: any) => void;
203
203
  readonly wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a: (a: number, b: number, c: any) => void;
204
- readonly wasm_bindgen__convert__closures_____invoke__ha4d91ca97578936f: (a: number, b: number, c: any) => void;
204
+ readonly wasm_bindgen__convert__closures_____invoke__hc1df989025b3e68f: (a: number, b: number, c: any) => void;
205
205
  readonly wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a_3: (a: number, b: number, c: any) => void;
206
206
  readonly __wbindgen_malloc: (a: number, b: number) => number;
207
207
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
@@ -796,7 +796,7 @@ function __wbg_get_imports() {
796
796
  const ret = arg0.WorkerGlobalScope;
797
797
  return ret;
798
798
  },
799
- __wbg___runmatOcctImportCad_b0df8f994525abcc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
799
+ __wbg___runmatOcctImportCad_f0b36263a857ff98: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
800
800
  const ret = __runmatOcctImportCad(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getArrayU8FromWasm0(arg5, arg6), arg7, arg8, arg9);
801
801
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
802
802
  const len1 = WASM_VECTOR_LEN;
@@ -2423,22 +2423,22 @@ function __wbg_get_imports() {
2423
2423
  arg0.writeTexture(arg1, arg2, arg3, arg4);
2424
2424
  }, arguments); },
2425
2425
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
2426
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 11330, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2426
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 11348, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2427
2427
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a);
2428
2428
  return ret;
2429
2429
  },
2430
2430
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2431
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 11354, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2431
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 11372, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2432
2432
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0fd58337c3bb7841);
2433
2433
  return ret;
2434
2434
  },
2435
2435
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
2436
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 3297, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2437
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__ha4d91ca97578936f);
2436
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 3306, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2437
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hc1df989025b3e68f);
2438
2438
  return ret;
2439
2439
  },
2440
2440
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
2441
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 11330, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2441
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 11348, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2442
2442
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a_3);
2443
2443
  return ret;
2444
2444
  },
@@ -2494,8 +2494,8 @@ function wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a(arg0, arg
2494
2494
  wasm.wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a(arg0, arg1, arg2);
2495
2495
  }
2496
2496
 
2497
- function wasm_bindgen__convert__closures_____invoke__ha4d91ca97578936f(arg0, arg1, arg2) {
2498
- wasm.wasm_bindgen__convert__closures_____invoke__ha4d91ca97578936f(arg0, arg1, arg2);
2497
+ function wasm_bindgen__convert__closures_____invoke__hc1df989025b3e68f(arg0, arg1, arg2) {
2498
+ wasm.wasm_bindgen__convert__closures_____invoke__hc1df989025b3e68f(arg0, arg1, arg2);
2499
2499
  }
2500
2500
 
2501
2501
  function wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a_3(arg0, arg1, arg2) {
@@ -1,6 +1,14 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const initRunMat: (a: any) => any;
5
+ export const subscribeStdout: (a: any) => [number, number, number];
6
+ export const unsubscribeStdout: (a: number) => void;
7
+ export const subscribeRuntimeLog: (a: any) => [number, number, number];
8
+ export const setLogFilter: (a: number, b: number) => [number, number];
9
+ export const unsubscribeRuntimeLog: (a: number) => void;
10
+ export const subscribeTraceEvents: (a: any) => [number, number, number];
11
+ export const unsubscribeTraceEvents: (a: number) => void;
4
12
  export const renderCurrentFigureScene: (a: number) => [number, number];
5
13
  export const createPlotSurface: (a: any) => any;
6
14
  export const resizePlotSurface: (a: number, b: number, c: number, d: number) => [number, number];
@@ -67,18 +75,10 @@ export const newFigureHandle: () => number;
67
75
  export const currentFigureHandle: () => number;
68
76
  export const selectFigure: (a: number) => void;
69
77
  export const destroyPlotSurface: (a: number) => void;
70
- export const initRunMat: (a: any) => any;
71
- export const subscribeStdout: (a: any) => [number, number, number];
72
- export const unsubscribeStdout: (a: number) => void;
73
- export const subscribeRuntimeLog: (a: any) => [number, number, number];
74
- export const setLogFilter: (a: number, b: number) => [number, number];
75
- export const unsubscribeRuntimeLog: (a: number) => void;
76
- export const subscribeTraceEvents: (a: any) => [number, number, number];
77
- export const unsubscribeTraceEvents: (a: number) => void;
78
78
  export const wasm_bindgen__convert__closures_____invoke__h0fd58337c3bb7841: (a: number, b: number, c: any) => [number, number];
79
79
  export const wasm_bindgen__convert__closures_____invoke__h554464018ada0f86: (a: number, b: number, c: any, d: any) => void;
80
80
  export const wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a: (a: number, b: number, c: any) => void;
81
- export const wasm_bindgen__convert__closures_____invoke__ha4d91ca97578936f: (a: number, b: number, c: any) => void;
81
+ export const wasm_bindgen__convert__closures_____invoke__hc1df989025b3e68f: (a: number, b: number, c: any) => void;
82
82
  export const wasm_bindgen__convert__closures_____invoke__hb871e9c5faa9fe3a_3: (a: number, b: number, c: any) => void;
83
83
  export const __wbindgen_malloc: (a: number, b: number) => number;
84
84
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runmat",
3
- "version": "0.6.1-dev.0",
3
+ "version": "0.6.1",
4
4
  "description": "Blazing fast runtime for math. Run MATLAB code on CPU or GPU.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",