wasmer-c-api:

* adding `wasmer_import_object_new` and `wasmer_import_object_extend`
* adding test file `test-module-import-instantiate.c`
This commit is contained in:
Yaron Wittenstein
2019-08-01 14:06:25 +03:00
parent ab76755ade
commit f73180f45e
9 changed files with 285 additions and 19 deletions

Binary file not shown.

View File

@ -0,0 +1,12 @@
(module
(func $inc (import "env" "inc"))
(func $mul (import "env" "mul"))
(func $get (import "env" "get") (result i32))
(func (export "inc_and_get") (result i32)
call $inc
call $get)
(func (export "mul_and_get") (result i32)
call $mul
call $get))