wasmtime_exnref class final

\typedef wasmtime_exnref_t \brief Convenience alias for #wasmtime_exnref

\struct wasmtime_exnref \brief A WebAssembly exception reference value.

This structure represents an exnref value, which is a reference to a WebAssembly exception object. Like other GC reference types, it must be explicitly unrooted via #wasmtime_exnref_unroot to enable garbage collection.

Null exnref values are represented with store_id == 0.

Inheritance
Implemented types
Available extensions

Constructors

wasmtime_exnref()

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
privateData1 ↔ int
Internal to Wasmtime.
getter/setter pair
privateData2 ↔ int
Internal to Wasmtime.
getter/setter pair
privateData3 ↔ Pointer<Void>
Internal to Wasmtime.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store_id ↔ int
Internal metadata tracking within the store, embedders should not configure or modify these fields.
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 privateData1, required int privateData2, required Pointer<Void> privateData3}) → Pointer<wasmtime_exnref_t>