Add WASM_V128 in wasm_valkind_enum (#3412)

Add WASM_V128 in wasm_valkind_enum and handle the the type accordingly
in wasm_c_api.c and wasm_runtime_common.c, and fix a typo in V128 union.
This commit is contained in:
Benbuck Nason
2024-05-13 19:22:42 -07:00
committed by GitHub
parent 456e2f6919
commit dbd8790681
7 changed files with 42 additions and 4 deletions

View File

@ -71,7 +71,7 @@ typedef struct WASMObject *wasm_obj_t;
typedef union V128 {
int8_t i8x16[16];
int16_t i16x8[8];
int32_t i32x8[4];
int32_t i32x4[4];
int64_t i64x2[2];
float f32x4[4];
double f64x2[2];