c94e752532
Allow empty import array (but not NULL) for wasm-c-api wasm_instance_new, which makes the code more robust, especially in use cases where imports might be constructed dynamically. And add a test case in samples/wasm-c-api/src/empty_imports.c to test it. |
||
---|---|---|
.. | ||
arch | ||
iwasm_common.cmake | ||
SConscript | ||
wasm_application.c | ||
wasm_c_api_internal.h | ||
wasm_c_api.c | ||
wasm_exec_env.c | ||
wasm_exec_env.h | ||
wasm_memory.c | ||
wasm_memory.h | ||
wasm_native.c | ||
wasm_native.h | ||
wasm_runtime_common.c | ||
wasm_runtime_common.h | ||
wasm_shared_memory.c | ||
wasm_shared_memory.h |