Eable post-MVP feature wasm-c-api (#315)

This commit is contained in:
lum1n0us
2020-07-23 16:54:13 +08:00
committed by GitHub
parent 32b2943369
commit 08d01b65c5
26 changed files with 4405 additions and 39 deletions

View File

@ -43,10 +43,13 @@ extern "C" {
#define native_raw_set_return(val) *raw_ret = (val)
#ifndef WASM_MODULE_T_DEFINED
#define WASM_MODULE_T_DEFINED
/* Uninstantiated WASM module loaded from WASM binary file
or AoT binary file*/
struct WASMModuleCommon;
typedef struct WASMModuleCommon *wasm_module_t;
#endif
/* Instantiated WASM module */
struct WASMModuleInstanceCommon;