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:
@ -29,6 +29,7 @@ void print_valtype(const wasm_valtype_t* type) {
|
||||
case WASM_I64: printf("i64"); break;
|
||||
case WASM_F32: printf("f32"); break;
|
||||
case WASM_F64: printf("f64"); break;
|
||||
case WASM_V128: printf("v128"); break;
|
||||
case WASM_ANYREF: printf("anyref"); break;
|
||||
case WASM_FUNCREF: printf("funcref"); break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user