wasm_memorytype_copy

Function wasm_memorytype_copy 

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

Creates a new wasm_memorytype_t which matches the provided one.

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