Function wasm_importtype_copy

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

Creates a new wasm_importtype_t which matches the provided one.

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