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:
@ -213,10 +213,11 @@ typedef struct WASMTag WASMTag;
|
||||
|
||||
#ifndef WASM_VALUE_DEFINED
|
||||
#define WASM_VALUE_DEFINED
|
||||
|
||||
typedef union V128 {
|
||||
int8 i8x16[16];
|
||||
int16 i16x8[8];
|
||||
int32 i32x8[4];
|
||||
int32 i32x4[4];
|
||||
int64 i64x2[2];
|
||||
float32 f32x4[4];
|
||||
float64 f64x2[2];
|
||||
|
||||
Reference in New Issue
Block a user