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/interpreter
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
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Enable running mode control for runtime and module instance (#1923) 2023-02-02 18:16:01 +08:00
wasm_interp_fast.c Make memory profiling show native stack usage (#1917) 2023-02-01 11:52:15 +08:00
wasm_interp.h Fix issue of restoring wasm operand stack (#1721) 2022-11-18 18:51:13 +08:00
wasm_loader.c Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
wasm_loader.h Fix build error when enable custom section without interpreter (#1229) 2022-06-15 18:14:39 +08:00
wasm_mini_loader.c Enable running mode control for runtime and module instance (#1923) 2023-02-02 18:16:01 +08:00
wasm_opcode.h Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00
wasm_runtime.c Fix jit memory overwritten after instance deinstantiate (#1936) 2023-02-03 11:15:03 +08:00
wasm_runtime.h Enable running mode control for runtime and module instance (#1923) 2023-02-02 18:16:01 +08:00
wasm.h Enable running mode control for runtime and module instance (#1923) 2023-02-02 18:16:01 +08:00