WasmHostTrampoline class final

The native trampoline behind one host function.

Constructors

WasmHostTrampoline(WasmFuncType signature, WasmHostFunction body)

Properties

body → WasmHostFunction
The Dart implementation.
final
callback → wasmtime_func_callback_t
The C function pointer to hand to wasmtime.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → WasmFuncType
The signature WebAssembly declares for this import.
final

Methods

close() → void
Releases the trampoline. Idempotent.
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