Function wasmtime_c_api::wasm_trap_copy

source ยท
#[no_mangle]
pub extern "C" fn wasm_trap_copy(
    src: &wasm_trap_t,
) -> Box<wasm_trap_t>
Expand description

Creates a new wasm_trap_t which matches the provided one.

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