wasm_extern_as_memory

Function wasm_extern_as_memory 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_extern_as_memory( e: &mut wasm_extern_t, ) -> Option<&mut wasm_memory_t>
Expand description

Returns the wasm_extern_t as reference to mutable wasm_memory_t if possible.

Returns None if e is not a wasm_memory_t.