Class Function

A WebAssembly function reference.

class Function
  : wasmer.Handle!(wasmer.bindings.wasm_func_t) ;

Constructors

NameDescription
this (store, type, callback) Instantiate a D function to be called from WASM code.
this (store, module_, type, callback) Instantiate a D delegate to be called from WASM code.
this (store, module_, callback) Instantiate a D function that satisfies isCallableAsFunction to be called from WASM code.

Properties

NameTypeDescription
asExtern[set] Extern
type[get] wasmer.bindings.wasm_functype_t*

Methods

NameDescription
call (results)
call (arguments, results)
from (extern_)