wasm-micro-runtime/core/iwasm/common
Saju Pillai 76d641c7ea
Update wasm_c_api to use vector types (#751)
The WASM C API now requires the use of vector types in certain apis.
Switching WAMR to use the new call signatures improves "drop in"
compilation compatibility between WAMR and other implementations
from a C-api embedding program's perspective.

* wasm_func_callback_t type has been updated to use wasm_val_vec_t
* wasm_func_callback_with_env_t type has been updated to use wasm_val_vec_t
* wasm_func_call() has been updated to use wasm_val_vec_t
* wasm_instance_new() has been updated to use wasm_extern_vec_t*
* wasm_instance_new_with_args() has been updated to use wasm_extern_vec_t*
* wasm_runtime_invoke_c_api_native() has been updated to support vector types
  in native callbacks without modifying the contract with the interpreter code.
* All users of the modified functions (including samples/wasm-c-api/src/*.c)
  have been appropriately updated.
2021-09-16 14:54:25 +08:00
..
arch Make sp 8 byte aligned in invokeNative on ARM (#697) 2021-08-18 10:21:38 +08:00
iwasm_common.cmake Implement XIP feature and enable ARC target support (#694) 2021-08-12 17:44:39 +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 Add wasm-c-api nested function calls sample (#652) 2021-06-16 15:26:28 +08:00
wasm_c_api_internal.h Fix issues reported by gcc -fsanitize flag (#678) 2021-07-30 15:21:17 +08:00
wasm_c_api.c Update wasm_c_api to use vector types (#751) 2021-09-16 14:54:25 +08:00
wasm_exec_env.c Implement XIP feature and enable ARC target support (#694) 2021-08-12 17:44:39 +08:00
wasm_exec_env.h Import reference-types feature (#612) 2021-04-15 11:29:20 +08:00
wasm_memory.c Implement Windows thread/mutex/cond APIs to support multi-thread (#627) 2021-05-11 16:48:49 +08:00
wasm_memory.h Re-org memory allocation interfaces, add --stack-size and --heap-size option (#193) 2020-03-10 19:54:44 +08:00
wasm_native.c Import reference-types feature (#612) 2021-04-15 11:29:20 +08:00
wasm_native.h Implement register/call native API with raw (unextracted) arguments (#222) 2020-04-01 12:52:08 +08:00
wasm_runtime_common.c Update wasm_c_api to use vector types (#751) 2021-09-16 14:54:25 +08:00
wasm_runtime_common.h Change arg name 'export' to other to fix keyword conflict in C++11 (#745) 2021-09-11 18:53:27 +08:00
wasm_shared_memory.c Add more checks to enhance security (#446) 2020-11-24 14:00:09 +08:00
wasm_shared_memory.h implement atomics opcodes for interpreter (#344) 2020-08-10 19:43:58 +08:00