diff options
author | Daniel Wirtz <dcode@dcode.io> | 2017-11-22 18:35:45 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2017-11-22 09:35:45 -0800 |
commit | 94cbe63149248e251580ef95a6d3a31faf00a238 (patch) | |
tree | afce67e1b95f29eccac259f156185e982d6e3bb0 /test/example/relooper-fuzz.c | |
parent | 13ec76dfbc1c72a5e77d6a33fca5bf349308162d (diff) | |
download | binaryen-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 'test/example/relooper-fuzz.c')
-rw-r--r-- | test/example/relooper-fuzz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/relooper-fuzz.c b/test/example/relooper-fuzz.c index d813c76a9..11e25d19c 100644 --- a/test/example/relooper-fuzz.c +++ b/test/example/relooper-fuzz.c @@ -253,7 +253,7 @@ int main() { BinaryenType iparams[] = { BinaryenInt32() }; BinaryenFunctionTypeRef vi = BinaryenAddFunctionType(module, "vi", BinaryenNone(), iparams, 1); - BinaryenAddImport(module, "print", "spectest", "print", vi); + BinaryenAddFunctionImport(module, "print", "spectest", "print", vi); // memory BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, 0); |