wasmer_emscripten

Function allocate_on_stack

source
pub unsafe fn allocate_on_stack<'a, T: Copy>(
    ctx: &mut FunctionEnvMut<'a, EmEnv>,
    count: u32,
) -> (u32, &'a mut [T])
Expand description

ยงSafety

This method is unsafe because it operates directly with the slice of memory represented by the address