File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1316,9 +1316,23 @@ WASM_RUNTIME_API_EXTERN wasm_valkind_t
1316
1316
wasm_func_type_get_result_valkind (wasm_func_type_t const func_type ,
1317
1317
uint32_t result_index );
1318
1318
1319
+ /**
1320
+ * Get the kind for a global type
1321
+ *
1322
+ * @param global_type the global type
1323
+ *
1324
+ * @return the kind of the global
1325
+ */
1319
1326
WASM_RUNTIME_API_EXTERN wasm_valkind_t
1320
1327
wasm_global_type_get_valkind (const wasm_global_type_t global_type );
1321
1328
1329
+ /**
1330
+ * Get the mutability for a global type
1331
+ *
1332
+ * @param global_type the global type
1333
+ *
1334
+ * @return true if mutable, false otherwise
1335
+ */
1322
1336
WASM_RUNTIME_API_EXTERN bool
1323
1337
wasm_global_type_get_mutable (const wasm_global_type_t global_type );
1324
1338
You can’t perform that action at this time.
0 commit comments