wasmtime_instance class final

\brief Representation of a instance in Wasmtime.

Instances are represented with a 64-bit identifying integer in Wasmtime. They do not have any destructor associated with them. Instances cannot interoperate between #wasmtime_store_t instances and if the wrong instance is passed to the wrong store then it may trigger an assertion to abort the process.

Inheritance
Implemented types
Available extensions

Constructors

wasmtime_instance()

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 ↔ int
Private data for use in Wasmtime.
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, never zero.
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 int privateData}) → Pointer<wasmtime_instance_t>