|
Wasmtime
|
Go to the source code of this file.
Typedefs | |
| typedef struct wasmtime_array_type | wasmtime_array_type_t |
| An opaque handle to a WebAssembly array type definition. More... | |
Functions | |
| WASM_API_EXTERN wasmtime_array_type_t * | wasmtime_array_type_new (const wasm_engine_t *engine, const wasmtime_field_type_t *field) |
| Create a new array type. More... | |
| WASM_API_EXTERN void | wasmtime_array_type_delete (wasmtime_array_type_t *ty) |
| Delete an array type. | |
APIs for interacting with WebAssembly GC structref type in Wasmtime.
| typedef struct wasmtime_array_type wasmtime_array_type_t |
An opaque handle to a WebAssembly array type definition.
An array type describes the element type of an array. It is used to create a wasmtime_array_ref_pre_t, which can then allocate array instances.
Owned. Must be deleted with wasmtime_array_type_delete.
| WASM_API_EXTERN wasmtime_array_type_t * wasmtime_array_type_new | ( | const wasm_engine_t * | engine, |
| const wasmtime_field_type_t * | field | ||
| ) |
Create a new array type.
| engine | The engine to register the type with. |
| field | The element type descriptor. |