wasmtime_func class final

\brief Representation of a function in Wasmtime.

Functions in Wasmtime are represented as an index into a store and don't have any data or destructor associated with the #wasmtime_func_t value. Functions cannot interoperate between #wasmtime_store_t instances and if the wrong function is passed to the wrong store then it may trigger an assertion to abort the process.

Inheritance
Implemented types
Available extensions

Constructors

wasmtime_func()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
hashCode → int
The hash code for this object.
no setterinherited
privateData ↔ Pointer<Void>
Private field for Wasmtime, undefined if store_id is zero.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store_id ↔ int
Internal identifier of what store this belongs to.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

$allocate(Allocator $allocator, {required int store_id, required Pointer<Void> privateData}) → Pointer<wasmtime_func_t>