wasm_ref_copy

Function wasm_ref_copy 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_ref_copy( r: Option<&wasm_ref_t>, ) -> Option<Box<wasm_ref_t>>
Expand description

Copies the wasm_ref_t and returns the copied reference.

Returns None if r was None.