wasm_instance_copy

Function wasm_instance_copy 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_instance_copy( src: &wasm_instance_t, ) -> Box<wasm_instance_t>
Expand description

Creates a new wasm_instance_t which matches the provided one.

The caller is responsible for deleting the returned value via wasm_instance_delete.