Skip to content

Commit af72e56

Browse files
committed
Add setValue to the exported WASM functions
1 parent abdbd47 commit af72e56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/wasm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def run_task_generate():
593593
f"EXPORTED_FUNCTIONS={complete_functions_list}",
594594
"-s", "ALLOW_TABLE_GROWTH",
595595
"-s",
596-
'EXPORTED_RUNTIME_METHODS=\'["ccall", "cwrap", "wasmExports", "HEAP8", "HEAP16", "HEAP32", "HEAPU8", "HEAPU16", "HEAPU32", "HEAPF32", "HEAPF64", "addFunction", "removeFunction"]\'',
596+
'EXPORTED_RUNTIME_METHODS=\'["ccall", "cwrap", "wasmExports", "HEAP8", "HEAP16", "HEAP32", "HEAPU8", "HEAPU16", "HEAPU32", "HEAPF32", "HEAPF64", "addFunction", "removeFunction", "setValue"]\'',
597597
"custom.cpp",
598598
lib_file_out,
599599
"-I{0}".format(include_dir),

0 commit comments

Comments
 (0)