mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-05 19:53:55 +03:00
22 lines
439 B
JavaScript
22 lines
439 B
JavaScript
|
import * as wasm from './reference_test_bg.wasm';
|
||
|
|
||
|
/**
|
||
|
*/
|
||
|
export function foo() {
|
||
|
wasm.foo();
|
||
|
}
|
||
|
|
||
|
export const __wbindgen_init_anyref_table = function() {
|
||
|
const table = wasm.__wbindgen_export_0;
|
||
|
const offset = table.grow(4);
|
||
|
table.set(0, undefined);
|
||
|
table.set(offset + 0, undefined);
|
||
|
table.set(offset + 1, null);
|
||
|
table.set(offset + 2, true);
|
||
|
table.set(offset + 3, false);
|
||
|
;
|
||
|
};
|
||
|
|
||
|
wasm.__wbindgen_start();
|
||
|
|