raw library

The raw C API, exactly as ffigen generated it.

Everything here maps one to one to a function, struct or constant of the wasmtime C API in lib/src/wasmtime_bindings_generated.dart. It is exported so that nothing is out of reach, but it is also unguarded: the pointers are raw and nothing is released for you.

Prefer:

  • package:webassembly/webassembly.dart - the JavaScript shaped WebAssembly API and the non-blocking worker API.
  • package:webassembly/wasmtime.dart - the wasmtime engine/store/linker API, which owns its native objects.

Classes

UnnamedStruct
UnnamedStruct$1
UnnamedStruct$2
UnnamedStruct$3
UnnamedUnion
wasm_byte_vec_t
wasm_config_t
Configuration
wasm_engine_t
Engine
wasm_exporttype_t
Export Types
wasm_exporttype_vec_t
wasm_extern_t
Externals
wasm_extern_vec_t
wasm_externtype_t
Extern Types
wasm_externtype_vec_t
wasm_foreign_t
Foreign Objects
wasm_frame_t
Frames
wasm_frame_vec_t
wasm_func_t
Function Instances
wasm_functype_t
Function Types
wasm_functype_vec_t
wasm_global_t
Global Instances
wasm_globaltype_t
Global Types
wasm_globaltype_vec_t
wasm_importtype_t
Import Types
wasm_importtype_vec_t
wasm_instance_t
Module Instances
wasm_limits_t
wasm_memory_t
Memory Instances
wasm_memorytype_t
Memory Types
wasm_memorytype_vec_t
wasm_module_t
Modules
wasm_ref_t
Values
wasm_shared_module_t
wasm_store_t
Store
wasm_table_t
Table Instances
wasm_tabletype_t
Table Types
wasm_tabletype_vec_t
wasm_tagtype_t
Tag Types
wasm_tagtype_vec_t
wasm_trap_t
wasm_val_t
wasm_val_vec_t
wasm_valtype_t
Value Types
wasm_valtype_vec_t
wasmtime_anyref
\typedef wasmtime_anyref_t \brief Convenience alias for #wasmtime_anyref
wasmtime_array_ref_pre
wasmtime_array_type
wasmtime_arrayref
\typedef wasmtime_arrayref_t \brief Convenience alias for #wasmtime_arrayref
wasmtime_async_continuation_t
A continuation for the current state of the host function's execution.
wasmtime_call_future
wasmtime_caller
wasmtime_component_enum_type
wasmtime_component_export_index_t
A value which represents a known export of a component.
wasmtime_component_extern_t
\brief Full description of a single component or component instance export or import.
wasmtime_component_flags_type
wasmtime_component_func
\brief Representation of a function in Wasmtime.
wasmtime_component_func_type_t
\brief Opaque type representing a component function type.
wasmtime_component_future_type
wasmtime_component_instance
\brief Representation of a instance in Wasmtime.
wasmtime_component_instance_type
wasmtime_component_item_t
\brief Represents a single item in a component's import or export list.
wasmtime_component_item_union
\brief Represents a single item in a component's import or export list.
wasmtime_component_linker_instance_t
Structure representing an "instance" being defined within a linker.
wasmtime_component_linker_t
A type used to instantiate a #wasmtime_component_t.
wasmtime_component_list_type
wasmtime_component_map_type
wasmtime_component_option_type
wasmtime_component_record_type
wasmtime_component_resource_any
wasmtime_component_resource_host
wasmtime_component_resource_type
wasmtime_component_result_type
wasmtime_component_stream_type
wasmtime_component_t
Representation of a component in the component model.
wasmtime_component_tuple_type
wasmtime_component_type_t
\brief Represents the type of a WebAssembly component.
wasmtime_component_val
\brief Represents possible runtime values which a component function can either consume or produce
wasmtime_component_valflags
wasmtime_component_vallist
\brief A vec of a type
wasmtime_component_valmap
wasmtime_component_valmap_entry
\brief A pair of a key and a value that represents one entry in a value with kind #WASMTIME_COMPONENT_MAP
wasmtime_component_valrecord
wasmtime_component_valrecord_entry
\brief A pair of a name and a value that represents one entry in a value with kind #WASMTIME_COMPONENT_RECORD
wasmtime_component_valresult_t
Represents a result type
wasmtime_component_valtuple
wasmtime_component_valtype_t
\brief Represents a single value type in the component model.
wasmtime_component_valtype_union
\brief Represents a single value type in the component model.
wasmtime_component_valunion_t
\brief Represents possible runtime values which a component function can either consume or produce
wasmtime_component_valvariant_t
Represents a variant type
wasmtime_component_variant_type
wasmtime_context
wasmtime_eqref
\typedef wasmtime_eqref_t \brief Convenience alias for #wasmtime_eqref
wasmtime_error
wasmtime_exn_type
wasmtime_exnref
\typedef wasmtime_exnref_t \brief Convenience alias for #wasmtime_exnref
wasmtime_extern
\typedef wasmtime_extern_t \brief Convenience alias for #wasmtime_extern_t
wasmtime_extern_union
\typedef wasmtime_extern_union_t \brief Convenience alias for #wasmtime_extern_union
wasmtime_externref
\typedef wasmtime_externref_t \brief Convenience alias for #wasmtime_externref
wasmtime_field_type
\typedef wasmtime_field_type_t \brief Convenience alias for #wasmtime_field_type
wasmtime_func
\brief Representation of a function in Wasmtime.
wasmtime_global
\brief Representation of a global in Wasmtime.
wasmtime_heaptype
\brief A WebAssembly heap type.
wasmtime_heaptype_union
\brief Payload of the wasmtime_heaptype_t union.
wasmtime_instance
\brief Representation of a instance in Wasmtime.
wasmtime_instance_pre
wasmtime_linear_memory
A LinearMemory instance created from a #wasmtime_new_memory_callback_t.
wasmtime_linker
wasmtime_memory
\brief Representation of a memory in Wasmtime.
wasmtime_memory_creator
A representation of custom memory creator and methods for an instance of LinearMemory.
wasmtime_module
wasmtime_module_type
wasmtime_pooling_allocation_config_t
\brief A type containing configuration options for the pooling allocator.
wasmtime_reftype
\brief A WebAssembly reference type.
wasmtime_sharedmemory
wasmtime_stack_creator_t
A representation of custom stack creator.
wasmtime_stack_memory_t
A Stack instance created from a #wasmtime_new_stack_memory_callback_t.
wasmtime_storage_type
\brief A storage type descriptor for struct/array fields.
wasmtime_store
wasmtime_struct_ref_pre
wasmtime_struct_type
wasmtime_structref
\typedef wasmtime_structref_t \brief Convenience alias for #wasmtime_structref
wasmtime_table
\brief Representation of a table in Wasmtime.
wasmtime_tag
\brief Representation of a tag in Wasmtime.
wasmtime_val
\typedef wasmtime_val_t \brief Convenience alias for #wasmtime_val_t
wasmtime_val_raw
\typedef wasmtime_val_raw_t \brief Convenience alias for #wasmtime_val_raw
wasmtime_valtype
\brief A WebAssembly value type.
wasmtime_valunion
\typedef wasmtime_valunion_t \brief Convenience alias for #wasmtime_valunion

Enums

wasm_externkind_enum
wasm_mutability_enum
wasm_valkind_enum
wasmtime_opt_level_enum
\brief Different ways Wasmtime can optimize generated code.
wasmtime_profiling_strategy_enum
\brief Different ways to profile JIT code.
wasmtime_regalloc_algorithm_enum
\brief Different ways to allocate registers.
wasmtime_strategy_enum
\brief Different ways that Wasmtime can compile WebAssembly
wasmtime_trap_code_enum
\brief Trap codes for instruction traps.

Constants

MEMORY_PAGE_SIZE → const int
wasm_limits_max_default → const int
WASMTIME_ANYREF → const int
WASMTIME_COMPONENT_BOOL → const int
WASMTIME_COMPONENT_CHAR → const int
WASMTIME_COMPONENT_ENUM → const int
WASMTIME_COMPONENT_F32 → const int
WASMTIME_COMPONENT_F64 → const int
WASMTIME_COMPONENT_FLAGS → const int
WASMTIME_COMPONENT_ITEM_COMPONENT → const int
WASMTIME_COMPONENT_ITEM_COMPONENT_FUNC → const int
WASMTIME_COMPONENT_ITEM_COMPONENT_INSTANCE → const int
WASMTIME_COMPONENT_ITEM_CORE_FUNC → const int
WASMTIME_COMPONENT_ITEM_MODULE → const int
WASMTIME_COMPONENT_ITEM_RESOURCE → const int
WASMTIME_COMPONENT_ITEM_TYPE → const int
WASMTIME_COMPONENT_LIST → const int
WASMTIME_COMPONENT_MAP → const int
WASMTIME_COMPONENT_OPTION → const int
WASMTIME_COMPONENT_RECORD → const int
WASMTIME_COMPONENT_RESOURCE → const int
WASMTIME_COMPONENT_RESULT → const int
WASMTIME_COMPONENT_S16 → const int
WASMTIME_COMPONENT_S32 → const int
WASMTIME_COMPONENT_S64 → const int
WASMTIME_COMPONENT_S8 → const int
WASMTIME_COMPONENT_STRING → const int
WASMTIME_COMPONENT_TUPLE → const int
WASMTIME_COMPONENT_U16 → const int
WASMTIME_COMPONENT_U32 → const int
WASMTIME_COMPONENT_U64 → const int
WASMTIME_COMPONENT_U8 → const int
WASMTIME_COMPONENT_VALTYPE_BOOL → const int
WASMTIME_COMPONENT_VALTYPE_BORROW → const int
WASMTIME_COMPONENT_VALTYPE_CHAR → const int
WASMTIME_COMPONENT_VALTYPE_ENUM → const int
WASMTIME_COMPONENT_VALTYPE_ERROR_CONTEXT → const int
WASMTIME_COMPONENT_VALTYPE_F32 → const int
WASMTIME_COMPONENT_VALTYPE_F64 → const int
WASMTIME_COMPONENT_VALTYPE_FLAGS → const int
WASMTIME_COMPONENT_VALTYPE_FUTURE → const int
WASMTIME_COMPONENT_VALTYPE_LIST → const int
WASMTIME_COMPONENT_VALTYPE_MAP → const int
WASMTIME_COMPONENT_VALTYPE_OPTION → const int
WASMTIME_COMPONENT_VALTYPE_OWN → const int
WASMTIME_COMPONENT_VALTYPE_RECORD → const int
WASMTIME_COMPONENT_VALTYPE_RESULT → const int
WASMTIME_COMPONENT_VALTYPE_S16 → const int
WASMTIME_COMPONENT_VALTYPE_S32 → const int
WASMTIME_COMPONENT_VALTYPE_S64 → const int
WASMTIME_COMPONENT_VALTYPE_S8 → const int
WASMTIME_COMPONENT_VALTYPE_STREAM → const int
WASMTIME_COMPONENT_VALTYPE_STRING → const int
WASMTIME_COMPONENT_VALTYPE_TUPLE → const int
WASMTIME_COMPONENT_VALTYPE_U16 → const int
WASMTIME_COMPONENT_VALTYPE_U32 → const int
WASMTIME_COMPONENT_VALTYPE_U64 → const int
WASMTIME_COMPONENT_VALTYPE_U8 → const int
WASMTIME_COMPONENT_VALTYPE_VARIANT → const int
WASMTIME_COMPONENT_VARIANT → const int
WASMTIME_EXNREF → const int
WASMTIME_EXTERN_FUNC → const int
WASMTIME_EXTERN_GLOBAL → const int
WASMTIME_EXTERN_MEMORY → const int
WASMTIME_EXTERN_SHAREDMEMORY → const int
WASMTIME_EXTERN_TABLE → const int
WASMTIME_EXTERN_TAG → const int
WASMTIME_EXTERNREF → const int
WASMTIME_F32 → const int
WASMTIME_F64 → const int
WASMTIME_FUNCREF → const int
WASMTIME_HEAPTYPE_KIND_ANY → const int
WASMTIME_HEAPTYPE_KIND_ARRAY → const int
WASMTIME_HEAPTYPE_KIND_CONCRETE_ARRAY → const int
WASMTIME_HEAPTYPE_KIND_CONCRETE_EXN → const int
WASMTIME_HEAPTYPE_KIND_CONCRETE_FUNC → const int
WASMTIME_HEAPTYPE_KIND_CONCRETE_STRUCT → const int
WASMTIME_HEAPTYPE_KIND_EQ → const int
WASMTIME_HEAPTYPE_KIND_EXN → const int
WASMTIME_HEAPTYPE_KIND_EXTERN → const int
WASMTIME_HEAPTYPE_KIND_FUNC → const int
WASMTIME_HEAPTYPE_KIND_I31 → const int
WASMTIME_HEAPTYPE_KIND_NOEXN → const int
WASMTIME_HEAPTYPE_KIND_NOEXTERN → const int
WASMTIME_HEAPTYPE_KIND_NOFUNC → const int
WASMTIME_HEAPTYPE_KIND_NONE → const int
WASMTIME_HEAPTYPE_KIND_STRUCT → const int
WASMTIME_I32 → const int
WASMTIME_I64 → const int
WASMTIME_STORAGE_TYPE_KIND_I16 → const int
WASMTIME_STORAGE_TYPE_KIND_I8 → const int
WASMTIME_STORAGE_TYPE_KIND_VALTYPE → const int
WASMTIME_UPDATE_DEADLINE_CONTINUE → const int
WASMTIME_UPDATE_DEADLINE_YIELD → const int
WASMTIME_V128 → const int
WASMTIME_VALTYPE_KIND_F32 → const int
WASMTIME_VALTYPE_KIND_F64 → const int
WASMTIME_VALTYPE_KIND_I32 → const int
WASMTIME_VALTYPE_KIND_I64 → const int
WASMTIME_VALTYPE_KIND_REF → const int
WASMTIME_VALTYPE_KIND_V128 → const int
WASMTIME_VERSION → const String
WASMTIME_VERSION_MAJOR → const int
WASMTIME_VERSION_MINOR → const int
WASMTIME_VERSION_PATCH → const int

Functions

