summaryrefslogtreecommitdiff
path: root/build-js.sh
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2017-11-22 18:35:45 +0100
committerAlon Zakai <alonzakai@gmail.com>2017-11-22 09:35:45 -0800
commit94cbe63149248e251580ef95a6d3a31faf00a238 (patch)
treeafce67e1b95f29eccac259f156185e982d6e3bb0 /build-js.sh
parent13ec76dfbc1c72a5e77d6a33fca5bf349308162d (diff)
downloadbinaryen-94cbe63149248e251580ef95a6d3a31faf00a238.tar.gz
binaryen-94cbe63149248e251580ef95a6d3a31faf00a238.tar.bz2
binaryen-94cbe63149248e251580ef95a6d3a31faf00a238.zip
Provide AddImport/AddExport for each element in the C-API (#1292)
* Provide AddImport/AddExport for each element in the C-API
Diffstat (limited to 'build-js.sh')
-rwxr-xr-xbuild-js.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/build-js.sh b/build-js.sh
index 7599a415a..159ff51c0 100755
--- a/build-js.sh
+++ b/build-js.sh
@@ -176,6 +176,10 @@ export_function "_BinaryenAtomicCmpxchgId"
export_function "_BinaryenAtomicRMWId"
export_function "_BinaryenAtomicWaitId"
export_function "_BinaryenAtomicWakeId"
+export_function "_BinaryenExternalFunction"
+export_function "_BinaryenExternalTable"
+export_function "_BinaryenExternalMemory"
+export_function "_BinaryenExternalGlobal"
export_function "_BinaryenModuleCreate"
export_function "_BinaryenModuleDispose"
export_function "_BinaryenAddFunctionType"
@@ -361,9 +365,15 @@ export_function "_BinaryenAddFunction"
export_function "_BinaryenGetFunction"
export_function "_BinaryenRemoveFunction"
export_function "_BinaryenAddGlobal"
-export_function "_BinaryenAddImport"
+export_function "_BinaryenAddFunctionImport"
+export_function "_BinaryenAddTableImport"
+export_function "_BinaryenAddMemoryImport"
+export_function "_BinaryenAddGlobalImport"
export_function "_BinaryenRemoveImport"
-export_function "_BinaryenAddExport"
+export_function "_BinaryenAddFunctionExport"
+export_function "_BinaryenAddTableExport"
+export_function "_BinaryenAddMemoryExport"
+export_function "_BinaryenAddGlobalExport"
export_function "_BinaryenRemoveExport"
export_function "_BinaryenSetFunctionTable"
export_function "_BinaryenSetMemory"