wasmer_emscripten

Function allocate_cstr_on_stack

source
pub unsafe fn allocate_cstr_on_stack<'a>(
    ctx: &'a mut FunctionEnvMut<'a, EmEnv>,
    s: &str,
) -> (u32, &'a [u8])
Expand description

ยงSafety

This method is unsafe because it uses allocate_on_stack which is unsafe