Host_bindings

Function Call

Source
pub unsafe fn Call(
    Environment: Environment_pointer_type,
    Function: Function_calls_type,
    Argument_0: WASM_usize_type,
    Argument_1: WASM_usize_type,
    Argument_2: WASM_usize_type,
    Argument_3: WASM_usize_type,
    Argument_4: WASM_usize_type,
    Argument_5: WASM_usize_type,
    Argument_6: WASM_usize_type,
    Arguments_count: u8,
    Result: WASM_pointer_type,
)
Expand description

Call to graphics API

ยงSafety

This function is unsafe because it may dereference raw pointers (e.g. Environment, Result or Arguments). The pointer must be valid and properly aligned (ensured by the virtual machine).