Skip to main content

syscall_state_handler

Function syscall_state_handler 

Source
pub fn syscall_state_handler(
    caller: &mut impl StoreTr<RuntimeContext>,
    _params: &[Value],
    result: &mut [Value],
) -> Result<(), TrapCode>
Expand description

Writes ctx.state into result[0].