blob: 6baccd75e7a3f423f27de09b19d271d5b2801c19 [file] [log] [blame] [edit]
#if RELOCATABLE // normal static binaries export the table
var wasmTable = new WebAssembly.Table({
'initial': {{{ WASM_TABLE_SIZE }}},
#if !ALLOW_TABLE_GROWTH
'maximum': {{{ WASM_TABLE_SIZE }}},
#endif
'element': 'anyfunc'
});
#endif