diff options
-rw-r--r-- | src/js/binaryen.idl | 4 | ||||
-rw-r--r-- | test/binaryen.js/test.js | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/js/binaryen.idl b/src/js/binaryen.idl index 2297cfd5f..3f4f82149 100644 --- a/src/js/binaryen.idl +++ b/src/js/binaryen.idl @@ -11,6 +11,7 @@ interface Module { }; interface AllocatingModule { + void AllocatingModule(); }; AllocatingModule implements Module; @@ -20,6 +21,7 @@ interface ExternalInterface { }; interface ShellExternalInterface { + void ShellExternalInterface(); }; ShellExternalInterface implements ExternalInterface; @@ -32,6 +34,8 @@ interface ModuleInstance { [Prefix="ModuleInstance::"] interface LiteralList { + void LiteralList(); + void push_back([Ref] Literal l); }; diff --git a/test/binaryen.js/test.js b/test/binaryen.js/test.js index c090d94b2..9f59c4a86 100644 --- a/test/binaryen.js/test.js +++ b/test/binaryen.js/test.js @@ -1,4 +1,6 @@ +Binaryen = Binaryen(); // instantiate the module + var input = '(module\n' + ' (export "add" $add)\n' + |