Implement wasm-c-api wasm_config related APIs (#665)
And add wasm_engine_new_with_args() declaration in wasm_c_api.h Fix wasm-c-api frame func_offset issue in fast interp mode Remove sanitize compiler flag in product-mini linux CMakeLists.txt
This commit is contained in:
@ -93,6 +93,8 @@ typedef enum {
|
||||
Package_Type_Unknown = 0xFFFF
|
||||
} package_type_t;
|
||||
|
||||
#ifndef MEM_ALLOC_OPTION_DEFINED
|
||||
#define MEM_ALLOC_OPTION_DEFINED
|
||||
/* Memory allocator type */
|
||||
typedef enum {
|
||||
/* pool mode, allocate memory from user defined heap buffer */
|
||||
@ -117,6 +119,7 @@ typedef union MemAllocOption {
|
||||
void *free_func;
|
||||
} allocator;
|
||||
} MemAllocOption;
|
||||
#endif
|
||||
|
||||
/* WASM runtime initialize arguments */
|
||||
typedef struct RuntimeInitArgs {
|
||||
|
||||
Reference in New Issue
Block a user