This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm
liang.he 3698f2279b
Improve wasm-c-api instantiation-time linking (#1902)
Add APIs to help prepare the imports for the wasm-c-api `wasm_instance_new`:
- wasm_importtype_is_linked
- wasm_runtime_is_import_func_linked
- wasm_runtime_is_import_global_linked
- wasm_extern_new_empty

For wasm-c-api, developer may use `wasm_module_imports` to get the import
types info, check whether an import func/global is linked with the above API,
and ignore the linking of an import func/global with `wasm_extern_new_empty`.

Sample `wasm-c-api-import` is added and document is updated.
2023-02-13 15:06:04 +08:00
..
aot Make memory profiling show native stack usage (#1917) 2023-02-01 11:52:15 +08:00
common Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
compilation Make memory profiling show native stack usage (#1917) 2023-02-01 11:52:15 +08:00
fast-jit Enable running mode control for runtime and module instance (#1923) 2023-02-02 18:16:01 +08:00
include Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
interpreter Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
libraries Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00