wasm_ref_as_trap

Function wasm_ref_as_trap 

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

Returns the wasm_ref_t as shared wasm_trap_t if possible or otherwise returns None.

ยงNote

This API is unsupported and will panic upon use.