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/common
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
..
arch Fix stack alignment issue on ia32 (#1934) 2023-02-06 09:07:00 +08:00
iwasm_common.cmake Implement invokeNative asm code for MinGW (#1753) 2022-11-28 17:48:06 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Clear some warnings and enable -Werror for NuttX (#1756) 2022-11-28 09:44:33 +08:00
wasm_c_api_internal.h wasm-c-api: Fix init/destroy thread env multiple times issue (#1766) 2022-12-05 11:16:14 +08:00
wasm_c_api.c Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
wasm_exec_env.c Make memory profiling show native stack usage (#1917) 2023-02-01 11:52:15 +08:00
wasm_exec_env.h Make memory profiling show native stack usage (#1917) 2023-02-01 11:52:15 +08:00
wasm_memory.c Adding option to pass user data to allocator functions (#1765) 2022-11-30 16:19:18 +08:00
wasm_memory.h Enlarge max pool size and fix bh_memcpy_s dest max size check (#1151) 2022-05-07 16:09:16 +08:00
wasm_native.c Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
wasm_native.h Add wasm_runtime_unregister_natives (#1647) 2022-10-28 11:03:39 +08:00
wasm_runtime_common.c Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
wasm_runtime_common.h Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
wasm_shared_memory.c Fix terminating stale threads on trap/proc_exit (#1929) 2023-02-07 20:56:23 +08:00
wasm_shared_memory.h Fix terminating stale threads on trap/proc_exit (#1929) 2023-02-07 20:56:23 +08:00