runmat 0.3.4 → 0.3.6

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.
@@ -1,72 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export function registerFsProvider(bindings: any): void;
4
- export function registerPlotCanvas(canvas: any): Promise<void>;
5
- export function registerFigureCanvas(handle: number, canvas: any): Promise<void>;
6
- export function deregisterPlotCanvas(): void;
7
- export function deregisterFigureCanvas(handle: number): void;
8
- export function resizeFigureCanvas(handle: number, width: number, height: number): void;
9
- export function renderCurrentFigureScene(handle: number): void;
10
- export function createPlotSurface(canvas: any): Promise<number>;
11
- export function destroyPlotSurface(surface_id: number): void;
12
- export function resizePlotSurface(surface_id: number, width: number, height: number, pixels_per_point: number): void;
13
- export function bindSurfaceToFigure(surface_id: number, handle: number): void;
14
- export function presentSurface(surface_id: number): void;
15
- export function presentFigureOnSurface(surface_id: number, handle: number): void;
16
- export function handlePlotSurfaceEvent(surface_id: number, event: any): void;
17
- export function fitPlotSurfaceExtents(surface_id: number): void;
18
- export function resetPlotSurfaceCamera(surface_id: number): void;
19
- export function getPlotSurfaceCameraState(surface_id: number): any;
20
- export function setPlotSurfaceCameraState(surface_id: number, state: any): void;
21
- export function setPlotThemeConfig(theme: any): void;
22
- export function newFigureHandle(): number;
23
- export function selectFigure(handle: number): void;
24
- export function currentFigureHandle(): number;
25
- export function configureSubplot(rows: number, cols: number, index: number): void;
26
- export function setHoldMode(mode: any): boolean;
27
- export function clearFigure(handle: any): number;
28
- export function closeFigure(handle: any): number;
29
- export function currentAxesInfo(): any;
30
- export function renderFigureImage(handle: any, width?: number | null, height?: number | null): Promise<Uint8Array>;
31
- export function plotRendererReady(): boolean;
32
- export function onFigureEvent(callback: any): void;
33
- export function subscribeStdout(callback: any): number;
34
- export function unsubscribeStdout(id: number): void;
35
- export function subscribeRuntimeLog(callback: any): number;
36
- export function setLogFilter(filter: string): void;
37
- export function unsubscribeRuntimeLog(id: number): void;
38
- export function subscribeTraceEvents(callback: any): number;
39
- export function unsubscribeTraceEvents(id: number): void;
40
- export function initRunMat(options: any): Promise<RunMatWasm>;
41
- export class RunMatWasm {
42
- private constructor();
43
- free(): void;
44
- execute(source: string): Promise<any>;
45
- resetSession(): void;
46
- cancelExecution(): void;
47
- cancelPendingRequests(): void;
48
- setLanguageCompat(mode: string): void;
49
- setInputHandler(handler: any): void;
50
- setFusionPlanEnabled(enabled: boolean): void;
51
- /**
52
- * Compile-only fusion plan snapshot (no execution).
53
- */
54
- fusionPlanForSource(source: string): any;
55
- materializeVariable(selector: any, options: any): Promise<any>;
56
- stats(): any;
57
- clearWorkspace(): void;
58
- exportWorkspaceState(include_variables?: string | null): Promise<Uint8Array | undefined>;
59
- importWorkspaceState(state: Uint8Array): boolean;
60
- workspaceSnapshot(): any;
61
- inspectDataFile(path: string): Promise<any>;
62
- materializeDataFileVariable(path: string, array: string, options: any): Promise<any>;
63
- exportFigureScene(handle: number): Uint8Array | undefined;
64
- importFigureScene(scene: Uint8Array): Promise<number | undefined>;
65
- importFigureSceneFromPath(path: string): Promise<number | undefined>;
66
- telemetryConsent(): boolean;
67
- gpuStatus(): any;
68
- telemetryClientId(): string | undefined;
69
- memoryUsage(): any;
70
- setFsProvider(bindings: any): void;
71
- dispose(): void;
72
- }
@@ -1,5 +0,0 @@
1
- import * as wasm from "./runmat_wasm_bg.wasm";
2
- export * from "./runmat_wasm_bg.js";
3
- import { __wbg_set_wasm } from "./runmat_wasm_bg.js";
4
- __wbg_set_wasm(wasm);
5
- wasm.__wbindgen_start();