summaryrefslogtreecommitdiff
path: root/test/example/c-api-unused-mem.cpp
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2022-09-12 22:36:56 +0300
committerGitHub <noreply@github.com>2022-09-12 12:36:56 -0700
commitaa36fc4f67cf38f097b4c2b4db53b718880f9c3a (patch)
treead056acbe1e294ae49f8aebc22bac97f2f4da829 /test/example/c-api-unused-mem.cpp
parent73b562e24e958e6d5c15aa96ddf4b2e8f31162f8 (diff)
downloadbinaryen-aa36fc4f67cf38f097b4c2b4db53b718880f9c3a.tar.gz
binaryen-aa36fc4f67cf38f097b4c2b4db53b718880f9c3a.tar.bz2
binaryen-aa36fc4f67cf38f097b4c2b4db53b718880f9c3a.zip
[C-/JS-API] Add new BinaryenMemoryIs64 API + add memory64 argument for BinaryenSetMemory (#4963)
Diffstat (limited to 'test/example/c-api-unused-mem.cpp')
-rw-r--r--test/example/c-api-unused-mem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/example/c-api-unused-mem.cpp b/test/example/c-api-unused-mem.cpp
index 6c0fd14c1..a0970a8ca 100644
--- a/test/example/c-api-unused-mem.cpp
+++ b/test/example/c-api-unused-mem.cpp
@@ -30,6 +30,7 @@ int main() {
segmentSizes,
0,
0,
+ 0,
"0");
}
the_relooper = RelooperCreate(the_module);
@@ -94,6 +95,7 @@ int main() {
segmentSizes,
0,
0,
+ 0,
"0");
}
expressions[11] = BinaryenConst(the_module, BinaryenLiteralInt32(65535));