wasmtime_c_api

Function wasm_externtype_copy

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

Creates a new wasm_externtype_t which matches the provided one.

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