gwr/gwr
Types
pub type WebAssemblyInstance {
WebAssemblyInstance(binary: spec.Binary, state: exec.State)
}
Constructors
-
WebAssemblyInstance(binary: spec.Binary, state: exec.State)
Values
pub fn call(
instance: WebAssemblyInstance,
name: String,
arguments: List(spec.Value),
) -> Result(#(WebAssemblyInstance, List(spec.Value)), trap.Trap)
pub fn create(
from binary: spec.Binary,
) -> Result(WebAssemblyInstance, String)
pub fn load(
from data: BitArray,
) -> Result(spec.Binary, parsing_error.ParsingError)