wasmi_c_api

Function wasm_func_copy

source
#[no_mangle]
pub extern "C" fn wasm_func_copy(
    src: &wasm_func_t,
) -> Box<wasm_func_t>
Expand description

Creates a new wasm_func_t which matches the provided one.

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