Wasmtime
types/arrayref.h
Go to the documentation of this file.
1
7#ifndef WASMTIME_TYPES_ARRAYREF_H
8#define WASMTIME_TYPES_ARRAYREF_H
9
10#include <wasmtime/conf.h>
11
12#ifdef WASMTIME_FEATURE_GC
13
14#include <wasm.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
29typedef struct wasmtime_array_type wasmtime_array_type_t;
30
39WASM_API_EXTERN wasmtime_array_type_t *
41 const wasmtime_field_type_t *field);
42
47
48#ifdef __cplusplus
49} // extern "C"
50#endif
51
52#endif // WASMTIME_FEATURE_GC
53
54#endif // WASMTIME_TYPES_ARRAYREF_H
Build-time defines for how the C API was built.
Compilation environment and configuration.
Describes the type and mutability of a struct field or array element.
Definition: types/structref.h:40
WASM_API_EXTERN void wasmtime_array_type_delete(wasmtime_array_type_t *ty)
Delete an array type.
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.
struct wasmtime_array_type wasmtime_array_type_t
An opaque handle to a WebAssembly array type definition.
Definition: types/arrayref.h:29