wasm_ref_as_memory_const

Function wasm_ref_as_memory_const 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_ref_as_memory_const( _ref: Option<&wasm_ref_t>, ) -> Option<&wasm_memory_t>
Expand description

Returns the wasm_ref_t as mutable wasm_memory_t if possible or otherwise returns None.

ยงNote

This API is unsupported and will panic upon use.