Skip to content

Commit 2b1f2a0

Browse files
committed
all backend
1 parent c87eb16 commit 2b1f2a0

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
4+
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
5+
6+
export interface InitOutput {
7+
readonly memory: WebAssembly.Memory;
8+
readonly main: (a: number, b: number) => number;
9+
readonly __externref_table_alloc: () => number;
10+
readonly __wbindgen_export_1: WebAssembly.Table;
11+
readonly __wbindgen_exn_store: (a: number) => void;
12+
readonly __wbindgen_malloc: (a: number, b: number) => number;
13+
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
14+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
15+
readonly __wbindgen_export_6: WebAssembly.Table;
16+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7c750bdadfb77f98: (a: number, b: number) => void;
17+
readonly closure218_externref_shim: (a: number, b: number, c: any) => void;
18+
readonly closure223_externref_shim: (a: number, b: number, c: any, d: any) => void;
19+
readonly closure387_externref_shim: (a: number, b: number, c: any) => void;
20+
readonly __wbindgen_start: () => void;
21+
}
22+
23+
export type SyncInitInput = BufferSource | WebAssembly.Module;
24+
/**
25+
* Instantiates the given `module`, which can either be bytes or
26+
* a precompiled `WebAssembly.Module`.
27+
*
28+
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
29+
*
30+
* @returns {InitOutput}
31+
*/
32+
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
33+
34+
/**
35+
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
36+
* for everything else, calls `WebAssembly.instantiate` directly.
37+
*
38+
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
39+
*
40+
* @returns {Promise<InitOutput>}
41+
*/
42+
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
71 Bytes
Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
export const memory: WebAssembly.Memory;
4+
export const main: (a: number, b: number) => number;
5+
export const __externref_table_alloc: () => number;
6+
export const __wbindgen_export_1: WebAssembly.Table;
7+
export const __wbindgen_exn_store: (a: number) => void;
8+
export const __wbindgen_malloc: (a: number, b: number) => number;
9+
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
10+
export const __wbindgen_free: (a: number, b: number, c: number) => void;
11+
export const __wbindgen_export_6: WebAssembly.Table;
12+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7c750bdadfb77f98: (a: number, b: number) => void;
13+
export const closure218_externref_shim: (a: number, b: number, c: any) => void;
14+
export const closure223_externref_shim: (a: number, b: number, c: any, d: any) => void;
15+
export const closure387_externref_shim: (a: number, b: number, c: any) => void;
16+
export const __wbindgen_start: () => void;

0 commit comments

Comments
 (0)