Skip to content

Commit f62e989

Browse files
Merge pull request #163 from GoodNotes/add_setValue
Add `setValue` to the exported WASM functions
2 parents abdbd47 + af72e56 commit f62e989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)