Wasm3::WasmModule
A parsed WebAssembly module. A successfully loaded module is owned by its Runtime and must not be freed separately, as required by Wasm3.
Instance methods
close
Sourceclosed?
Sourcecompile
Sourceenvironment
Sourcefinalize
Sourcehandle
Sourcelink_function(module_name : String, function_name : String, signature : String, callback : HostFunction::Callback) : self
Links a Crystal callback to an imported function. The module must already be loaded because Wasm3 compiles raw imports against a runtime code page.
link_function(module_name : String, function_name : String, signature : String, &callback : HostFunction::Callback) : self
Sourceload(runtime : Runtime) : self
Sourceloaded?
Sourcename
Sourcerun_start
Source