wasm_byte_vec_copy(Pointer<wasm_byte_vec_t> out, Pointer<wasm_byte_vec_t> arg1) → void
wasm_byte_vec_delete(Pointer<wasm_byte_vec_t> arg0) → void
wasm_byte_vec_new(Pointer<wasm_byte_vec_t> out, int arg1, Pointer<wasm_byte_t> arg2) → void
wasm_byte_vec_new_empty(Pointer<wasm_byte_vec_t> out) → void
wasm_byte_vec_new_uninitialized(Pointer<wasm_byte_vec_t> out, int arg1) → void
wasm_config_delete(Pointer<wasm_config_t> arg0) → void
wasm_config_new() → Pointer<wasm_config_t>
wasm_engine_delete(Pointer<wasm_engine_t> arg0) → void
wasm_engine_new() → Pointer<wasm_engine_t>
wasm_engine_new_with_config(Pointer<wasm_config_t> arg0) → Pointer<wasm_engine_t>
wasm_exporttype_copy(Pointer<wasm_exporttype_t> arg0) → Pointer<wasm_exporttype_t>
wasm_exporttype_delete(Pointer<wasm_exporttype_t> arg0) → void
wasm_exporttype_name(Pointer<wasm_exporttype_t> arg0) → Pointer<wasm_byte_vec_t>
wasm_exporttype_new(Pointer<wasm_byte_vec_t> arg0, Pointer<wasm_externtype_t> arg1) → Pointer<wasm_exporttype_t>
wasm_exporttype_type(Pointer<wasm_exporttype_t> arg0) → Pointer<wasm_externtype_t>
wasm_exporttype_vec_copy(Pointer<wasm_exporttype_vec_t> out, Pointer<wasm_exporttype_vec_t> arg1) → void
wasm_exporttype_vec_delete(Pointer<wasm_exporttype_vec_t> arg0) → void
wasm_exporttype_vec_new(Pointer<wasm_exporttype_vec_t> out, int arg1, Pointer<Pointer<wasm_exporttype_t>> arg2) → void
wasm_exporttype_vec_new_empty(Pointer<wasm_exporttype_vec_t> out) → void
wasm_exporttype_vec_new_uninitialized(Pointer<wasm_exporttype_vec_t> out, int arg1) → void
wasm_extern_as_func(Pointer<wasm_extern_t> arg0) → Pointer<wasm_func_t>
wasm_extern_as_func_const(Pointer<wasm_extern_t> arg0) → Pointer<wasm_func_t>
wasm_extern_as_global(Pointer<wasm_extern_t> arg0) → Pointer<wasm_global_t>
wasm_extern_as_global_const(Pointer<wasm_extern_t> arg0) → Pointer<wasm_global_t>
wasm_extern_as_memory(Pointer<wasm_extern_t> arg0) → Pointer<wasm_memory_t>
wasm_extern_as_memory_const(Pointer<wasm_extern_t> arg0) → Pointer<wasm_memory_t>
wasm_extern_as_ref(Pointer<wasm_extern_t> arg0) → Pointer<wasm_ref_t>
wasm_extern_as_ref_const(Pointer<wasm_extern_t> arg0) → Pointer<wasm_ref_t>
wasm_extern_as_table(Pointer<wasm_extern_t> arg0) → Pointer<wasm_table_t>
wasm_extern_as_table_const(Pointer<wasm_extern_t> arg0) → Pointer<wasm_table_t>
wasm_extern_copy(Pointer<wasm_extern_t> arg0) → Pointer<wasm_extern_t>
wasm_extern_delete(Pointer<wasm_extern_t> arg0) → void
wasm_extern_get_host_info(Pointer<wasm_extern_t> arg0) → Pointer<Void>
wasm_extern_kind(Pointer<wasm_extern_t> arg0) → int
wasm_extern_same(Pointer<wasm_extern_t> arg0, Pointer<wasm_extern_t> arg1) → bool
wasm_extern_set_host_info(Pointer<wasm_extern_t> arg0, Pointer<Void> arg1) → void
wasm_extern_set_host_info_with_finalizer(Pointer<wasm_extern_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_extern_type(Pointer<wasm_extern_t> arg0) → Pointer<wasm_externtype_t>
wasm_extern_vec_copy(Pointer<wasm_extern_vec_t> out, Pointer<wasm_extern_vec_t> arg1) → void
wasm_extern_vec_delete(Pointer<wasm_extern_vec_t> arg0) → void
wasm_extern_vec_new(Pointer<wasm_extern_vec_t> out, int arg1, Pointer<Pointer<wasm_extern_t>> arg2) → void
wasm_extern_vec_new_empty(Pointer<wasm_extern_vec_t> out) → void
wasm_extern_vec_new_uninitialized(Pointer<wasm_extern_vec_t> out, int arg1) → void
wasm_externtype_as_functype(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_functype_t>
wasm_externtype_as_functype_const(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_functype_t>
wasm_externtype_as_globaltype(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_globaltype_t>
wasm_externtype_as_globaltype_const(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_globaltype_t>
wasm_externtype_as_memorytype(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_memorytype_t>
wasm_externtype_as_memorytype_const(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_memorytype_t>
wasm_externtype_as_tabletype(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_tabletype_t>
wasm_externtype_as_tabletype_const(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_tabletype_t>
wasm_externtype_as_tagtype(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_tagtype_t>
wasm_externtype_as_tagtype_const(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_tagtype_t>
wasm_externtype_copy(Pointer<wasm_externtype_t> arg0) → Pointer<wasm_externtype_t>
wasm_externtype_delete(Pointer<wasm_externtype_t> arg0) → void
wasm_externtype_kind(Pointer<wasm_externtype_t> arg0) → int
wasm_externtype_vec_copy(Pointer<wasm_externtype_vec_t> out, Pointer<wasm_externtype_vec_t> arg1) → void
wasm_externtype_vec_delete(Pointer<wasm_externtype_vec_t> arg0) → void
wasm_externtype_vec_new(Pointer<wasm_externtype_vec_t> out, int arg1, Pointer<Pointer<wasm_externtype_t>> arg2) → void
wasm_externtype_vec_new_empty(Pointer<wasm_externtype_vec_t> out) → void
wasm_externtype_vec_new_uninitialized(Pointer<wasm_externtype_vec_t> out, int arg1) → void
wasm_foreign_as_ref(Pointer<wasm_foreign_t> arg0) → Pointer<wasm_ref_t>
wasm_foreign_as_ref_const(Pointer<wasm_foreign_t> arg0) → Pointer<wasm_ref_t>
wasm_foreign_copy(Pointer<wasm_foreign_t> arg0) → Pointer<wasm_foreign_t>
wasm_foreign_delete(Pointer<wasm_foreign_t> arg0) → void
wasm_foreign_get_host_info(Pointer<wasm_foreign_t> arg0) → Pointer<Void>
wasm_foreign_new(Pointer<wasm_store_t> arg0) → Pointer<wasm_foreign_t>
wasm_foreign_same(Pointer<wasm_foreign_t> arg0, Pointer<wasm_foreign_t> arg1) → bool
wasm_foreign_set_host_info(Pointer<wasm_foreign_t> arg0, Pointer<Void> arg1) → void
wasm_foreign_set_host_info_with_finalizer(Pointer<wasm_foreign_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_frame_copy(Pointer<wasm_frame_t> arg0) → Pointer<wasm_frame_t>
wasm_frame_delete(Pointer<wasm_frame_t> arg0) → void
wasm_frame_func_index(Pointer<wasm_frame_t> arg0) → int
wasm_frame_func_offset(Pointer<wasm_frame_t> arg0) → int
wasm_frame_instance(Pointer<wasm_frame_t> arg0) → Pointer<wasm_instance_t>
wasm_frame_module_offset(Pointer<wasm_frame_t> arg0) → int
wasm_frame_vec_copy(Pointer<wasm_frame_vec_t> out, Pointer<wasm_frame_vec_t> arg1) → void
wasm_frame_vec_delete(Pointer<wasm_frame_vec_t> arg0) → void
wasm_frame_vec_new(Pointer<wasm_frame_vec_t> out, int arg1, Pointer<Pointer<wasm_frame_t>> arg2) → void
wasm_frame_vec_new_empty(Pointer<wasm_frame_vec_t> out) → void
wasm_frame_vec_new_uninitialized(Pointer<wasm_frame_vec_t> out, int arg1) → void
wasm_func_as_extern(Pointer<wasm_func_t> arg0) → Pointer<wasm_extern_t>
wasm_func_as_extern_const(Pointer<wasm_func_t> arg0) → Pointer<wasm_extern_t>
wasm_func_as_ref(Pointer<wasm_func_t> arg0) → Pointer<wasm_ref_t>
wasm_func_as_ref_const(Pointer<wasm_func_t> arg0) → Pointer<wasm_ref_t>
wasm_func_call(Pointer<wasm_func_t> arg0, Pointer<wasm_val_vec_t> args, Pointer<wasm_val_vec_t> results) → Pointer<wasm_trap_t>
wasm_func_copy(Pointer<wasm_func_t> arg0) → Pointer<wasm_func_t>
wasm_func_delete(Pointer<wasm_func_t> arg0) → void
wasm_func_get_host_info(Pointer<wasm_func_t> arg0) → Pointer<Void>
wasm_func_new(Pointer<wasm_store_t> arg0, Pointer<wasm_functype_t> arg1, wasm_func_callback_t arg2) → Pointer<wasm_func_t>
wasm_func_new_with_env(Pointer<wasm_store_t> arg0, Pointer<wasm_functype_t> type, wasm_func_callback_with_env_t arg2, Pointer<Void> env, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → Pointer<wasm_func_t>
wasm_func_param_arity(Pointer<wasm_func_t> arg0) → int
wasm_func_result_arity(Pointer<wasm_func_t> arg0) → int
wasm_func_same(Pointer<wasm_func_t> arg0, Pointer<wasm_func_t> arg1) → bool
wasm_func_set_host_info(Pointer<wasm_func_t> arg0, Pointer<Void> arg1) → void
wasm_func_set_host_info_with_finalizer(Pointer<wasm_func_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_func_type(Pointer<wasm_func_t> arg0) → Pointer<wasm_functype_t>
wasm_functype_as_externtype(Pointer<wasm_functype_t> arg0) → Pointer<wasm_externtype_t>
wasm_functype_as_externtype_const(Pointer<wasm_functype_t> arg0) → Pointer<wasm_externtype_t>
wasm_functype_copy(Pointer<wasm_functype_t> arg0) → Pointer<wasm_functype_t>
wasm_functype_delete(Pointer<wasm_functype_t> arg0) → void
wasm_functype_new(Pointer<wasm_valtype_vec_t> params, Pointer<wasm_valtype_vec_t> results) → Pointer<wasm_functype_t>
wasm_functype_params(Pointer<wasm_functype_t> arg0) → Pointer<wasm_valtype_vec_t>
wasm_functype_results(Pointer<wasm_functype_t> arg0) → Pointer<wasm_valtype_vec_t>
wasm_functype_vec_copy(Pointer<wasm_functype_vec_t> out, Pointer<wasm_functype_vec_t> arg1) → void
wasm_functype_vec_delete(Pointer<wasm_functype_vec_t> arg0) → void
wasm_functype_vec_new(Pointer<wasm_functype_vec_t> out, int arg1, Pointer<Pointer<wasm_functype_t>> arg2) → void
wasm_functype_vec_new_empty(Pointer<wasm_functype_vec_t> out) → void
wasm_functype_vec_new_uninitialized(Pointer<wasm_functype_vec_t> out, int arg1) → void
wasm_global_as_extern(Pointer<wasm_global_t> arg0) → Pointer<wasm_extern_t>
wasm_global_as_extern_const(Pointer<wasm_global_t> arg0) → Pointer<wasm_extern_t>
wasm_global_as_ref(Pointer<wasm_global_t> arg0) → Pointer<wasm_ref_t>
wasm_global_as_ref_const(Pointer<wasm_global_t> arg0) → Pointer<wasm_ref_t>
wasm_global_copy(Pointer<wasm_global_t> arg0) → Pointer<wasm_global_t>
wasm_global_delete(Pointer<wasm_global_t> arg0) → void
wasm_global_get(Pointer<wasm_global_t> arg0, Pointer<wasm_val_t> out) → void
wasm_global_get_host_info(Pointer<wasm_global_t> arg0) → Pointer<Void>
wasm_global_new(Pointer<wasm_store_t> arg0, Pointer<wasm_globaltype_t> arg1, Pointer<wasm_val_t> arg2) → Pointer<wasm_global_t>
wasm_global_same(Pointer<wasm_global_t> arg0, Pointer<wasm_global_t> arg1) → bool
wasm_global_set(Pointer<wasm_global_t> arg0, Pointer<wasm_val_t> arg1) → void
wasm_global_set_host_info(Pointer<wasm_global_t> arg0, Pointer<Void> arg1) → void
wasm_global_set_host_info_with_finalizer(Pointer<wasm_global_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_global_type(Pointer<wasm_global_t> arg0) → Pointer<wasm_globaltype_t>
wasm_globaltype_as_externtype(Pointer<wasm_globaltype_t> arg0) → Pointer<wasm_externtype_t>
wasm_globaltype_as_externtype_const(Pointer<wasm_globaltype_t> arg0) → Pointer<wasm_externtype_t>
wasm_globaltype_content(Pointer<wasm_globaltype_t> arg0) → Pointer<wasm_valtype_t>
wasm_globaltype_copy(Pointer<wasm_globaltype_t> arg0) → Pointer<wasm_globaltype_t>
wasm_globaltype_delete(Pointer<wasm_globaltype_t> arg0) → void
wasm_globaltype_mutability(Pointer<wasm_globaltype_t> arg0) → int
wasm_globaltype_new(Pointer<wasm_valtype_t> arg0, int arg1) → Pointer<wasm_globaltype_t>
wasm_globaltype_vec_copy(Pointer<wasm_globaltype_vec_t> out, Pointer<wasm_globaltype_vec_t> arg1) → void
wasm_globaltype_vec_delete(Pointer<wasm_globaltype_vec_t> arg0) → void
wasm_globaltype_vec_new(Pointer<wasm_globaltype_vec_t> out, int arg1, Pointer<Pointer<wasm_globaltype_t>> arg2) → void
wasm_globaltype_vec_new_empty(Pointer<wasm_globaltype_vec_t> out) → void
wasm_globaltype_vec_new_uninitialized(Pointer<wasm_globaltype_vec_t> out, int arg1) → void
wasm_importtype_copy(Pointer<wasm_importtype_t> arg0) → Pointer<wasm_importtype_t>
wasm_importtype_delete(Pointer<wasm_importtype_t> arg0) → void
wasm_importtype_module(Pointer<wasm_importtype_t> arg0) → Pointer<wasm_byte_vec_t>
wasm_importtype_name(Pointer<wasm_importtype_t> arg0) → Pointer<wasm_byte_vec_t>
wasm_importtype_new(Pointer<wasm_byte_vec_t> module, Pointer<wasm_byte_vec_t> name, Pointer<wasm_externtype_t> arg2) → Pointer<wasm_importtype_t>
wasm_importtype_type(Pointer<wasm_importtype_t> arg0) → Pointer<wasm_externtype_t>
wasm_importtype_vec_copy(Pointer<wasm_importtype_vec_t> out, Pointer<wasm_importtype_vec_t> arg1) → void
wasm_importtype_vec_delete(Pointer<wasm_importtype_vec_t> arg0) → void
wasm_importtype_vec_new(Pointer<wasm_importtype_vec_t> out, int arg1, Pointer<Pointer<wasm_importtype_t>> arg2) → void
wasm_importtype_vec_new_empty(Pointer<wasm_importtype_vec_t> out) → void
wasm_importtype_vec_new_uninitialized(Pointer<wasm_importtype_vec_t> out, int arg1) → void
wasm_instance_as_ref(Pointer<wasm_instance_t> arg0) → Pointer<wasm_ref_t>
wasm_instance_as_ref_const(Pointer<wasm_instance_t> arg0) → Pointer<wasm_ref_t>
wasm_instance_copy(Pointer<wasm_instance_t> arg0) → Pointer<wasm_instance_t>
wasm_instance_delete(Pointer<wasm_instance_t> arg0) → void
wasm_instance_exports(Pointer<wasm_instance_t> arg0, Pointer<wasm_extern_vec_t> out) → void
wasm_instance_get_host_info(Pointer<wasm_instance_t> arg0) → Pointer<Void>
wasm_instance_new(Pointer<wasm_store_t> arg0, Pointer<wasm_module_t> arg1, Pointer<wasm_extern_vec_t> imports, Pointer<Pointer<wasm_trap_t>> arg3) → Pointer<wasm_instance_t>
wasm_instance_same(Pointer<wasm_instance_t> arg0, Pointer<wasm_instance_t> arg1) → bool
wasm_instance_set_host_info(Pointer<wasm_instance_t> arg0, Pointer<Void> arg1) → void
wasm_instance_set_host_info_with_finalizer(Pointer<wasm_instance_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_memory_as_extern(Pointer<wasm_memory_t> arg0) → Pointer<wasm_extern_t>
wasm_memory_as_extern_const(Pointer<wasm_memory_t> arg0) → Pointer<wasm_extern_t>
wasm_memory_as_ref(Pointer<wasm_memory_t> arg0) → Pointer<wasm_ref_t>
wasm_memory_as_ref_const(Pointer<wasm_memory_t> arg0) → Pointer<wasm_ref_t>
wasm_memory_copy(Pointer<wasm_memory_t> arg0) → Pointer<wasm_memory_t>
wasm_memory_data(Pointer<wasm_memory_t> arg0) → Pointer<wasm_byte_t>
wasm_memory_data_size(Pointer<wasm_memory_t> arg0) → int
wasm_memory_delete(Pointer<wasm_memory_t> arg0) → void
wasm_memory_get_host_info(Pointer<wasm_memory_t> arg0) → Pointer<Void>
wasm_memory_grow(Pointer<wasm_memory_t> arg0, int delta) → bool
wasm_memory_new(Pointer<wasm_store_t> arg0, Pointer<wasm_memorytype_t> arg1) → Pointer<wasm_memory_t>
wasm_memory_same(Pointer<wasm_memory_t> arg0, Pointer<wasm_memory_t> arg1) → bool
wasm_memory_set_host_info(Pointer<wasm_memory_t> arg0, Pointer<Void> arg1) → void
wasm_memory_set_host_info_with_finalizer(Pointer<wasm_memory_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_memory_size(Pointer<wasm_memory_t> arg0) → int
wasm_memory_type(Pointer<wasm_memory_t> arg0) → Pointer<wasm_memorytype_t>
wasm_memorytype_as_externtype(Pointer<wasm_memorytype_t> arg0) → Pointer<wasm_externtype_t>
wasm_memorytype_as_externtype_const(Pointer<wasm_memorytype_t> arg0) → Pointer<wasm_externtype_t>
wasm_memorytype_copy(Pointer<wasm_memorytype_t> arg0) → Pointer<wasm_memorytype_t>
wasm_memorytype_delete(Pointer<wasm_memorytype_t> arg0) → void
wasm_memorytype_limits(Pointer<wasm_memorytype_t> arg0) → Pointer<wasm_limits_t>
wasm_memorytype_new(Pointer<wasm_limits_t> arg0) → Pointer<wasm_memorytype_t>
wasm_memorytype_vec_copy(Pointer<wasm_memorytype_vec_t> out, Pointer<wasm_memorytype_vec_t> arg1) → void
wasm_memorytype_vec_delete(Pointer<wasm_memorytype_vec_t> arg0) → void
wasm_memorytype_vec_new(Pointer<wasm_memorytype_vec_t> out, int arg1, Pointer<Pointer<wasm_memorytype_t>> arg2) → void
wasm_memorytype_vec_new_empty(Pointer<wasm_memorytype_vec_t> out) → void
wasm_memorytype_vec_new_uninitialized(Pointer<wasm_memorytype_vec_t> out, int arg1) → void
wasm_module_as_ref(Pointer<wasm_module_t> arg0) → Pointer<wasm_ref_t>
wasm_module_as_ref_const(Pointer<wasm_module_t> arg0) → Pointer<wasm_ref_t>
wasm_module_copy(Pointer<wasm_module_t> arg0) → Pointer<wasm_module_t>
wasm_module_delete(Pointer<wasm_module_t> arg0) → void
wasm_module_deserialize(Pointer<wasm_store_t> arg0, Pointer<wasm_byte_vec_t> arg1) → Pointer<wasm_module_t>
wasm_module_exports(Pointer<wasm_module_t> arg0, Pointer<wasm_exporttype_vec_t> out) → void
wasm_module_get_host_info(Pointer<wasm_module_t> arg0) → Pointer<Void>
wasm_module_imports(Pointer<wasm_module_t> arg0, Pointer<wasm_importtype_vec_t> out) → void
wasm_module_new(Pointer<wasm_store_t> arg0, Pointer<wasm_byte_vec_t> binary) → Pointer<wasm_module_t>
wasm_module_obtain(Pointer<wasm_store_t> arg0, Pointer<wasm_shared_module_t> arg1) → Pointer<wasm_module_t>
wasm_module_same(Pointer<wasm_module_t> arg0, Pointer<wasm_module_t> arg1) → bool
wasm_module_serialize(Pointer<wasm_module_t> arg0, Pointer<wasm_byte_vec_t> out) → void
wasm_module_set_host_info(Pointer<wasm_module_t> arg0, Pointer<Void> arg1) → void
wasm_module_set_host_info_with_finalizer(Pointer<wasm_module_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_module_share(Pointer<wasm_module_t> arg0) → Pointer<wasm_shared_module_t>
wasm_module_validate(Pointer<wasm_store_t> arg0, Pointer<wasm_byte_vec_t> binary) → bool
wasm_ref_as_extern(Pointer<wasm_ref_t> arg0) → Pointer<wasm_extern_t>
wasm_ref_as_extern_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_extern_t>
wasm_ref_as_foreign(Pointer<wasm_ref_t> arg0) → Pointer<wasm_foreign_t>
wasm_ref_as_foreign_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_foreign_t>
wasm_ref_as_func(Pointer<wasm_ref_t> arg0) → Pointer<wasm_func_t>
wasm_ref_as_func_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_func_t>
wasm_ref_as_global(Pointer<wasm_ref_t> arg0) → Pointer<wasm_global_t>
wasm_ref_as_global_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_global_t>
wasm_ref_as_instance(Pointer<wasm_ref_t> arg0) → Pointer<wasm_instance_t>
wasm_ref_as_instance_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_instance_t>
wasm_ref_as_memory(Pointer<wasm_ref_t> arg0) → Pointer<wasm_memory_t>
wasm_ref_as_memory_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_memory_t>
wasm_ref_as_module(Pointer<wasm_ref_t> arg0) → Pointer<wasm_module_t>
wasm_ref_as_module_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_module_t>
wasm_ref_as_table(Pointer<wasm_ref_t> arg0) → Pointer<wasm_table_t>
wasm_ref_as_table_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_table_t>
wasm_ref_as_trap(Pointer<wasm_ref_t> arg0) → Pointer<wasm_trap_t>
wasm_ref_as_trap_const(Pointer<wasm_ref_t> arg0) → Pointer<wasm_trap_t>
wasm_ref_copy(Pointer<wasm_ref_t> arg0) → Pointer<wasm_ref_t>
wasm_ref_delete(Pointer<wasm_ref_t> arg0) → void
wasm_ref_get_host_info(Pointer<wasm_ref_t> arg0) → Pointer<Void>
wasm_ref_same(Pointer<wasm_ref_t> arg0, Pointer<wasm_ref_t> arg1) → bool
wasm_ref_set_host_info(Pointer<wasm_ref_t> arg0, Pointer<Void> arg1) → void
wasm_ref_set_host_info_with_finalizer(Pointer<wasm_ref_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_shared_module_delete(Pointer<wasm_shared_module_t> arg0) → void
wasm_store_delete(Pointer<wasm_store_t> arg0) → void
wasm_store_new(Pointer<wasm_engine_t> arg0) → Pointer<wasm_store_t>
wasm_table_as_extern(Pointer<wasm_table_t> arg0) → Pointer<wasm_extern_t>
wasm_table_as_extern_const(Pointer<wasm_table_t> arg0) → Pointer<wasm_extern_t>
wasm_table_as_ref(Pointer<wasm_table_t> arg0) → Pointer<wasm_ref_t>
wasm_table_as_ref_const(Pointer<wasm_table_t> arg0) → Pointer<wasm_ref_t>
wasm_table_copy(Pointer<wasm_table_t> arg0) → Pointer<wasm_table_t>
wasm_table_delete(Pointer<wasm_table_t> arg0) → void
wasm_table_get(Pointer<wasm_table_t> arg0, int index) → Pointer<wasm_ref_t>
wasm_table_get_host_info(Pointer<wasm_table_t> arg0) → Pointer<Void>
wasm_table_grow(Pointer<wasm_table_t> arg0, int delta, Pointer<wasm_ref_t> init) → bool
wasm_table_new(Pointer<wasm_store_t> arg0, Pointer<wasm_tabletype_t> arg1, Pointer<wasm_ref_t> init) → Pointer<wasm_table_t>
wasm_table_same(Pointer<wasm_table_t> arg0, Pointer<wasm_table_t> arg1) → bool
wasm_table_set(Pointer<wasm_table_t> arg0, int index, Pointer<wasm_ref_t> arg2) → bool
wasm_table_set_host_info(Pointer<wasm_table_t> arg0, Pointer<Void> arg1) → void
wasm_table_set_host_info_with_finalizer(Pointer<wasm_table_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_table_size(Pointer<wasm_table_t> arg0) → int
wasm_table_type(Pointer<wasm_table_t> arg0) → Pointer<wasm_tabletype_t>
wasm_tabletype_as_externtype(Pointer<wasm_tabletype_t> arg0) → Pointer<wasm_externtype_t>
wasm_tabletype_as_externtype_const(Pointer<wasm_tabletype_t> arg0) → Pointer<wasm_externtype_t>
wasm_tabletype_copy(Pointer<wasm_tabletype_t> arg0) → Pointer<wasm_tabletype_t>
wasm_tabletype_delete(Pointer<wasm_tabletype_t> arg0) → void
wasm_tabletype_element(Pointer<wasm_tabletype_t> arg0) → Pointer<wasm_valtype_t>
wasm_tabletype_limits(Pointer<wasm_tabletype_t> arg0) → Pointer<wasm_limits_t>
wasm_tabletype_new(Pointer<wasm_valtype_t> arg0, Pointer<wasm_limits_t> arg1) → Pointer<wasm_tabletype_t>
wasm_tabletype_vec_copy(Pointer<wasm_tabletype_vec_t> out, Pointer<wasm_tabletype_vec_t> arg1) → void
wasm_tabletype_vec_delete(Pointer<wasm_tabletype_vec_t> arg0) → void
wasm_tabletype_vec_new(Pointer<wasm_tabletype_vec_t> out, int arg1, Pointer<Pointer<wasm_tabletype_t>> arg2) → void
wasm_tabletype_vec_new_empty(Pointer<wasm_tabletype_vec_t> out) → void
wasm_tabletype_vec_new_uninitialized(Pointer<wasm_tabletype_vec_t> out, int arg1) → void
wasm_tagtype_as_externtype(Pointer<wasm_tagtype_t> arg0) → Pointer<wasm_externtype_t>
wasm_tagtype_as_externtype_const(Pointer<wasm_tagtype_t> arg0) → Pointer<wasm_externtype_t>
wasm_tagtype_copy(Pointer<wasm_tagtype_t> arg0) → Pointer<wasm_tagtype_t>
wasm_tagtype_delete(Pointer<wasm_tagtype_t> arg0) → void
wasm_tagtype_functype(Pointer<wasm_tagtype_t> arg0) → Pointer<wasm_functype_t>
wasm_tagtype_new(Pointer<wasm_functype_t> arg0) → Pointer<wasm_tagtype_t>
wasm_tagtype_vec_copy(Pointer<wasm_tagtype_vec_t> out, Pointer<wasm_tagtype_vec_t> arg1) → void
wasm_tagtype_vec_delete(Pointer<wasm_tagtype_vec_t> arg0) → void
wasm_tagtype_vec_new(Pointer<wasm_tagtype_vec_t> out, int arg1, Pointer<Pointer<wasm_tagtype_t>> arg2) → void
wasm_tagtype_vec_new_empty(Pointer<wasm_tagtype_vec_t> out) → void
wasm_tagtype_vec_new_uninitialized(Pointer<wasm_tagtype_vec_t> out, int arg1) → void
wasm_trap_as_ref(Pointer<wasm_trap_t> arg0) → Pointer<wasm_ref_t>
wasm_trap_as_ref_const(Pointer<wasm_trap_t> arg0) → Pointer<wasm_ref_t>
wasm_trap_copy(Pointer<wasm_trap_t> arg0) → Pointer<wasm_trap_t>
wasm_trap_delete(Pointer<wasm_trap_t> arg0) → void
wasm_trap_get_host_info(Pointer<wasm_trap_t> arg0) → Pointer<Void>
wasm_trap_message(Pointer<wasm_trap_t> arg0, Pointer<wasm_byte_vec_t> out) → void
wasm_trap_new(Pointer<wasm_store_t> store, Pointer<wasm_byte_vec_t> arg1) → Pointer<wasm_trap_t>
wasm_trap_origin(Pointer<wasm_trap_t> arg0) → Pointer<wasm_frame_t>
wasm_trap_same(Pointer<wasm_trap_t> arg0, Pointer<wasm_trap_t> arg1) → bool
wasm_trap_set_host_info(Pointer<wasm_trap_t> arg0, Pointer<Void> arg1) → void
wasm_trap_set_host_info_with_finalizer(Pointer<wasm_trap_t> arg0, Pointer<Void> arg1, Pointer<NativeFunction<Void Function(Pointer<Void>)>> arg2) → void
wasm_trap_trace(Pointer<wasm_trap_t> arg0, Pointer<wasm_frame_vec_t> out) → void
wasm_val_copy(Pointer<wasm_val_t> out, Pointer<wasm_val_t> arg1) → void
wasm_val_delete(Pointer<wasm_val_t> v) → void
wasm_val_vec_copy(Pointer<wasm_val_vec_t> out, Pointer<wasm_val_vec_t> arg1) → void
wasm_val_vec_delete(Pointer<wasm_val_vec_t> arg0) → void
wasm_val_vec_new(Pointer<wasm_val_vec_t> out, int arg1, Pointer<wasm_val_t> arg2) → void
wasm_val_vec_new_empty(Pointer<wasm_val_vec_t> out) → void
wasm_val_vec_new_uninitialized(Pointer<wasm_val_vec_t> out, int arg1) → void
wasm_valtype_copy(Pointer<wasm_valtype_t> arg0) → Pointer<wasm_valtype_t>
wasm_valtype_delete(Pointer<wasm_valtype_t> arg0) → void
wasm_valtype_kind(Pointer<wasm_valtype_t> arg0) → int
wasm_valtype_new(int arg0) → Pointer<wasm_valtype_t>
wasm_valtype_vec_copy(Pointer<wasm_valtype_vec_t> out, Pointer<wasm_valtype_vec_t> arg1) → void
wasm_valtype_vec_delete(Pointer<wasm_valtype_vec_t> arg0) → void
wasm_valtype_vec_new(Pointer<wasm_valtype_vec_t> out, int arg1, Pointer<Pointer<wasm_valtype_t>> arg2) → void
wasm_valtype_vec_new_empty(Pointer<wasm_valtype_vec_t> out) → void
wasm_valtype_vec_new_uninitialized(Pointer<wasm_valtype_vec_t> out, int arg1) → void
wasmtime_anyref_as_array(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref, Pointer<wasmtime_arrayref_t> out) → bool
\brief Downcast an anyref to an arrayref.
wasmtime_anyref_as_eqref(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref, Pointer<wasmtime_eqref_t> out) → bool
\brief Downcast an anyref to an eqref.
wasmtime_anyref_as_struct(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref, Pointer<wasmtime_structref_t> out) → bool
\brief Downcast an anyref to a structref.
wasmtime_anyref_clone(Pointer<wasmtime_anyref_t> anyref, Pointer<wasmtime_anyref_t> out) → void
\brief Creates a new reference pointing to the same data that anyref points to (depending on the configured collector this might increase a reference count or create a new GC root).
wasmtime_anyref_from_i31(Pointer<wasmtime_context_t> context, int i31val, Pointer<wasmtime_anyref_t> out) → void
\brief Create a new i31ref value.
wasmtime_anyref_from_raw(Pointer<wasmtime_context_t> context, int raw, Pointer<wasmtime_anyref_t> out) → void
\brief Converts a raw anyref value coming from #wasmtime_val_raw_t into a #wasmtime_anyref_t.
wasmtime_anyref_i31_get_s(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref, Pointer<Int32> dst) → bool
\brief Get the anyref's underlying i31ref value, sign extended, if any.
wasmtime_anyref_i31_get_u(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref, Pointer<Uint32> dst) → bool
\brief Get the anyref's underlying i31ref value, zero extended, if any.
wasmtime_anyref_is_array(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref) → bool
\brief Test whether an anyref is an arrayref.
wasmtime_anyref_is_eqref(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref) → bool
\brief Test whether an anyref is an eqref.
wasmtime_anyref_is_i31(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref) → bool
\brief Test whether an anyref is an i31ref.
wasmtime_anyref_is_struct(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref) → bool
\brief Test whether an anyref is a structref.
wasmtime_anyref_to_raw(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> ref) → int
\brief Converts a #wasmtime_anyref_t to a raw value suitable for storing into a #wasmtime_val_raw_t.
wasmtime_anyref_type(Pointer<wasmtime_context_t> context, Pointer<wasmtime_anyref_t> anyref, Pointer<wasmtime_heaptype_t> out) → bool
\brief Returns the type of the specified anyref.
wasmtime_anyref_unroot(Pointer<wasmtime_anyref_t> ref) → void
\brief Unroots the ref provided within the context.
wasmtime_array_ref_pre_delete(Pointer<wasmtime_array_ref_pre_t> pre) → void
\brief Delete an array pre-allocator.
wasmtime_array_ref_pre_new(Pointer<wasmtime_context_t> context, Pointer<wasmtime_array_type_t> ty) → Pointer<wasmtime_array_ref_pre_t>
\brief Create a new array pre-allocator.
wasmtime_array_type_copy(Pointer<wasmtime_array_type_t> ty) → Pointer<wasmtime_array_type_t>
\brief Clone an array type.
wasmtime_array_type_delete(Pointer<wasmtime_array_type_t> ty) → void
\brief Delete an array type.
wasmtime_array_type_element(Pointer<wasmtime_array_type_t> ty, Pointer<wasmtime_field_type_t> out) → void
\brief Get the element type of an array type.
wasmtime_array_type_new(Pointer<wasm_engine_t> engine, Pointer<wasmtime_field_type_t> field) → Pointer<wasmtime_array_type_t>
\brief Create a new array type.
wasmtime_arrayref_clone(Pointer<wasmtime_arrayref_t> arrayref, Pointer<wasmtime_arrayref_t> out) → void
\brief Clone an arrayref, creating a new root.
wasmtime_arrayref_get(Pointer<wasmtime_context_t> context, Pointer<wasmtime_arrayref_t> arrayref, int index, Pointer<wasmtime_val_t> out) → Pointer<wasmtime_error_t>
\brief Read an element from an array.
wasmtime_arrayref_len(Pointer<wasmtime_context_t> context, Pointer<wasmtime_arrayref_t> arrayref, Pointer<Uint32> out) → Pointer<wasmtime_error_t>
\brief Get the length of an array.
wasmtime_arrayref_new(Pointer<wasmtime_context_t> context, Pointer<wasmtime_array_ref_pre_t> pre, Pointer<wasmtime_val_t> elem, int len, Pointer<wasmtime_arrayref_t> out) → Pointer<wasmtime_error_t>
\brief Allocate a new array instance.
wasmtime_arrayref_set(Pointer<wasmtime_context_t> context, Pointer<wasmtime_arrayref_t> arrayref, int index, Pointer<wasmtime_val_t> val) → Pointer<wasmtime_error_t>
\brief Set an element of an array.
wasmtime_arrayref_to_anyref(Pointer<wasmtime_arrayref_t> arrayref, Pointer<wasmtime_anyref_t> out) → void
\brief Upcast an arrayref to an anyref.
wasmtime_arrayref_to_eqref(Pointer<wasmtime_arrayref_t> arrayref, Pointer<wasmtime_eqref_t> out) → void
\brief Upcast an arrayref to an eqref.
wasmtime_arrayref_type(Pointer<wasmtime_context_t> context, Pointer<wasmtime_arrayref_t> arrayref) → Pointer<wasmtime_array_type_t>
\brief Returns the type of the specified arrayref.
wasmtime_arrayref_unroot(Pointer<wasmtime_arrayref_t> ref) → void
\brief Unroot an arrayref to allow garbage collection.
wasmtime_call_future_delete(Pointer<wasmtime_call_future_t> future) → void
\brief Frees the underlying memory for a future.
wasmtime_call_future_poll(Pointer<wasmtime_call_future_t> future) → bool
\brief Executes WebAssembly in the function.
wasmtime_caller_context(Pointer<wasmtime_caller_t> caller) → Pointer<wasmtime_context_t>
\brief Returns the store context of the caller object.
wasmtime_caller_export_get(Pointer<wasmtime_caller_t> caller, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_extern_t> item) → bool
\brief Loads a #wasmtime_extern_t from the caller's context
wasmtime_component_clone(Pointer<wasmtime_component_t> component) → Pointer<wasmtime_component_t>
\brief Creates a shallow clone of the specified component, increasing the internal reference count.
wasmtime_component_delete(Pointer<wasmtime_component_t> component) → void
\brief Deletes a #wasmtime_component_t created by #wasmtime_component_new
wasmtime_component_deserialize(Pointer<wasm_engine_t> engine, Pointer<Uint8> buf, int len, Pointer<Pointer<wasmtime_component_t>> component_out) → Pointer<wasmtime_error_t>
\brief Build a component from serialized data.
wasmtime_component_deserialize_file(Pointer<wasm_engine_t> engine, Pointer<wasm_byte_t> path, Pointer<Pointer<wasmtime_component_t>> component_out) → Pointer<wasmtime_error_t>
\brief Deserialize a component from an on-disk file.
wasmtime_component_enum_type_clone(Pointer<wasmtime_component_enum_type_t> ty) → Pointer<wasmtime_component_enum_type_t>
\brief Clones a component enum type.
wasmtime_component_enum_type_delete(Pointer<wasmtime_component_enum_type_t> ptr) → void
\brief Deallocates a component enum type.
wasmtime_component_enum_type_equal(Pointer<wasmtime_component_enum_type_t> a, Pointer<wasmtime_component_enum_type_t> b) → bool
\brief Compares two component enum types for equality.
wasmtime_component_enum_type_names_count(Pointer<wasmtime_component_enum_type_t> ty) → int
\brief Returns the number of names in a component enum type.
wasmtime_component_enum_type_names_nth(Pointer<wasmtime_component_enum_type_t> ty, int nth, Pointer<Pointer<wasm_byte_t>> name_ret, Pointer<Size> name_len_ret) → bool
\brief Returns the nth name in a component enum type.
wasmtime_component_export_index_clone(Pointer<wasmtime_component_export_index_t> index) → Pointer<wasmtime_component_export_index_t>
\brief Creates a new separately-owned copy of the specified index.
wasmtime_component_export_index_delete(Pointer<wasmtime_component_export_index_t> export_index) → void
\brief Deletes a #wasmtime_component_export_index_t
wasmtime_component_extern_clone(Pointer<wasmtime_component_extern_t> e) → Pointer<wasmtime_component_extern_t>
\brief Clones a component extern.
wasmtime_component_extern_delete(Pointer<wasmtime_component_extern_t> ptr) → void
\brief Deallocates a component extern.
wasmtime_component_extern_external_id(Pointer<wasmtime_component_extern_t> e, Pointer<Size> len) → Pointer<wasm_byte_t>
\brief Returns the external-id attribute of this import/export.
wasmtime_component_extern_implements(Pointer<wasmtime_component_extern_t> e, Pointer<Size> len) → Pointer<wasm_byte_t>
\brief Returns the implements attribute of this import/export.
wasmtime_component_extern_is_implements(Pointer<wasmtime_component_extern_t> e, Pointer<wasm_byte_t> name, int len) → bool
\brief Returns whether this import/export e has an implements attribute which matches the name provided (which is len bytes long).
wasmtime_component_extern_type(Pointer<wasmtime_component_extern_t> e, Pointer<wasmtime_component_item_t> ret) → void
\brief Returns the type of the item that this import/export refers to.
wasmtime_component_flags_type_clone(Pointer<wasmtime_component_flags_type_t> ty) → Pointer<wasmtime_component_flags_type_t>
\brief Clones a component flags type.
wasmtime_component_flags_type_delete(Pointer<wasmtime_component_flags_type_t> ptr) → void
\brief Deallocates a component flags type.
wasmtime_component_flags_type_equal(Pointer<wasmtime_component_flags_type_t> a, Pointer<wasmtime_component_flags_type_t> b) → bool
\brief Compares two component flags types for equality.
wasmtime_component_flags_type_names_count(Pointer<wasmtime_component_flags_type_t> ty) → int
\brief Returns the number of names in a component flags type.
wasmtime_component_flags_type_names_nth(Pointer<wasmtime_component_flags_type_t> ty, int nth, Pointer<Pointer<wasm_byte_t>> name_ret, Pointer<Size> name_len_ret) → bool
\brief Returns the nth name in a component flags type.
wasmtime_component_func_call(Pointer<wasmtime_component_func_t> func, Pointer<wasmtime_context_t> context, Pointer<wasmtime_component_val_t> args, int args_size, Pointer<wasmtime_component_val_t> results, int results_size) → Pointer<wasmtime_error_t>
\brief Invokes \p func with the \p args given and returns the result.
wasmtime_component_func_call_async(Pointer<wasmtime_component_func_t> func, Pointer<wasmtime_context_t> context, Pointer<wasmtime_component_val_t> args, int args_size, Pointer<wasmtime_component_val_t> results, int results_size, Pointer<Pointer<wasmtime_error_t>> error_ret) → Pointer<wasmtime_call_future_t>
\brief Invokes \p func with the \p args given, returning the results asynchronously.
wasmtime_component_func_post_return(Pointer<wasmtime_component_func_t> func, Pointer<wasmtime_context_t> context) → Pointer<wasmtime_error_t>
\brief No longer needs to be called; this function has no effect.
wasmtime_component_func_type(Pointer<wasmtime_component_func_t> func, Pointer<wasmtime_context_t> context) → Pointer<wasmtime_component_func_type_t>
\brief Returns the type of this function.
wasmtime_component_func_type_async(Pointer<wasmtime_component_func_type_t> ty) → bool
\brief Returns whether this is an async function.
wasmtime_component_func_type_clone(Pointer<wasmtime_component_func_type_t> ty) → Pointer<wasmtime_component_func_type_t>
\brief Clones a component function type.
wasmtime_component_func_type_delete(Pointer<wasmtime_component_func_type_t> ty) → void
\brief Deallocates a component function type.
wasmtime_component_func_type_param_count(Pointer<wasmtime_component_func_type_t> ty) → int
\brief Returns the number of parameters of a component function type.
wasmtime_component_func_type_param_nth(Pointer<wasmtime_component_func_type_t> ty, int nth, Pointer<Pointer<wasm_byte_t>> name_ret, Pointer<Size> name_len_ret, Pointer<wasmtime_component_valtype_t> type_ret) → bool
\brief Retrieves the nth parameter.
wasmtime_component_func_type_result(Pointer<wasmtime_component_func_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → bool
\brief Returns the result, if any, of this component function type.
wasmtime_component_future_type_clone(Pointer<wasmtime_component_future_type_t> ty) → Pointer<wasmtime_component_future_type_t>
\brief Clones a component future type.
wasmtime_component_future_type_delete(Pointer<wasmtime_component_future_type_t> ptr) → void
\brief Deallocates a component future type.
wasmtime_component_future_type_equal(Pointer<wasmtime_component_future_type_t> a, Pointer<wasmtime_component_future_type_t> b) → bool
\brief Compares two component future types for equality.
wasmtime_component_future_type_ty(Pointer<wasmtime_component_future_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → bool
\brief Returns the inner type of a component future type.
wasmtime_component_get_export_index(Pointer<wasmtime_component_t> component, Pointer<wasmtime_component_export_index_t> instance_export_index, Pointer<wasm_byte_t> name, int name_len) → Pointer<wasmtime_component_export_index_t>
\brief Looks up a specific export of this component by \p name optionally nested within the \p instance provided.
wasmtime_component_instance_get_export_index(Pointer<wasmtime_component_instance_t> instance, Pointer<wasmtime_context_t> context, Pointer<wasmtime_component_export_index_t> instance_export_index, Pointer<wasm_byte_t> name, int name_len) → Pointer<wasmtime_component_export_index_t>
\brief A methods similar to #wasmtime_component_get_export_index except for this instance.
wasmtime_component_instance_get_func(Pointer<wasmtime_component_instance_t> instance, Pointer<wasmtime_context_t> context, Pointer<wasmtime_component_export_index_t> export_index, Pointer<wasmtime_component_func_t> func_out) → bool
\brief Looks up an exported function by name within this #wasmtime_component_instance_t.
wasmtime_component_instance_type_clone(Pointer<wasmtime_component_instance_type_t> ty) → Pointer<wasmtime_component_instance_type_t>
\brief Clones a component instance type.
wasmtime_component_instance_type_delete(Pointer<wasmtime_component_instance_type_t> ty) → void
\brief Deallocates a component instance type.
wasmtime_component_instance_type_export_count(Pointer<wasmtime_component_instance_type_t> ty, Pointer<wasm_engine_t> engine) → int
\brief Returns the number of exports of a component instance type.
wasmtime_component_instance_type_export_get(Pointer<wasmtime_component_instance_type_t> ty, Pointer<wasm_engine_t> engine, Pointer<wasm_byte_t> name, int name_len, Pointer<Pointer<wasmtime_component_extern_t>> ret) → bool
\brief Retrieves the export with the specified name.
wasmtime_component_instance_type_export_nth(Pointer<wasmtime_component_instance_type_t> ty, Pointer<wasm_engine_t> engine, int nth, Pointer<Pointer<wasm_byte_t>> name_ret, Pointer<Size> name_len_ret, Pointer<Pointer<wasmtime_component_extern_t>> ret) → bool
\brief Retrieves the nth export.
wasmtime_component_item_clone(Pointer<wasmtime_component_item_t> item, Pointer<wasmtime_component_item_t> out) → void
\brief Clones a component item.
wasmtime_component_item_delete(Pointer<wasmtime_component_item_t> ptr) → void
\brief Deallocates a component item.
wasmtime_component_linker_allow_shadowing(Pointer<wasmtime_component_linker_t> linker, bool allow) → void
\brief Configures whether this linker allows later definitions to shadow previous definitions.
wasmtime_component_linker_define_unknown_imports_as_traps(Pointer<wasmtime_component_linker_t> linker, Pointer<wasmtime_component_t> component) → Pointer<wasmtime_error_t>
\brief Defines all unknown imports of component as trapping functions.
wasmtime_component_linker_delete(Pointer<wasmtime_component_linker_t> linker) → void
\brief Deletes a #wasmtime_component_linker_t created by #wasmtime_component_linker_new
wasmtime_component_linker_instance_add_func(Pointer<wasmtime_component_linker_instance_t> linker_instance, Pointer<wasm_byte_t> name, int name_len, wasmtime_component_func_callback_t callback, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → Pointer<wasmtime_error_t>
\brief Define a function within this instance.
wasmtime_component_linker_instance_add_func_async(Pointer<wasmtime_component_linker_instance_t> linker_instance, Pointer<wasm_byte_t> name, int name_len, wasmtime_component_func_async_callback_t callback, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → Pointer<wasmtime_error_t>
\brief Define an async function within this instance.
wasmtime_component_linker_instance_add_instance(Pointer<wasmtime_component_linker_instance_t> linker_instance, Pointer<wasm_byte_t> name, int name_len, Pointer<Pointer<wasmtime_component_linker_instance_t>> linker_instance_out) → Pointer<wasmtime_error_t>
\brief Defines a nested instance within this instance.
wasmtime_component_linker_instance_add_module(Pointer<wasmtime_component_linker_instance_t> linker_instance, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_module_t> module) → Pointer<wasmtime_error_t>
\brief Defines a #wasmtime_module_t within this instance.
wasmtime_component_linker_instance_add_resource(Pointer<wasmtime_component_linker_instance_t> linker_instance, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_component_resource_type_t> resource, wasmtime_component_resource_destructor_t destructor, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → Pointer<wasmtime_error_t>
\brief Defines a new resource type within this instance.
wasmtime_component_linker_instance_delete(Pointer<wasmtime_component_linker_instance_t> linker_instance) → void
\brief Deletes a #wasmtime_component_linker_instance_t
wasmtime_component_linker_instantiate(Pointer<wasmtime_component_linker_t> linker, Pointer<wasmtime_context_t> context, Pointer<wasmtime_component_t> component, Pointer<wasmtime_component_instance_t> instance_out) → Pointer<wasmtime_error_t>
\brief Instantiates a component instance in a given #wasmtime_context_t
wasmtime_component_linker_instantiate_async(Pointer<wasmtime_component_linker_t> linker, Pointer<wasmtime_context_t> context, Pointer<wasmtime_component_t> component, Pointer<wasmtime_component_instance_t> instance_out, Pointer<Pointer<wasmtime_error_t>> error_ret) → Pointer<wasmtime_call_future_t>
\brief Instantiate a component in \p linker asynchronously.
wasmtime_component_linker_new(Pointer<wasm_engine_t> engine) → Pointer<wasmtime_component_linker_t>
\brief Creates a new #wasmtime_component_linker_t for the specified engine.
wasmtime_component_linker_root(Pointer<wasmtime_component_linker_t> linker) → Pointer<wasmtime_component_linker_instance_t>
\brief Returns the "root instance" of this linker, used to define names into the root namespace.
wasmtime_component_list_type_clone(Pointer<wasmtime_component_list_type_t> ty) → Pointer<wasmtime_component_list_type_t>
\brief Clones a component list type.
wasmtime_component_list_type_delete(Pointer<wasmtime_component_list_type_t> ptr) → void
\brief Deallocates a component list type.
wasmtime_component_list_type_element(Pointer<wasmtime_component_list_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → void
\brief Returns the element type of a component list type.
wasmtime_component_list_type_equal(Pointer<wasmtime_component_list_type_t> a, Pointer<wasmtime_component_list_type_t> b) → bool
\brief Compares two component list types for equality.
wasmtime_component_map_type_clone(Pointer<wasmtime_component_map_type_t> ty) → Pointer<wasmtime_component_map_type_t>
\brief Clones a component map type.
wasmtime_component_map_type_delete(Pointer<wasmtime_component_map_type_t> ptr) → void
\brief Deallocates a component map type.
wasmtime_component_map_type_equal(Pointer<wasmtime_component_map_type_t> a, Pointer<wasmtime_component_map_type_t> b) → bool
\brief Compares two component map types for equality.
wasmtime_component_map_type_key(Pointer<wasmtime_component_map_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → void
\brief Returns the key type of a component map type.
wasmtime_component_map_type_value(Pointer<wasmtime_component_map_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → void
\brief Returns the value type of a component map type.
wasmtime_component_new(Pointer<wasm_engine_t> engine, Pointer<Uint8> buf, int len, Pointer<Pointer<wasmtime_component_t>> component_out) → Pointer<wasmtime_error_t>
\brief Compiles a WebAssembly binary into a #wasmtime_component_t
wasmtime_component_option_type_clone(Pointer<wasmtime_component_option_type_t> ty) → Pointer<wasmtime_component_option_type_t>
\brief Clones a component option type.
wasmtime_component_option_type_delete(Pointer<wasmtime_component_option_type_t> ptr) → void
\brief Deallocates a component option type.
wasmtime_component_option_type_equal(Pointer<wasmtime_component_option_type_t> a, Pointer<wasmtime_component_option_type_t> b) → bool
\brief Compares two component option types for equality.
wasmtime_component_option_type_ty(Pointer<wasmtime_component_option_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → void
\brief Returns the inner type of a component option type.
wasmtime_component_record_type_clone(Pointer<wasmtime_component_record_type_t> ty) → Pointer<wasmtime_component_record_type_t>
\brief Clones a component record type.
wasmtime_component_record_type_delete(Pointer<wasmtime_component_record_type_t> ptr) → void
\brief Deallocates a component record type.
wasmtime_component_record_type_equal(Pointer<wasmtime_component_record_type_t> a, Pointer<wasmtime_component_record_type_t> b) → bool
\brief Compares two component record types for equality.
wasmtime_component_record_type_field_count(Pointer<wasmtime_component_record_type_t> ty) → int
\brief Returns the number of fields in a component record type.
wasmtime_component_record_type_field_nth(Pointer<wasmtime_component_record_type_t> ty, int nth, Pointer<Pointer<wasm_byte_t>> name_ret, Pointer<Size> name_len_ret, Pointer<wasmtime_component_valtype_t> type_ret) → bool
\brief Returns the nth field in a component record type.
wasmtime_component_resource_any_clone(Pointer<wasmtime_component_resource_any_t> resource) → Pointer<wasmtime_component_resource_any_t>
\brief Clones a component resource.
wasmtime_component_resource_any_delete(Pointer<wasmtime_component_resource_any_t> resource) → void
\brief Deallocates a component resource.
wasmtime_component_resource_any_drop(Pointer<wasmtime_context_t> ctx, Pointer<wasmtime_component_resource_any_t> resource) → Pointer<wasmtime_error_t>
\brief Drops a component resource.
wasmtime_component_resource_any_owned(Pointer<wasmtime_component_resource_any_t> resource) → bool
\brief Returns whether this resource is an own, or a borrow in the component model.
wasmtime_component_resource_any_to_host(Pointer<wasmtime_context_t> ctx, Pointer<wasmtime_component_resource_any_t> resource, Pointer<Pointer<wasmtime_component_resource_host_t>> ret) → Pointer<wasmtime_error_t>
\brief Attempts to convert a wasmtime_component_resource_any_t into a wasmtime_component_resource_host_t.
wasmtime_component_resource_any_type(Pointer<wasmtime_component_resource_any_t> resource) → Pointer<wasmtime_component_resource_type_t>
\brief Gets the type of a component resource.
wasmtime_component_resource_host_clone(Pointer<wasmtime_component_resource_host_t> resource) → Pointer<wasmtime_component_resource_host_t>
\brief Clones a host-defined component resource.
wasmtime_component_resource_host_delete(Pointer<wasmtime_component_resource_host_t> resource) → void
\brief Deallocates a host-defined component resource.
wasmtime_component_resource_host_new(bool owned, int rep, int ty) → Pointer<wasmtime_component_resource_host_t>
\brief Creates a new host-defined component resource.
wasmtime_component_resource_host_owned(Pointer<wasmtime_component_resource_host_t> resource) → bool
\brief Returns whether this host-defined resource is an own or a borrow in the component model.
wasmtime_component_resource_host_rep(Pointer<wasmtime_component_resource_host_t> resource) → int
\brief Gets the "rep" of a host-defined component resource.
wasmtime_component_resource_host_to_any(Pointer<wasmtime_context_t> ctx, Pointer<wasmtime_component_resource_host_t> resource, Pointer<Pointer<wasmtime_component_resource_any_t>> ret) → Pointer<wasmtime_error_t>
\brief Same as wasmtime_component_resource_any_to_host except for converting the other way around.
wasmtime_component_resource_host_type(Pointer<wasmtime_component_resource_host_t> resource) → int
\brief Gets the "type" of a host-defined component resource.
wasmtime_component_resource_type_clone(Pointer<wasmtime_component_resource_type_t> ty) → Pointer<wasmtime_component_resource_type_t>
\brief Clones a resource type.
wasmtime_component_resource_type_delete(Pointer<wasmtime_component_resource_type_t> resource) → void
\brief Deallocates a resource type.
wasmtime_component_resource_type_equal(Pointer<wasmtime_component_resource_type_t> a, Pointer<wasmtime_component_resource_type_t> b) → bool
\brief Compares two resource types for equality.
wasmtime_component_resource_type_new_host(int ty) → Pointer<wasmtime_component_resource_type_t>
\brief Creates a new resource type representing a host-defined resource.
wasmtime_component_result_type_clone(Pointer<wasmtime_component_result_type_t> ty) → Pointer<wasmtime_component_result_type_t>
\brief Clones a component result type.
wasmtime_component_result_type_delete(Pointer<wasmtime_component_result_type_t> ptr) → void
\brief Deallocates a component result type.
wasmtime_component_result_type_equal(Pointer<wasmtime_component_result_type_t> a, Pointer<wasmtime_component_result_type_t> b) → bool
\brief Compares two component result types for equality.
wasmtime_component_result_type_err(Pointer<wasmtime_component_result_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → bool
\brief Returns the err type of a component result type. The returned type must be deallocated with wasmtime_component_valtype_delete.
wasmtime_component_result_type_ok(Pointer<wasmtime_component_result_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → bool
\brief Returns the ok type of a component result type. The returned type must be deallocated with wasmtime_component_valtype_delete.
wasmtime_component_serialize(Pointer<wasmtime_component_t> component, Pointer<wasm_byte_vec_t> ret) → Pointer<wasmtime_error_t>
\brief This function serializes compiled component artifacts as blob data.
wasmtime_component_stream_type_clone(Pointer<wasmtime_component_stream_type_t> ty) → Pointer<wasmtime_component_stream_type_t>
\brief Clones a component stream type.
wasmtime_component_stream_type_delete(Pointer<wasmtime_component_stream_type_t> ptr) → void
\brief Deallocates a component stream type.
wasmtime_component_stream_type_equal(Pointer<wasmtime_component_stream_type_t> a, Pointer<wasmtime_component_stream_type_t> b) → bool
\brief Compares two component stream types for equality.
wasmtime_component_stream_type_ty(Pointer<wasmtime_component_stream_type_t> ty, Pointer<wasmtime_component_valtype_t> type_ret) → bool
\brief Returns the inner type of a component stream type.
wasmtime_component_tuple_type_clone(Pointer<wasmtime_component_tuple_type_t> ty) → Pointer<wasmtime_component_tuple_type_t>
\brief Clones a component tuple type.
wasmtime_component_tuple_type_delete(Pointer<wasmtime_component_tuple_type_t> ptr) → void
\brief Deallocates a component tuple type.
wasmtime_component_tuple_type_equal(Pointer<wasmtime_component_tuple_type_t> a, Pointer<wasmtime_component_tuple_type_t> b) → bool
\brief Compares two component tuple types for equality.
wasmtime_component_tuple_type_types_count(Pointer<wasmtime_component_tuple_type_t> ty) → int
\brief Returns the number of types in a component tuple type.
wasmtime_component_tuple_type_types_nth(Pointer<wasmtime_component_tuple_type_t> ty, int nth, Pointer<wasmtime_component_valtype_t> type_ret) → bool
\brief Returns the nth type in a component tuple type.
wasmtime_component_type(Pointer<wasmtime_component_t> component) → Pointer<wasmtime_component_type_t>
\brief Returns the type of this component.
wasmtime_component_type_clone(Pointer<wasmtime_component_type_t> ty) → Pointer<wasmtime_component_type_t>
\brief Clones a component type.
wasmtime_component_type_delete(Pointer<wasmtime_component_type_t> ty) → void
\brief Deallocates a component type.
wasmtime_component_type_export_count(Pointer<wasmtime_component_type_t> ty, Pointer<wasm_engine_t> engine) → int
\brief Returns the number of exports of a component type.
wasmtime_component_type_export_get(Pointer<wasmtime_component_type_t> ty, Pointer<wasm_engine_t> engine, Pointer<wasm_byte_t> name, int name_len, Pointer<Pointer<wasmtime_component_extern_t>> ret) → bool
\brief Retrieves the export with the specified name.
wasmtime_component_type_export_nth(Pointer<wasmtime_component_type_t> ty, Pointer<wasm_engine_t> engine, int nth, Pointer<Pointer<wasm_byte_t>> name_ret, Pointer<Size> name_len_ret, Pointer<Pointer<wasmtime_component_extern_t>> ret) → bool
\brief Retrieves the nth export.
wasmtime_component_type_import_count(Pointer<wasmtime_component_type_t> ty, Pointer<wasm_engine_t> engine) → int
\brief Returns the number of imports of a component type.
wasmtime_component_type_import_get(Pointer<wasmtime_component_type_t> ty, Pointer<wasm_engine_t> engine, Pointer<wasm_byte_t> name, int name_len, Pointer<Pointer<wasmtime_component_extern_t>> ret) → bool
\brief Retrieves the import with the specified name.
wasmtime_component_type_import_nth(Pointer<wasmtime_component_type_t> ty, Pointer<wasm_engine_t> engine, int nth, Pointer<Pointer<wasm_byte_t>> name_ret, Pointer<Size> name_len_ret, Pointer<Pointer<wasmtime_component_extern_t>> ret) → bool
\brief Retrieves the nth import.
wasmtime_component_val_clone(Pointer<wasmtime_component_val_t> src, Pointer<wasmtime_component_val_t> dst) → void
\brief Performs a deep copy of the provided src, storing the results into dst.
wasmtime_component_val_delete(Pointer<wasmtime_component_val_t> value) → void
\brief Deallocates any memory owned by value.
wasmtime_component_val_free(Pointer<wasmtime_component_val_t> ptr) → void
\brief Deallocates the heap-allocated value at ptr.
wasmtime_component_val_new(Pointer<wasmtime_component_val_t> val) → Pointer<wasmtime_component_val_t>
\brief Allocates a new wasmtime_component_val_t on the heap, initializing it with the contents of val.
wasmtime_component_valflags_copy(Pointer<wasmtime_component_valflags_t> dst, Pointer<wasmtime_component_valflags_t> src) → void
wasmtime_component_valflags_delete(Pointer<wasmtime_component_valflags_t> value) → void
wasmtime_component_valflags_new(Pointer<wasmtime_component_valflags_t> out, int size, Pointer<wasm_byte_vec_t> ptr) → void
wasmtime_component_valflags_new_empty(Pointer<wasmtime_component_valflags_t> out) → void
wasmtime_component_valflags_new_uninit(Pointer<wasmtime_component_valflags_t> out, int size) → void
wasmtime_component_vallist_copy(Pointer<wasmtime_component_vallist_t> dst, Pointer<wasmtime_component_vallist_t> src) → void
wasmtime_component_vallist_delete(Pointer<wasmtime_component_vallist_t> value) → void
wasmtime_component_vallist_new(Pointer<wasmtime_component_vallist_t> out, int size, Pointer<wasmtime_component_val_t> ptr) → void
wasmtime_component_vallist_new_empty(Pointer<wasmtime_component_vallist_t> out) → void
wasmtime_component_vallist_new_uninit(Pointer<wasmtime_component_vallist_t> out, int size) → void
wasmtime_component_valmap_copy(Pointer<wasmtime_component_valmap_t> dst, Pointer<wasmtime_component_valmap_t> src) → void
wasmtime_component_valmap_delete(Pointer<wasmtime_component_valmap_t> value) → void
wasmtime_component_valmap_new(Pointer<wasmtime_component_valmap_t> out, int size, Pointer<wasmtime_component_valmap_entry> ptr) → void
wasmtime_component_valmap_new_empty(Pointer<wasmtime_component_valmap_t> out) → void
wasmtime_component_valmap_new_uninit(Pointer<wasmtime_component_valmap_t> out, int size) → void
wasmtime_component_valrecord_copy(Pointer<wasmtime_component_valrecord_t> dst, Pointer<wasmtime_component_valrecord_t> src) → void
wasmtime_component_valrecord_delete(Pointer<wasmtime_component_valrecord_t> value) → void
wasmtime_component_valrecord_new(Pointer<wasmtime_component_valrecord_t> out, int size, Pointer<wasmtime_component_valrecord_entry> ptr) → void
wasmtime_component_valrecord_new_empty(Pointer<wasmtime_component_valrecord_t> out) → void
wasmtime_component_valrecord_new_uninit(Pointer<wasmtime_component_valrecord_t> out, int size) → void
wasmtime_component_valtuple_copy(Pointer<wasmtime_component_valtuple_t> dst, Pointer<wasmtime_component_valtuple_t> src) → void
wasmtime_component_valtuple_delete(Pointer<wasmtime_component_valtuple_t> value) → void
wasmtime_component_valtuple_new(Pointer<wasmtime_component_valtuple_t> out, int size, Pointer<wasmtime_component_val_t> ptr) → void
wasmtime_component_valtuple_new_empty(Pointer<wasmtime_component_valtuple_t> out) → void
wasmtime_component_valtuple_new_uninit(Pointer<wasmtime_component_valtuple_t> out, int size) → void
wasmtime_component_valtype_clone(Pointer<wasmtime_component_valtype_t> ty, Pointer<wasmtime_component_valtype_t> out) → void
\brief Clones a component value type.
wasmtime_component_valtype_delete(Pointer<wasmtime_component_valtype_t> ptr) → void
\brief Deallocates a component value type.
wasmtime_component_valtype_equal(Pointer<wasmtime_component_valtype_t> a, Pointer<wasmtime_component_valtype_t> b) → bool
\brief Compares two component value types for equality.
wasmtime_component_variant_type_case_count(Pointer<wasmtime_component_variant_type_t> ty) → int
\brief Returns the number of cases in a component variant type.
wasmtime_component_variant_type_case_nth(Pointer<wasmtime_component_variant_type_t> ty, int nth, Pointer<Pointer<wasm_byte_t>> name_ret, Pointer<Size> name_len_ret, Pointer<Bool> has_payload_ret, Pointer<wasmtime_component_valtype_t> payload_ret) → bool
\brief Returns the nth case in a component variant type. The returned payload type must be deallocated with wasmtime_component_valtype_delete.
wasmtime_component_variant_type_clone(Pointer<wasmtime_component_variant_type_t> ty) → Pointer<wasmtime_component_variant_type_t>
\brief Clones a component variant type.
wasmtime_component_variant_type_delete(Pointer<wasmtime_component_variant_type_t> ptr) → void
\brief Deallocates a component variant type.
wasmtime_component_variant_type_equal(Pointer<wasmtime_component_variant_type_t> a, Pointer<wasmtime_component_variant_type_t> b) → bool
\brief Compares two component variant types for equality.
wasmtime_config_async_stack_size_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures the size of the stacks used for asynchronous execution.
wasmtime_config_cache_config_load(Pointer<wasm_config_t> arg0, Pointer<wasm_byte_t> arg1) → Pointer<wasmtime_error_t>
\brief Enables Wasmtime's cache and loads configuration from the specified path.
wasmtime_config_concurrency_support_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Specifies whether support for concurrent execution of WebAssembly is supported within this store.
wasmtime_config_consume_fuel_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Whether or not fuel is enabled for generated code.
wasmtime_config_cranelift_debug_verifier_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether Cranelift's debug verifier is enabled.
wasmtime_config_cranelift_flag_enable(Pointer<wasm_config_t> arg0, Pointer<wasm_byte_t> arg1) → void
\brief Enables a target-specific flag in Cranelift.
wasmtime_config_cranelift_flag_set(Pointer<wasm_config_t> arg0, Pointer<wasm_byte_t> key, Pointer<wasm_byte_t> value) → void
\brief Sets a target-specific flag in Cranelift to the specified value.
wasmtime_config_cranelift_nan_canonicalization_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether Cranelift should perform a NaN-canonicalization pass.
wasmtime_config_cranelift_opt_level_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures Cranelift's optimization level for JIT code.
wasmtime_config_cranelift_regalloc_algorithm_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures the regalloc algorithm used by the Cranelift code generator.
wasmtime_config_debug_info_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether DWARF debug information is constructed at runtime to describe JIT code.
wasmtime_config_epoch_interruption_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Whether or not epoch-based interruption is enabled for generated code.
wasmtime_config_gc_support_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Enables or disables GC support in Wasmtime entirely.
wasmtime_config_host_memory_creator_set(Pointer<wasm_config_t> arg0, Pointer<wasmtime_memory_creator_t> arg1) → void
Sets a custom memory creator.
wasmtime_config_host_stack_creator_set(Pointer<wasm_config_t> arg0, Pointer<wasmtime_stack_creator_t> arg1) → void
Sets a custom stack creator.
wasmtime_config_macos_use_mach_ports_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether, when on macOS, Mach ports are used for exception handling instead of traditional Unix-based signal handling.
wasmtime_config_max_wasm_stack_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures the maximum stack size, in bytes, that JIT code can use.
wasmtime_config_memory_guard_size_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures the guard region size for linear memory.
wasmtime_config_memory_init_cow_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether copy-on-write memory-mapped data is used to initialize a linear memory.
wasmtime_config_memory_may_move_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether memory_reservation is the maximal size of linear memory.
wasmtime_config_memory_reservation_for_growth_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures the size, in bytes, of the extra virtual memory space reserved for memories to grow into after being relocated.
wasmtime_config_memory_reservation_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures the size, in bytes, of initial memory reservation size for linear memories.
wasmtime_config_native_unwind_info_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether to generate native unwind information (e.g. .eh_frame on Linux).
wasmtime_config_parallel_compilation_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configure whether wasmtime should compile a module using multiple threads.
wasmtime_config_profiler_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures the profiling strategy used for JIT code.
wasmtime_config_shared_memory_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether shared memories can be created.
wasmtime_config_signals_based_traps_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures Wasmtime to not use signals-based trap handlers, for example disables SIGILL and SIGSEGV handler registration on Unix platforms.
wasmtime_config_strategy_set(Pointer<wasm_config_t> arg0, int arg1) → void
\brief Configures how JIT code will be compiled.
wasmtime_config_target_set(Pointer<wasm_config_t> arg0, Pointer<wasm_byte_t> arg1) → Pointer<wasmtime_error_t>
\brief Configures the target triple that this configuration will produce machine code for.
wasmtime_config_wasm_branch_hinting_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly branch-hinting proposal is enabled.
wasmtime_config_wasm_bulk_memory_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly bulk memory proposal is enabled.
wasmtime_config_wasm_compact_imports_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly compact imports proposal is enabled.
wasmtime_config_wasm_component_model_accessors_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly component-model accessors ([get] and [set]) support will be enabled for compilation.
wasmtime_config_wasm_component_model_async_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly component-model async support will be enabled.
wasmtime_config_wasm_component_model_async_stackful_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether stackful coroutine support is enabled for async components.
wasmtime_config_wasm_component_model_canonical_names_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly component-model canonical names support will be enabled for compilation.
wasmtime_config_wasm_component_model_implements_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly component-model (implements "...") and (external-id "...") annotations will be enabled for compilation.
wasmtime_config_wasm_component_model_map_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly component-model map type will be enabled for compilation.
wasmtime_config_wasm_component_model_more_async_builtins_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether async built-in intrinsics are enabled for the component model.
wasmtime_config_wasm_component_model_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly component-model proposal will be enabled for compilation.
wasmtime_config_wasm_custom_page_sizes_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly custom-page-sizes proposal is enabled.
wasmtime_config_wasm_exceptions_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly exceptions proposal is enabled.
wasmtime_config_wasm_function_references_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly typed function reference types proposal is enabled.
wasmtime_config_wasm_gc_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly GC proposal is enabled.
wasmtime_config_wasm_memory64_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly memory64 proposal is enabled.
wasmtime_config_wasm_multi_memory_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly multi-memory proposal is enabled.
wasmtime_config_wasm_multi_value_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly multi value proposal is enabled.
wasmtime_config_wasm_reference_types_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly reference types proposal is enabled.
wasmtime_config_wasm_relaxed_simd_deterministic_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly relaxed SIMD proposal is in deterministic mode.
wasmtime_config_wasm_relaxed_simd_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly relaxed SIMD proposal is enabled.
wasmtime_config_wasm_simd_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly SIMD proposal is enabled.
wasmtime_config_wasm_stack_switching_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly stack switching proposal is enabled.
wasmtime_config_wasm_tail_call_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly tail call proposal is enabled.
wasmtime_config_wasm_threads_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly threading proposal is enabled.
wasmtime_config_wasm_wide_arithmetic_set(Pointer<wasm_config_t> arg0, bool arg1) → void
\brief Configures whether the WebAssembly wide-arithmetic proposal is enabled.
wasmtime_context_epoch_deadline_async_yield_and_update(Pointer<wasmtime_context_t> context, int delta) → Pointer<wasmtime_error_t>
\brief Configures epoch-deadline expiration to yield to the async caller and the update the deadline.
wasmtime_context_fuel_async_yield_interval(Pointer<wasmtime_context_t> context, int interval) → Pointer<wasmtime_error_t>
\brief Configures a Store to yield execution of async WebAssembly code periodically.
wasmtime_context_gc(Pointer<wasmtime_context_t> context) → Pointer<wasmtime_error_t>
wasmtime_context_get_data(Pointer<wasmtime_context_t> context) → Pointer<Void>
\brief Returns the user-specified data associated with the specified store
wasmtime_context_get_fuel(Pointer<wasmtime_context_t> context, Pointer<Uint64> fuel) → Pointer<wasmtime_error_t>
\brief Returns the amount of fuel remaining in this context's store.
wasmtime_context_has_exception(Pointer<wasmtime_context_t> store) → bool
\brief Tests whether there is a pending exception on the store.
wasmtime_context_set_data(Pointer<wasmtime_context_t> context, Pointer<Void> data) → void
\brief Overwrites the user-specified data associated with this store.
wasmtime_context_set_epoch_deadline(Pointer<wasmtime_context_t> context, int ticks_beyond_current) → void
\brief Configures the relative deadline at which point WebAssembly code will trap or invoke the callback function.
wasmtime_context_set_exception(Pointer<wasmtime_context_t> store, Pointer<wasmtime_exnref_t> exn) → Pointer<wasm_trap_t>
\brief Sets the pending exception on the store and returns a trap.
wasmtime_context_set_fuel(Pointer<wasmtime_context_t> store, int fuel) → Pointer<wasmtime_error_t>
\brief Set fuel to this context's store for wasm to consume while executing.
wasmtime_context_take_exception(Pointer<wasmtime_context_t> store, Pointer<wasmtime_exnref_t> exn_ret) → bool
\brief Takes the pending exception from the store, if any.
wasmtime_engine_clone(Pointer<wasm_engine_t> engine) → Pointer<wasm_engine_t>
\brief Create a new reference to the same underlying engine.
wasmtime_engine_increment_epoch(Pointer<wasm_engine_t> engine) → void
\brief Increments the engine-local epoch variable.
wasmtime_engine_is_pulley(Pointer<wasm_engine_t> engine) → bool
\brief Returns whether this engine is using the Pulley interpreter to execute WebAssembly code.
wasmtime_eqref_as_array(Pointer<wasmtime_context_t> context, Pointer<wasmtime_eqref_t> eqref, Pointer<wasmtime_arrayref_t> out) → bool
\brief Downcast an eqref to an arrayref.
wasmtime_eqref_as_struct(Pointer<wasmtime_context_t> context, Pointer<wasmtime_eqref_t> eqref, Pointer<wasmtime_structref_t> out) → bool
\brief Downcast an eqref to a structref.
wasmtime_eqref_clone(Pointer<wasmtime_eqref_t> eqref, Pointer<wasmtime_eqref_t> out) → void
\brief Clone an eqref, creating a new root.
wasmtime_eqref_from_i31(Pointer<wasmtime_context_t> context, int i31val, Pointer<wasmtime_eqref_t> out) → void
\brief Create a new i31ref value.
wasmtime_eqref_i31_get_s(Pointer<wasmtime_context_t> context, Pointer<wasmtime_eqref_t> eqref, Pointer<Int32> dst) → bool
\brief Get the eqref's underlying i31ref value, sign extended.
wasmtime_eqref_i31_get_u(Pointer<wasmtime_context_t> context, Pointer<wasmtime_eqref_t> eqref, Pointer<Uint32> dst) → bool
\brief Get the eqref's underlying i31ref value, zero extended.
wasmtime_eqref_is_array(Pointer<wasmtime_context_t> context, Pointer<wasmtime_eqref_t> eqref) → bool
\brief Test whether an eqref is an arrayref.
wasmtime_eqref_is_i31(Pointer<wasmtime_context_t> context, Pointer<wasmtime_eqref_t> eqref) → bool
\brief Test whether this eqref is an i31ref.
wasmtime_eqref_is_struct(Pointer<wasmtime_context_t> context, Pointer<wasmtime_eqref_t> eqref) → bool
\brief Test whether an eqref is a structref.
wasmtime_eqref_to_anyref(Pointer<wasmtime_eqref_t> eqref, Pointer<wasmtime_anyref_t> out) → void
\brief Upcast an eqref to an anyref.
wasmtime_eqref_type(Pointer<wasmtime_context_t> context, Pointer<wasmtime_eqref_t> eqref, Pointer<wasmtime_heaptype_t> out) → bool
\brief Returns the type of the specified eqref.
wasmtime_eqref_unroot(Pointer<wasmtime_eqref_t> ref) → void
\brief Unroot an eqref to allow garbage collection.
wasmtime_error_delete(Pointer<wasmtime_error_t> error) → void
\brief Deletes an error.
wasmtime_error_exit_status(Pointer<wasmtime_error_t> arg0, Pointer<Int> status) → bool
\brief Attempts to extract a WASI-specific exit status from this error.
wasmtime_error_message(Pointer<wasmtime_error_t> error, Pointer<wasm_byte_vec_t> message) → void
\brief Returns the string description of this error.
wasmtime_error_new(Pointer<wasm_byte_t> arg0) → Pointer<wasmtime_error_t>
\brief Creates a new error with the provided message.
wasmtime_error_wasm_trace(Pointer<wasmtime_error_t> arg0, Pointer<wasm_frame_vec_t> out) → void
\brief Attempts to extract a WebAssembly trace from this error.
wasmtime_exn_type_copy(Pointer<wasmtime_exn_type_t> ty) → Pointer<wasmtime_exn_type_t>
\brief Clones ty, returning a pointer that must be deleted with wasmtime_exn_type_delete.
wasmtime_exn_type_delete(Pointer<wasmtime_exn_type_t> ty) → void
\brief Deletes an exception type.
wasmtime_exn_type_new(Pointer<wasm_engine_t> engine, Pointer<wasm_valtype_vec_t> params, Pointer<Pointer<wasmtime_exn_type_t>> out) → Pointer<wasmtime_error_t>
\brief Creates a new exception type with the given parameter types.
wasmtime_exn_type_tag_type(Pointer<wasmtime_exn_type_t> ty) → Pointer<wasm_tagtype_t>
\brief Returns tag type associated with this exception type.
wasmtime_exnref_clone(Pointer<wasmtime_exnref_t> ref, Pointer<wasmtime_exnref_t> out) → void
\brief Creates a new reference pointing to the same exception that ref points to.
wasmtime_exnref_field(Pointer<wasmtime_context_t> store, Pointer<wasmtime_exnref_t> exn, int index, Pointer<wasmtime_val_t> val_ret) → Pointer<wasmtime_error_t>
\brief Reads a field value from this exception by index.
wasmtime_exnref_field_count(Pointer<wasmtime_context_t> store, Pointer<wasmtime_exnref_t> exn) → int
\brief Returns the number of fields in this exception.
wasmtime_exnref_from_raw(Pointer<wasmtime_context_t> context, int raw, Pointer<wasmtime_exnref_t> out) → void
\brief Converts a raw exnref value coming from #wasmtime_val_raw_t into a #wasmtime_exnref_t.
wasmtime_exnref_new(Pointer<wasmtime_context_t> store, Pointer<wasmtime_tag_t> tag, Pointer<wasmtime_val_t> fields, int nfields, Pointer<wasmtime_exnref_t> exn_ret) → Pointer<wasmtime_error_t>
\brief Creates a new exception object.
wasmtime_exnref_tag(Pointer<wasmtime_context_t> store, Pointer<wasmtime_exnref_t> exn, Pointer<wasmtime_tag_t> tag_ret) → Pointer<wasmtime_error_t>
\brief Returns the tag associated with this exception.
wasmtime_exnref_to_raw(Pointer<wasmtime_context_t> context, Pointer<wasmtime_exnref_t> ref) → int
\brief Converts a #wasmtime_exnref_t to a raw value suitable for storing into a #wasmtime_val_raw_t.
wasmtime_exnref_type(Pointer<wasmtime_context_t> context, Pointer<wasmtime_exnref_t> exnref) → Pointer<wasmtime_exn_type_t>
\brief Returns the type of the specified exnref.
wasmtime_exnref_unroot(Pointer<wasmtime_exnref_t> ref) → void
\brief Unroots the ref provided, enabling future garbage collection.
wasmtime_extern_delete(Pointer<wasmtime_extern_t> val) → void
\brief Deletes a #wasmtime_extern_t.
wasmtime_extern_type(Pointer<wasmtime_context_t> context, Pointer<wasmtime_extern_t> val) → Pointer<wasm_externtype_t>
\brief Returns the type of the #wasmtime_extern_t defined within the given store.
wasmtime_externref_clone(Pointer<wasmtime_externref_t> ref, Pointer<wasmtime_externref_t> out) → void
\brief Creates a new reference pointing to the same data that ref points to (depending on the configured collector this might increase a reference count or create a new GC root).
wasmtime_externref_data(Pointer<wasmtime_context_t> context, Pointer<wasmtime_externref_t> data) → Pointer<Void>
\brief Get an externref's wrapped data
wasmtime_externref_from_raw(Pointer<wasmtime_context_t> context, int raw, Pointer<wasmtime_externref_t> out) → void
\brief Converts a raw externref value coming from #wasmtime_val_raw_t into a #wasmtime_externref_t.
wasmtime_externref_new(Pointer<wasmtime_context_t> context, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer, Pointer<wasmtime_externref_t> out) → bool
\brief Create a new externref value.
wasmtime_externref_to_raw(Pointer<wasmtime_context_t> context, Pointer<wasmtime_externref_t> ref) → int
\brief Converts a #wasmtime_externref_t to a raw value suitable for storing into a #wasmtime_val_raw_t.
wasmtime_externref_unroot(Pointer<wasmtime_externref_t> ref) → void
\brief Unroots the pointer ref from the context provided.
wasmtime_field_type_clone(Pointer<wasmtime_field_type_t> field, Pointer<wasmtime_field_type_t> out) → void
\brief Clone a field type into out.
wasmtime_field_type_delete(Pointer<wasmtime_field_type_t> field) → void
\brief Delete a field type.
wasmtime_frame_func_name(Pointer<wasm_frame_t> arg0) → Pointer<wasm_byte_vec_t>
\brief Returns a human-readable name for this frame's function.
wasmtime_frame_module_name(Pointer<wasm_frame_t> arg0) → Pointer<wasm_byte_vec_t>
\brief Returns a human-readable name for this frame's module.
wasmtime_func_call(Pointer<wasmtime_context_t> store, Pointer<wasmtime_func_t> func, Pointer<wasmtime_val_t> args, int nargs, Pointer<wasmtime_val_t> results, int nresults, Pointer<Pointer<wasm_trap_t>> trap) → Pointer<wasmtime_error_t>
\brief Call a WebAssembly function.
wasmtime_func_call_async(Pointer<wasmtime_context_t> context, Pointer<wasmtime_func_t> func, Pointer<wasmtime_val_t> args, int nargs, Pointer<wasmtime_val_t> results, int nresults, Pointer<Pointer<wasm_trap_t>> trap_ret, Pointer<Pointer<wasmtime_error_t>> error_ret) → Pointer<wasmtime_call_future_t>
\brief Invokes this function with the params given, returning the results asynchronously.
wasmtime_func_call_unchecked(Pointer<wasmtime_context_t> store, Pointer<wasmtime_func_t> func, Pointer<wasmtime_val_raw_t> args_and_results, int args_and_results_len, Pointer<Pointer<wasm_trap_t>> trap) → Pointer<wasmtime_error_t>
\brief Call a WebAssembly function in an "unchecked" fashion.
wasmtime_func_from_raw(Pointer<wasmtime_context_t> context, Pointer<Void> raw, Pointer<wasmtime_func_t> ret) → void
\brief Converts a raw nonzero funcref value from #wasmtime_val_raw_t into a #wasmtime_func_t.
wasmtime_func_new(Pointer<wasmtime_context_t> store, Pointer<wasm_functype_t> type, wasmtime_func_callback_t callback, Pointer<Void> env, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer, Pointer<wasmtime_func_t> ret) → void
\brief Creates a new host-defined function.
wasmtime_func_new_unchecked(Pointer<wasmtime_context_t> store, Pointer<wasm_functype_t> type, wasmtime_func_unchecked_callback_t callback, Pointer<Void> env, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer, Pointer<wasmtime_func_t> ret) → void
\brief Creates a new host function in the same manner of #wasmtime_func_new, but the function-to-call has no type information available at runtime.
wasmtime_func_to_raw(Pointer<wasmtime_context_t> context, Pointer<wasmtime_func_t> func) → Pointer<Void>
\brief Converts a func which belongs to context into a usize parameter that is suitable for insertion into a #wasmtime_val_raw_t.
wasmtime_func_type(Pointer<wasmtime_context_t> store, Pointer<wasmtime_func_t> func) → Pointer<wasm_functype_t>
\brief Returns the type of the function specified
wasmtime_global_get(Pointer<wasmtime_context_t> store, Pointer<wasmtime_global_t> global, Pointer<wasmtime_val_t> out) → void
\brief Get the value of the specified global.
wasmtime_global_new(Pointer<wasmtime_context_t> store, Pointer<wasm_globaltype_t> type, Pointer<wasmtime_val_t> val, Pointer<wasmtime_global_t> ret) → Pointer<wasmtime_error_t>
\brief Creates a new global value.
wasmtime_global_set(Pointer<wasmtime_context_t> store, Pointer<wasmtime_global_t> global, Pointer<wasmtime_val_t> val) → Pointer<wasmtime_error_t>
\brief Sets a global to a new value.
wasmtime_global_type(Pointer<wasmtime_context_t> store, Pointer<wasmtime_global_t> global) → Pointer<wasm_globaltype_t>
\brief Returns the wasm type of the specified global.
wasmtime_heaptype_clone(Pointer<wasmtime_heaptype_t> ty, Pointer<wasmtime_heaptype_t> out) → void
\brief Clones ty into out.
wasmtime_heaptype_delete(Pointer<wasmtime_heaptype_t> ty) → void
\brief Deletes any payload of ty, if applicable.
wasmtime_instance_export_get(Pointer<wasmtime_context_t> store, Pointer<wasmtime_instance_t> instance, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_extern_t> item) → bool
\brief Get an export by name from an instance.
wasmtime_instance_export_nth(Pointer<wasmtime_context_t> store, Pointer<wasmtime_instance_t> instance, int index, Pointer<Pointer<wasm_byte_t>> name, Pointer<Size> name_len, Pointer<wasmtime_extern_t> item) → bool
\brief Get an export by index from an instance.
wasmtime_instance_new(Pointer<wasmtime_context_t> store, Pointer<wasmtime_module_t> module, Pointer<wasmtime_extern_t> imports, int nimports, Pointer<wasmtime_instance_t> instance, Pointer<Pointer<wasm_trap_t>> trap) → Pointer<wasmtime_error_t>
\brief Instantiate a wasm module.
wasmtime_instance_pre_delete(Pointer<wasmtime_instance_pre_t> instance_pre) → void
\brief Delete a previously created wasmtime_instance_pre_t.
wasmtime_instance_pre_instantiate(Pointer<wasmtime_instance_pre_t> instance_pre, Pointer<wasmtime_context_t> store, Pointer<wasmtime_instance_t> instance, Pointer<Pointer<wasm_trap_t>> trap_ptr) → Pointer<wasmtime_error_t>
\brief Instantiates instance within the given store.
wasmtime_instance_pre_instantiate_async(Pointer<wasmtime_instance_pre_t> instance_pre, Pointer<wasmtime_context_t> store, Pointer<wasmtime_instance_t> instance, Pointer<Pointer<wasm_trap_t>> trap_ret, Pointer<Pointer<wasmtime_error_t>> error_ret) → Pointer<wasmtime_call_future_t>
\brief Instantiates instance within the given store.
wasmtime_instance_pre_module(Pointer<wasmtime_instance_pre_t> instance_pre) → Pointer<wasmtime_module_t>
\brief Get the module (as a shallow clone) for a instance_pre.
wasmtime_linker_allow_shadowing(Pointer<wasmtime_linker_t> linker, bool allow_shadowing) → void
\brief Configures whether this linker allows later definitions to shadow previous definitions.
wasmtime_linker_clone(Pointer<wasmtime_linker_t> linker) → Pointer<wasmtime_linker_t>
\brief Clones existing linker.
wasmtime_linker_define(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_context_t> store, Pointer<wasm_byte_t> module, int module_len, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_extern_t> item) → Pointer<wasmtime_error_t>
\brief Defines a new item in this linker.
wasmtime_linker_define_async_func(Pointer<wasmtime_linker_t> linker, Pointer<wasm_byte_t> module, int module_len, Pointer<wasm_byte_t> name, int name_len, Pointer<wasm_functype_t> ty, wasmtime_func_async_callback_t cb, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → Pointer<wasmtime_error_t>
\brief Defines a new async function in this linker.
wasmtime_linker_define_func(Pointer<wasmtime_linker_t> linker, Pointer<wasm_byte_t> module, int module_len, Pointer<wasm_byte_t> name, int name_len, Pointer<wasm_functype_t> ty, wasmtime_func_callback_t cb, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → Pointer<wasmtime_error_t>
\brief Defines a new function in this linker.
wasmtime_linker_define_func_unchecked(Pointer<wasmtime_linker_t> linker, Pointer<wasm_byte_t> module, int module_len, Pointer<wasm_byte_t> name, int name_len, Pointer<wasm_functype_t> ty, wasmtime_func_unchecked_callback_t cb, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → Pointer<wasmtime_error_t>
\brief Defines a new function in this linker.
wasmtime_linker_define_instance(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_context_t> store, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_instance_t> instance) → Pointer<wasmtime_error_t>
\brief Defines an instance under the specified name in this linker.
wasmtime_linker_define_unknown_imports_as_default_values(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_context_t> store, Pointer<wasmtime_module_t> module) → Pointer<wasmtime_error_t>
\brief Ensures that module can be instantiated with this linker by defining all functions otherwise missing from this linker to return the 'default' for what that import is.
wasmtime_linker_define_unknown_imports_as_traps(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_module_t> module) → Pointer<wasmtime_error_t>
\brief Ensures that module can be instantiated with this linker by defining all functions otherwise missing from this linker to trap.
wasmtime_linker_delete(Pointer<wasmtime_linker_t> linker) → void
\brief Deletes a linker
wasmtime_linker_get(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_context_t> store, Pointer<wasm_byte_t> module, int module_len, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_extern_t> item) → bool
\brief Loads an item by name from this linker.
wasmtime_linker_get_default(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_context_t> store, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_func_t> func) → Pointer<wasmtime_error_t>
\brief Acquires the "default export" of the named module in this linker.
wasmtime_linker_instantiate(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_context_t> store, Pointer<wasmtime_module_t> module, Pointer<wasmtime_instance_t> instance, Pointer<Pointer<wasm_trap_t>> trap) → Pointer<wasmtime_error_t>
\brief Instantiates a #wasm_module_t with the items defined in this linker.
wasmtime_linker_instantiate_async(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_context_t> store, Pointer<wasmtime_module_t> module, Pointer<wasmtime_instance_t> instance, Pointer<Pointer<wasm_trap_t>> trap_ret, Pointer<Pointer<wasmtime_error_t>> error_ret) → Pointer<wasmtime_call_future_t>
\brief Instantiates a #wasm_module_t with the items defined in this linker for an async store.
wasmtime_linker_instantiate_pre(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_module_t> module, Pointer<Pointer<wasmtime_instance_pre_t>> instance_pre) → Pointer<wasmtime_error_t>
\brief Perform all the checks for instantiating module with the linker, except that instantiation doesn't actually finish.
wasmtime_linker_module(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_context_t> store, Pointer<wasm_byte_t> name, int name_len, Pointer<wasmtime_module_t> module) → Pointer<wasmtime_error_t>
\brief Defines automatic instantiations of a #wasm_module_t in this linker.
wasmtime_linker_new(Pointer<wasm_engine_t> engine) → Pointer<wasmtime_linker_t>
\brief Creates a new linker for the specified engine.
wasmtime_memory_data(Pointer<wasmtime_context_t> store, Pointer<wasmtime_memory_t> memory) → Pointer<Uint8>
\brief Returns the base pointer in memory where the linear memory starts.
wasmtime_memory_data_size(Pointer<wasmtime_context_t> store, Pointer<wasmtime_memory_t> memory) → int
\brief Returns the byte length of this linear memory.
wasmtime_memory_grow(Pointer<wasmtime_context_t> store, Pointer<wasmtime_memory_t> memory, int delta, Pointer<Uint64> prev_size) → Pointer<wasmtime_error_t>
\brief Attempts to grow the specified memory by delta pages.
wasmtime_memory_new(Pointer<wasmtime_context_t> store, Pointer<wasm_memorytype_t> ty, Pointer<wasmtime_memory_t> ret) → Pointer<wasmtime_error_t>
\brief Creates a new WebAssembly linear memory
wasmtime_memory_page_size(Pointer<wasmtime_context_t> store, Pointer<wasmtime_memory_t> memory) → int
\brief Returns the size of a page, in bytes, for this memory.
wasmtime_memory_page_size_log2(Pointer<wasmtime_context_t> store, Pointer<wasmtime_memory_t> memory) → int
\brief Returns the log2 of this memory's page size, in bytes.
wasmtime_memory_size(Pointer<wasmtime_context_t> store, Pointer<wasmtime_memory_t> memory) → int
\brief Returns the length, in WebAssembly pages, of this linear memory
wasmtime_memory_type(Pointer<wasmtime_context_t> store, Pointer<wasmtime_memory_t> memory) → Pointer<wasm_memorytype_t>
\brief Returns the type of the memory specified
wasmtime_memorytype_is64(Pointer<wasm_memorytype_t> ty) → bool
\brief Returns whether this type of memory represents a 64-bit memory.
wasmtime_memorytype_isshared(Pointer<wasm_memorytype_t> ty) → bool
\brief Returns whether this type of memory represents a shared memory.
wasmtime_memorytype_maximum(Pointer<wasm_memorytype_t> ty, Pointer<Uint64> max) → bool
\brief Returns the maximum size, in pages, of the specified memory type.
wasmtime_memorytype_minimum(Pointer<wasm_memorytype_t> ty) → int
\brief Returns the minimum size, in pages, of the specified memory type.
wasmtime_memorytype_new(int min, bool max_present, int max, bool is_64, bool shared, int page_size_log2, Pointer<Pointer<wasm_memorytype_t>> ret) → Pointer<wasmtime_error_t>
\brief Creates a new memory type from the specified parameters.
wasmtime_memorytype_page_size(Pointer<wasm_memorytype_t> ty) → int
\brief Returns the page size, in bytes, of this memory type.
wasmtime_memorytype_page_size_log2(Pointer<wasm_memorytype_t> ty) → int
\brief Returns the log2 of this memory type's page size, in bytes.
wasmtime_module_clone(Pointer<wasmtime_module_t> m) → Pointer<wasmtime_module_t>
\brief Creates a shallow clone of the specified module, increasing the internal reference count.
wasmtime_module_delete(Pointer<wasmtime_module_t> m) → void
\brief Deletes a module.
wasmtime_module_deserialize(Pointer<wasm_engine_t> engine, Pointer<Uint8> bytes, int bytes_len, Pointer<Pointer<wasmtime_module_t>> ret) → Pointer<wasmtime_error_t>
\brief Build a module from serialized data.
wasmtime_module_deserialize_file(Pointer<wasm_engine_t> engine, Pointer<wasm_byte_t> path, Pointer<Pointer<wasmtime_module_t>> ret) → Pointer<wasmtime_error_t>
\brief Deserialize a module from an on-disk file.
wasmtime_module_exports(Pointer<wasmtime_module_t> module, Pointer<wasm_exporttype_vec_t> out) → void
\brief Same as #wasm_module_exports, but for #wasmtime_module_t.
wasmtime_module_image_range(Pointer<wasmtime_module_t> module, Pointer<Pointer<Void>> start, Pointer<Pointer<Void>> end) → void
\brief Returns the range of bytes in memory where this module’s compilation image resides.
wasmtime_module_imports(Pointer<wasmtime_module_t> module, Pointer<wasm_importtype_vec_t> out) → void
\brief Same as #wasm_module_imports, but for #wasmtime_module_t.
wasmtime_module_new(Pointer<wasm_engine_t> engine, Pointer<Uint8> wasm, int wasm_len, Pointer<Pointer<wasmtime_module_t>> ret) → Pointer<wasmtime_error_t>
\brief Compiles a WebAssembly binary into a #wasmtime_module_t
wasmtime_module_serialize(Pointer<wasmtime_module_t> module, Pointer<wasm_byte_vec_t> ret) → Pointer<wasmtime_error_t>
\brief This function serializes compiled module artifacts as blob data.
wasmtime_module_type_clone(Pointer<wasmtime_module_type_t> ty) → Pointer<wasmtime_module_type_t>
\brief Clones a module type.
wasmtime_module_type_delete(Pointer<wasmtime_module_type_t> ty) → void
\brief Deallocates a module type.
wasmtime_module_type_export_count(Pointer<wasmtime_module_type_t> ty, Pointer<wasm_engine_t> engine) → int
\brief Returns the number of exports of a module type.
wasmtime_module_type_export_nth(Pointer<wasmtime_module_type_t> ty, Pointer<wasm_engine_t> engine, int nth) → Pointer<wasm_exporttype_t>
\brief Retrieves the nth export.
wasmtime_module_type_import_count(Pointer<wasmtime_module_type_t> ty, Pointer<wasm_engine_t> engine) → int
\brief Returns the number of imports of a module type.
wasmtime_module_type_import_nth(Pointer<wasmtime_module_type_t> ty, Pointer<wasm_engine_t> engine, int nth) → Pointer<wasm_importtype_t>
\brief Retrieves the nth import.
wasmtime_module_validate(Pointer<wasm_engine_t> engine, Pointer<Uint8> wasm, int wasm_len) → Pointer<wasmtime_error_t>
\brief Validate a WebAssembly binary.
wasmtime_pooling_allocation_config_async_stack_keep_resident_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief How much memory, in bytes, to keep resident for async stacks allocated with the pooling allocator.
wasmtime_pooling_allocation_config_decommit_batch_size_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The target number of decommits to do per batch.
wasmtime_pooling_allocation_config_delete(Pointer<wasmtime_pooling_allocation_config_t> arg0) → void
\brief Deallocates a pooling allocation configuration object created with a call to wasmtime_pooling_allocation_config_new.
wasmtime_pooling_allocation_config_linear_memory_keep_resident_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief How much memory, in bytes, to keep resident for each linear memory after deallocation.
wasmtime_pooling_allocation_config_max_component_instance_size_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum size, in bytes, allocated for a component instance’s VMComponentContext metadata.
wasmtime_pooling_allocation_config_max_core_instance_size_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum size, in bytes, allocated for a core instance’s VMContext metadata.
wasmtime_pooling_allocation_config_max_core_instances_per_component_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of core instances a single component may contain (default is unlimited).
wasmtime_pooling_allocation_config_max_memories_per_component_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of Wasm linear memories that a single component may transitively contain (default is unlimited).
wasmtime_pooling_allocation_config_max_memories_per_module_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of defined linear memories for a module (default is 1).
wasmtime_pooling_allocation_config_max_memory_size_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum byte size that any WebAssembly linear memory may grow to.
wasmtime_pooling_allocation_config_max_tables_per_component_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of tables that a single component may transitively contain (default is unlimited).
wasmtime_pooling_allocation_config_max_tables_per_module_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of defined tables for a core module (default is 1).
wasmtime_pooling_allocation_config_max_unused_warm_slots_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief Configures the maximum number of “unused warm slots” to retain in the pooling allocator.
wasmtime_pooling_allocation_config_new() → Pointer<wasmtime_pooling_allocation_config_t>
\brief Creates a new pooling allocation configuration object. Must be deallocated with a call to wasmtime_pooling_allocation_config_delete.
wasmtime_pooling_allocation_config_table_elements_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum table elements for any table defined in a module (default is 20000).
wasmtime_pooling_allocation_config_table_keep_resident_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief How much memory, in bytes, to keep resident for each table after deallocation.
wasmtime_pooling_allocation_config_total_component_instances_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of concurrent component instances supported (default is 1000).
wasmtime_pooling_allocation_config_total_core_instances_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of concurrent core instances supported (default is 1000).
wasmtime_pooling_allocation_config_total_gc_heaps_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of concurrent GC heaps supported (default is 1000).
wasmtime_pooling_allocation_config_total_memories_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of concurrent Wasm linear memories supported (default is 1000).
wasmtime_pooling_allocation_config_total_stacks_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of execution stacks allowed for asynchronous execution, when enabled (default is 1000).
wasmtime_pooling_allocation_config_total_tables_set(Pointer<wasmtime_pooling_allocation_config_t> arg0, int arg1) → void
\brief The maximum number of concurrent tables supported (default is 1000).
wasmtime_pooling_allocation_strategy_set(Pointer<wasm_config_t> arg0, Pointer<wasmtime_pooling_allocation_config_t> arg1) → void
\brief Sets the Wasmtime allocation strategy to use the pooling allocator. It does not take ownership of the pooling allocation configuration object, which must be deleted with a call to wasmtime_pooling_allocation_config_delete.
wasmtime_reftype_clone(Pointer<wasmtime_reftype_t> ty, Pointer<wasmtime_reftype_t> out) → void
\brief Clones ty into out.
wasmtime_reftype_delete(Pointer<wasmtime_reftype_t> ty) → void
\brief Deletes any payload of ty, if applicable.
wasmtime_sharedmemory_clone(Pointer<wasmtime_sharedmemory_t> memory) → Pointer<wasmtime_sharedmemory_t>
\brief Clones shared linear memory
wasmtime_sharedmemory_data(Pointer<wasmtime_sharedmemory_t> memory) → Pointer<Uint8>
\brief Returns the base pointer in memory where the shared linear memory starts.
wasmtime_sharedmemory_data_size(Pointer<wasmtime_sharedmemory_t> memory) → int
\brief Returns the byte length of this shared linear memory.
wasmtime_sharedmemory_delete(Pointer<wasmtime_sharedmemory_t> memory) → void
\brief Deletes shared linear memory
wasmtime_sharedmemory_grow(Pointer<wasmtime_sharedmemory_t> memory, int delta, Pointer<Uint64> prev_size) → Pointer<wasmtime_error_t>
\brief Attempts to grow the specified shared memory by delta pages.
wasmtime_sharedmemory_new(Pointer<wasm_engine_t> engine, Pointer<wasm_memorytype_t> ty, Pointer<Pointer<wasmtime_sharedmemory_t>> ret) → Pointer<wasmtime_error_t>
\brief Creates a new WebAssembly shared linear memory
wasmtime_sharedmemory_size(Pointer<wasmtime_sharedmemory_t> memory) → int
\brief Returns the length, in WebAssembly pages, of this shared linear memory
wasmtime_sharedmemory_type(Pointer<wasmtime_sharedmemory_t> memory) → Pointer<wasm_memorytype_t>
\brief Returns the type of the shared memory specified
wasmtime_storage_type_clone(Pointer<wasmtime_storage_type_t> storage, Pointer<wasmtime_storage_type_t> out) → void
\brief Clone a storage type into out.
wasmtime_storage_type_delete(Pointer<wasmtime_storage_type_t> storage) → void
\brief Delete a storage type.
wasmtime_store_context(Pointer<wasmtime_store_t> store) → Pointer<wasmtime_context_t>
\brief Returns the interior #wasmtime_context_t pointer to this store
wasmtime_store_delete(Pointer<wasmtime_store_t> store) → void
\brief Deletes a store.
wasmtime_store_epoch_deadline_callback(Pointer<wasmtime_store_t> store, Pointer<NativeFunction<Pointer<wasmtime_error_t> Function(Pointer<wasmtime_context_t> context, Pointer<Void> data, Pointer<Uint64> epoch_deadline_delta, Pointer<Uint8> update_kind)>> func, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → void
\brief Configures epoch deadline callback to C function.
wasmtime_store_limiter(Pointer<wasmtime_store_t> store, int memory_size, int table_elements, int instances, int tables, int memories) → void
\brief Provides limits for a store. Used by hosts to limit resource consumption of instances. Use negative value to keep the default value for the limit.
wasmtime_store_new(Pointer<wasm_engine_t> engine, Pointer<Void> data, Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer) → Pointer<wasmtime_store_t>
\brief Creates a new store within the specified engine.
wasmtime_struct_ref_pre_delete(Pointer<wasmtime_struct_ref_pre_t> pre) → void
\brief Delete a struct pre-allocator.
wasmtime_struct_ref_pre_new(Pointer<wasmtime_context_t> context, Pointer<wasmtime_struct_type_t> ty) → Pointer<wasmtime_struct_ref_pre_t>
\brief Create a new struct pre-allocator.
wasmtime_struct_type_copy(Pointer<wasmtime_struct_type_t> ty) → Pointer<wasmtime_struct_type_t>
\brief Clone a struct type.
wasmtime_struct_type_delete(Pointer<wasmtime_struct_type_t> ty) → void
\brief Delete a struct type.
wasmtime_struct_type_field(Pointer<wasmtime_struct_type_t> ty, int index, Pointer<wasmtime_field_type_t> out) → bool
\brief Get the field type of a struct type's field by index.
wasmtime_struct_type_new(Pointer<wasm_engine_t> engine, Pointer<wasmtime_field_type_t> fields, int nfields) → Pointer<wasmtime_struct_type_t>
\brief Create a new struct type.
wasmtime_struct_type_num_fields(Pointer<wasmtime_struct_type_t> ty) → int
\brief Get the number of fields in a struct type.
wasmtime_structref_clone(Pointer<wasmtime_structref_t> structref, Pointer<wasmtime_structref_t> out) → void
\brief Clone a structref, creating a new root.
wasmtime_structref_field(Pointer<wasmtime_context_t> context, Pointer<wasmtime_structref_t> structref, int index, Pointer<wasmtime_val_t> out) → Pointer<wasmtime_error_t>
\brief Read a field from a struct.
wasmtime_structref_new(Pointer<wasmtime_context_t> context, Pointer<wasmtime_struct_ref_pre_t> pre, Pointer<wasmtime_val_t> fields, int nfields, Pointer<wasmtime_structref_t> out) → Pointer<wasmtime_error_t>
\brief Allocate a new struct instance.
wasmtime_structref_set_field(Pointer<wasmtime_context_t> context, Pointer<wasmtime_structref_t> structref, int index, Pointer<wasmtime_val_t> val) → Pointer<wasmtime_error_t>
\brief Set a field of a struct.
wasmtime_structref_to_anyref(Pointer<wasmtime_structref_t> structref, Pointer<wasmtime_anyref_t> out) → void
\brief Upcast a structref to an anyref.
wasmtime_structref_to_eqref(Pointer<wasmtime_structref_t> structref, Pointer<wasmtime_eqref_t> out) → void
\brief Upcast a structref to an eqref.
wasmtime_structref_type(Pointer<wasmtime_context_t> context, Pointer<wasmtime_structref_t> structref) → Pointer<wasmtime_struct_type_t>
\brief Returns the type of the specified structref.
wasmtime_structref_unroot(Pointer<wasmtime_structref_t> ref) → void
\brief Unroot a structref to allow garbage collection.
wasmtime_table_get(Pointer<wasmtime_context_t> store, Pointer<wasmtime_table_t> table, int index, Pointer<wasmtime_val_t> val) → bool
\brief Gets a value in a table.
wasmtime_table_grow(Pointer<wasmtime_context_t> store, Pointer<wasmtime_table_t> table, int delta, Pointer<wasmtime_val_t> init, Pointer<Uint64> prev_size) → Pointer<wasmtime_error_t>
\brief Grows a table.
wasmtime_table_new(Pointer<wasmtime_context_t> store, Pointer<wasm_tabletype_t> ty, Pointer<wasmtime_val_t> init, Pointer<wasmtime_table_t> table) → Pointer<wasmtime_error_t>
\brief Creates a new host-defined wasm table.
wasmtime_table_set(Pointer<wasmtime_context_t> store, Pointer<wasmtime_table_t> table, int index, Pointer<wasmtime_val_t> value) → Pointer<wasmtime_error_t>
\brief Sets a value in a table.
wasmtime_table_size(Pointer<wasmtime_context_t> store, Pointer<wasmtime_table_t> table) → int
\brief Returns the size, in elements, of the specified table
wasmtime_table_type(Pointer<wasmtime_context_t> store, Pointer<wasmtime_table_t> table) → Pointer<wasm_tabletype_t>
\brief Returns the type of this table.
wasmtime_tag_eq(Pointer<wasmtime_context_t> store, Pointer<wasmtime_tag_t> a, Pointer<wasmtime_tag_t> b) → bool
\brief Tests whether two tags are identical (same definition).
wasmtime_tag_new(Pointer<wasmtime_context_t> store, Pointer<wasm_tagtype_t> tt, Pointer<wasmtime_tag_t> ret) → Pointer<wasmtime_error_t>
\brief Creates a new host-defined tag.
wasmtime_tag_type(Pointer<wasmtime_context_t> store, Pointer<wasmtime_tag_t> tag) → Pointer<wasm_tagtype_t>
\brief Returns the type of the given tag.
wasmtime_trap_code(Pointer<wasm_trap_t> arg0, Pointer<Uint8> code) → bool
\brief Attempts to extract the trap code from this trap.
wasmtime_trap_new(Pointer<wasm_byte_t> msg, int msg_len) → Pointer<wasm_trap_t>
\brief Creates a new trap with the given message.
wasmtime_trap_new_code(int code) → Pointer<wasm_trap_t>
\brief Creates a new trap from the given trap code.
wasmtime_val_clone(Pointer<wasmtime_val_t> src, Pointer<wasmtime_val_t> dst) → void
\brief Clones the value pointed to by src into the dst provided.
wasmtime_val_unroot(Pointer<wasmtime_val_t> val) → void
\brief Unroot the value contained by val.
wasmtime_valtype_clone(Pointer<wasmtime_valtype_t> ty, Pointer<wasmtime_valtype_t> out) → void
\brief Clones ty into out.
wasmtime_valtype_delete(Pointer<wasmtime_valtype_t> ty) → void
\brief Deletes any payload of ty, if applicable.
wasmtime_valtype_new(Pointer<wasm_valtype_t> ty, Pointer<wasmtime_valtype_t> out) → void
\brief Creates a new type in out from the type in ty.
wasmtime_valtype_to_wasm(Pointer<wasm_engine_t> engine, Pointer<wasmtime_valtype_t> ty) → Pointer<wasm_valtype_t>
\brief Converts ty into a wasm_valtype_t and returns a pointer to it.
wasmtime_wasm_valtype_equal(Pointer<wasm_valtype_t> a, Pointer<wasm_valtype_t> b) → bool
\brief Returns whether a is logically equal to b.
wasmtime_wasm_valtype_v128() → Pointer<wasm_valtype_t>
\brief Returns a new value type representing the wasm v128 type.

Typedefs

byte_t = Char
Dartbyte_t = int
Dartfloat32_t = double
Dartfloat64_t = double
Dartwasm_externkind_t = int
Dartwasm_memory_pages_t = int
Dartwasm_mutability_t = int
Dartwasm_table_size_t = int
Dartwasm_valkind_t = int
Dartwasmtime_component_func_async_callback_tFunction = void Function(Pointer<Void> env, Pointer<wasmtime_context_t> context, Pointer<wasmtime_component_func_type_t> ty, Pointer<wasmtime_component_val_t> args, int nargs, Pointer<wasmtime_component_val_t> results, int nresults, Pointer<Pointer<wasmtime_error_t>> error_ret, Pointer<wasmtime_async_continuation_t> continuation_ret)
Dartwasmtime_component_func_callback_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void>, Pointer<wasmtime_context_t>, Pointer<wasmtime_component_func_type_t>, Pointer<wasmtime_component_val_t>, int, Pointer<wasmtime_component_val_t>, int)
Dartwasmtime_component_item_kind_t = int
Dartwasmtime_component_resource_destructor_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void>, Pointer<wasmtime_context_t>, int)
Dartwasmtime_component_valkind_t = int
Dartwasmtime_component_valtype_kind_t = int
Dartwasmtime_extern_kind_t = int
Dartwasmtime_func_async_callback_tFunction = void Function(Pointer<Void> env, Pointer<wasmtime_caller_t> caller, Pointer<wasmtime_val_t> args, int nargs, Pointer<wasmtime_val_t> results, int nresults, Pointer<Pointer<wasm_trap_t>> trap_ret, Pointer<wasmtime_async_continuation_t> continuation_ret)
Dartwasmtime_func_async_continuation_callback_tFunction = bool Function(Pointer<Void> env)
Dartwasmtime_func_callback_tFunction = Pointer<wasm_trap_t> Function(Pointer<Void> env, Pointer<wasmtime_caller_t> caller, Pointer<wasmtime_val_t> args, int nargs, Pointer<wasmtime_val_t> results, int nresults)
Dartwasmtime_func_unchecked_callback_tFunction = Pointer<wasm_trap_t> Function(Pointer<Void> env, Pointer<wasmtime_caller_t> caller, Pointer<wasmtime_val_raw_t> args_and_results, int num_args_and_results)
Dartwasmtime_heaptype_kind_t = int
Dartwasmtime_memory_grow_callback_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void> env, int new_size)
Dartwasmtime_new_memory_callback_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void> env, Pointer<wasm_memorytype_t> ty, int minimum, int maximum, int reserved_size_in_bytes, int guard_size_in_bytes, Pointer<wasmtime_linear_memory_t> memory_ret)
Dartwasmtime_new_stack_memory_callback_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void> env, int size, bool zeroed, Pointer<wasmtime_stack_memory_t> stack_ret)
Dartwasmtime_opt_level_t = int
Dartwasmtime_profiling_strategy_t = int
Dartwasmtime_regalloc_algorithm_t = int
Dartwasmtime_storage_type_kind_t = int
Dartwasmtime_strategy_t = int
Dartwasmtime_trap_code_t = int
Dartwasmtime_update_deadline_kind_t = int
Dartwasmtime_valkind_t = int
Dartwasmtime_valtype_kind_t = int
float32_t = Float
float64_t = Double
wasm_byte_t = byte_t
Byte vectors
wasm_externkind_t = Uint8
wasm_func_callback_t = Pointer<NativeFunction<wasm_func_callback_tFunction>>
wasm_func_callback_tFunction = Pointer<wasm_trap_t> Function(Pointer<wasm_val_vec_t> args, Pointer<wasm_val_vec_t> results)
wasm_func_callback_with_env_t = Pointer<NativeFunction<wasm_func_callback_with_env_tFunction>>
wasm_func_callback_with_env_tFunction = Pointer<wasm_trap_t> Function(Pointer<Void> env, Pointer<wasm_val_vec_t> args, Pointer<wasm_val_vec_t> results)
wasm_memory_pages_t = Uint32
wasm_message_t = wasm_name_t
Traps
wasm_mutability_t = Uint8
Type attributes
wasm_name_t = wasm_byte_vec_t
wasm_table_size_t = Uint32
wasm_valkind_t = Uint8
wasmtime_anyref_t = wasmtime_anyref
wasmtime_array_ref_pre_t = wasmtime_array_ref_pre
\brief An opaque pre-allocated array layout for fast allocation.
wasmtime_array_type_t = wasmtime_array_type
\brief An opaque handle to a WebAssembly array type definition.
wasmtime_arrayref_t = wasmtime_arrayref
wasmtime_call_future_t = wasmtime_call_future
\brief The structure representing a asynchronously running function.
wasmtime_caller_t = wasmtime_caller
\typedef wasmtime_caller_t \brief Alias to #wasmtime_caller
wasmtime_component_enum_type_t = wasmtime_component_enum_type
\brief Opaque type representing a component enum type.
wasmtime_component_flags_type_t = wasmtime_component_flags_type
\brief Opaque type representing a component flags type.
wasmtime_component_func_async_callback_t = Pointer<NativeFunction<wasmtime_component_func_async_callback_tFunction>>
Type of the async callback used in #wasmtime_component_linker_instance_add_func_async
wasmtime_component_func_async_callback_tFunction = Void Function(Pointer<Void> env, Pointer<wasmtime_context_t> context, Pointer<wasmtime_component_func_type_t> ty, Pointer<wasmtime_component_val_t> args, Size nargs, Pointer<wasmtime_component_val_t> results, Size nresults, Pointer<Pointer<wasmtime_error_t>> error_ret, Pointer<wasmtime_async_continuation_t> continuation_ret)
wasmtime_component_func_callback_t = Pointer<NativeFunction<wasmtime_component_func_callback_tFunction>>
Type of the callback used in #wasmtime_component_linker_instance_add_func
wasmtime_component_func_callback_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void>, Pointer<wasmtime_context_t>, Pointer<wasmtime_component_func_type_t>, Pointer<wasmtime_component_val_t>, Size, Pointer<wasmtime_component_val_t>, Size)
wasmtime_component_func_t = wasmtime_component_func
wasmtime_component_future_type_t = wasmtime_component_future_type
\brief Opaque type representing a component future type.
wasmtime_component_instance_t = wasmtime_component_instance
wasmtime_component_instance_type_t = wasmtime_component_instance_type
\brief Represents the type of a component instance.
wasmtime_component_item_kind_t = Uint8
\brief Discriminant used in #wasmtime_component_item_t::kind
wasmtime_component_item_union_t = wasmtime_component_item_union
wasmtime_component_list_type_t = wasmtime_component_list_type
\brief Opaque type representing a component list type.
wasmtime_component_map_type_t = wasmtime_component_map_type
\brief Opaque type representing a component map type.
wasmtime_component_option_type_t = wasmtime_component_option_type
\brief Opaque type representing a component option type.
wasmtime_component_record_type_t = wasmtime_component_record_type
\brief Opaque type representing a component record type.
wasmtime_component_resource_any_t = wasmtime_component_resource_any
\brief Represents a component resource which can be either guest-owned or host-owned.
wasmtime_component_resource_destructor_t = Pointer<NativeFunction<wasmtime_component_resource_destructor_tFunction>>
Type of the callback used in #wasmtime_component_linker_instance_add_resource
wasmtime_component_resource_destructor_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void>, Pointer<wasmtime_context_t>, Uint32)
wasmtime_component_resource_host_t = wasmtime_component_resource_host
\brief Represents a host-defined component resource.
wasmtime_component_resource_type_t = wasmtime_component_resource_type
\brief Represents the type of a component resource.
wasmtime_component_result_type_t = wasmtime_component_result_type
\brief Opaque type representing a component result type.
wasmtime_component_stream_type_t = wasmtime_component_stream_type
\brief Opaque type representing a component stream type.
wasmtime_component_tuple_type_t = wasmtime_component_tuple_type
\brief Opaque type representing a component tuple type.
wasmtime_component_val_t = wasmtime_component_val
wasmtime_component_valflags_t = wasmtime_component_valflags
wasmtime_component_valkind_t = Uint8
\brief Discriminant used in #wasmtime_component_val_t::kind
wasmtime_component_vallist_t = wasmtime_component_vallist
wasmtime_component_valmap_entry_t = wasmtime_component_valmap_entry
wasmtime_component_valmap_t = wasmtime_component_valmap
wasmtime_component_valrecord_entry_t = wasmtime_component_valrecord_entry
wasmtime_component_valrecord_t = wasmtime_component_valrecord
wasmtime_component_valtuple_t = wasmtime_component_valtuple
wasmtime_component_valtype_kind_t = Uint8
\brief Discriminant used in #wasmtime_component_valtype_t::kind
wasmtime_component_valtype_union_t = wasmtime_component_valtype_union
wasmtime_component_variant_type_t = wasmtime_component_variant_type
\brief Opaque type representing a component variant type.
wasmtime_context_t = wasmtime_context
\typedef wasmtime_context_t \brief Convenience alias for #wasmtime_context
wasmtime_eqref_t = wasmtime_eqref
wasmtime_error_t = wasmtime_error
\typedef wasmtime_error_t \brief Convenience alias for #wasmtime_error
wasmtime_exn_type_t = wasmtime_exn_type
\brief A type of a WebAssembly exception.
wasmtime_exnref_t = wasmtime_exnref
wasmtime_extern_kind_t = Uint8
\brief Discriminant of #wasmtime_extern_t
wasmtime_extern_t = wasmtime_extern
wasmtime_extern_union_t = wasmtime_extern_union
wasmtime_externref_t = wasmtime_externref
wasmtime_field_type_t = wasmtime_field_type
wasmtime_func_async_callback_t = Pointer<NativeFunction<wasmtime_func_async_callback_tFunction>>
\brief Callback signature for #wasmtime_linker_define_async_func.
wasmtime_func_async_callback_tFunction = Void Function(Pointer<Void> env, Pointer<wasmtime_caller_t> caller, Pointer<wasmtime_val_t> args, Size nargs, Pointer<wasmtime_val_t> results, Size nresults, Pointer<Pointer<wasm_trap_t>> trap_ret, Pointer<wasmtime_async_continuation_t> continuation_ret)
wasmtime_func_async_continuation_callback_t = Pointer<NativeFunction<wasmtime_func_async_continuation_callback_tFunction>>
The callback to determine a continuation's current state.
wasmtime_func_async_continuation_callback_tFunction = Bool Function(Pointer<Void> env)
wasmtime_func_callback_t = Pointer<NativeFunction<wasmtime_func_callback_tFunction>>
\brief Callback signature for #wasmtime_func_new.
wasmtime_func_callback_tFunction = Pointer<wasm_trap_t> Function(Pointer<Void> env, Pointer<wasmtime_caller_t> caller, Pointer<wasmtime_val_t> args, Size nargs, Pointer<wasmtime_val_t> results, Size nresults)
wasmtime_func_t = wasmtime_func
wasmtime_func_unchecked_callback_t = Pointer<NativeFunction<wasmtime_func_unchecked_callback_tFunction>>
\brief Callback signature for #wasmtime_func_new_unchecked.
wasmtime_func_unchecked_callback_tFunction = Pointer<wasm_trap_t> Function(Pointer<Void> env, Pointer<wasmtime_caller_t> caller, Pointer<wasmtime_val_raw_t> args_and_results, Size num_args_and_results)
wasmtime_global_t = wasmtime_global
wasmtime_heaptype_kind_t = Uint8
\brief Discriminant located in wasmtime_heaptype_t.kind
wasmtime_heaptype_t = wasmtime_heaptype
wasmtime_heaptype_union_t = wasmtime_heaptype_union
wasmtime_instance_pre_t = wasmtime_instance_pre
\brief A #wasmtime_instance_t, pre-instantiation, that is ready to be instantiated.
wasmtime_instance_t = wasmtime_instance
wasmtime_linear_memory_t = wasmtime_linear_memory
wasmtime_linker_t = wasmtime_linker
\typedef wasmtime_linker_t \brief Alias to #wasmtime_linker
wasmtime_memory_creator_t = wasmtime_memory_creator
wasmtime_memory_get_callback_t = Pointer<NativeFunction<wasmtime_memory_get_callback_tFunction>>
Return the data from a LinearMemory instance.
wasmtime_memory_get_callback_tFunction = Pointer<Uint8> Function(Pointer<Void> env, Pointer<Size> byte_size, Pointer<Size> byte_capacity)
wasmtime_memory_grow_callback_t = Pointer<NativeFunction<wasmtime_memory_grow_callback_tFunction>>
Grow the memory to the new_size in bytes.
wasmtime_memory_grow_callback_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void> env, Size new_size)
wasmtime_memory_t = wasmtime_memory
wasmtime_module_t = wasmtime_module
\typedef wasmtime_module_t \brief Convenience alias for #wasmtime_module
wasmtime_module_type_t = wasmtime_module_type
\brief Represents the type of a module.
wasmtime_new_memory_callback_t = Pointer<NativeFunction<wasmtime_new_memory_callback_tFunction>>
A callback to create a new LinearMemory from the specified parameters.
wasmtime_new_memory_callback_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void> env, Pointer<wasm_memorytype_t> ty, Size minimum, Size maximum, Size reserved_size_in_bytes, Size guard_size_in_bytes, Pointer<wasmtime_linear_memory_t> memory_ret)
wasmtime_new_stack_memory_callback_t = Pointer<NativeFunction<wasmtime_new_stack_memory_callback_tFunction>>
A callback to create a new StackMemory from the specified parameters.
wasmtime_new_stack_memory_callback_tFunction = Pointer<wasmtime_error_t> Function(Pointer<Void> env, Size size, Bool zeroed, Pointer<wasmtime_stack_memory_t> stack_ret)
wasmtime_opt_level_t = Uint8
\brief Specifier of what optimization level to use for generated JIT code.
wasmtime_profiling_strategy_t = Uint8
\brief Different ways wasmtime can enable profiling JIT code.
wasmtime_reftype_t = wasmtime_reftype
wasmtime_regalloc_algorithm_t = Uint8
\brief Different ways Cranelift can allocate registers
wasmtime_sharedmemory_t = wasmtime_sharedmemory
\brief Interface for shared memories.
wasmtime_stack_memory_get_callback_t = Pointer<NativeFunction<wasmtime_stack_memory_get_callback_tFunction>>
A callback to get the top of the stack address and the length of the stack, excluding guard pages.
wasmtime_stack_memory_get_callback_tFunction = Pointer<Uint8> Function(Pointer<Void> env, Pointer<Size> out_len)
wasmtime_storage_type_kind_t = Uint8
\brief Discriminant for storage types in struct/array field types.
wasmtime_storage_type_t = wasmtime_storage_type
wasmtime_store_t = wasmtime_store
\typedef wasmtime_store_t \brief Convenience alias for #wasmtime_store_t
wasmtime_strategy_t = Uint8
\brief Specifier for how Wasmtime will compile code, values are in #wasmtime_strategy_enum
wasmtime_struct_ref_pre_t = wasmtime_struct_ref_pre
\brief An opaque, pre-allocated, and registered struct layout for faster allocation.
wasmtime_struct_type_t = wasmtime_struct_type
\brief An opaque handle to a WebAssembly struct type definition.
wasmtime_structref_t = wasmtime_structref
wasmtime_table_t = wasmtime_table
wasmtime_tag_t = wasmtime_tag
wasmtime_trap_code_t = Uint8
\brief Code of an instruction trap.
wasmtime_update_deadline_kind_t = Uint8
\brief An enum for the behavior before extending the epoch deadline.
wasmtime_val_raw_t = wasmtime_val_raw
wasmtime_val_t = wasmtime_val
wasmtime_valkind_t = Uint8
\brief Discriminant stored in #wasmtime_val::kind
wasmtime_valtype_kind_t = Uint8
\brief Discriminant located in wasmtime_valtype_t.kind
wasmtime_valtype_t = wasmtime_valtype
wasmtime_valunion_t = wasmtime_valunion