summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-js.sh2
-rw-r--r--src/binaryen-c.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-js.sh b/build-js.sh
index 832847f74..e5e991493 100755
--- a/build-js.sh
+++ b/build-js.sh
@@ -44,7 +44,7 @@ EMCC_ARGS="$EMCC_ARGS -s NO_FILESYSTEM=0"
EMCC_ARGS="$EMCC_ARGS -s WASM=0"
EMCC_ARGS="$EMCC_ARGS -s ERROR_ON_UNDEFINED_SYMBOLS=1"
EMCC_ARGS="$EMCC_ARGS -s BINARYEN_ASYNC_COMPILATION=0"
-# TODO: enable this (need nearbyint in emscripten tag) EMCC_ARGS="$EMCC_ARGS -s ERROR_ON_UNDEFINED_SYMBOLS=1"
+EMCC_ARGS="$EMCC_ARGS -s ERROR_ON_UNDEFINED_SYMBOLS=1"
EMCC_ARGS="$EMCC_ARGS -s DISABLE_EXCEPTION_CATCHING=0" # Exceptions are thrown and caught when optimizing endless loops
OUT_FILE_SUFFIX=
diff --git a/src/binaryen-c.h b/src/binaryen-c.h
index 7b9b0141a..f419292bf 100644
--- a/src/binaryen-c.h
+++ b/src/binaryen-c.h
@@ -936,7 +936,7 @@ BinaryenEventRef BinaryenAddEvent(BinaryenModuleRef module,
uint32_t attribute,
BinaryenFunctionTypeRef type);
BinaryenEventRef BinaryenGetEvent(BinaryenModuleRef module, const char* name);
-void BinaryenEventEvent(BinaryenModuleRef module, const char* name);
+void BinaryenRemoveEvent(BinaryenModuleRef module, const char* name);
// Function table. One per module