pub unsafe fn call(
environment: EnvironmentPointer,
function: FunctionCall,
argument_0: WasmUsize,
argument_1: WasmUsize,
argument_2: WasmUsize,
argument_3: WasmUsize,
argument_4: WasmUsize,
argument_5: WasmUsize,
argument_6: WasmUsize,
arguments_count: u8,
result_pointer: WasmPointer,
) -> i32Expand 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).