wasmi_c_api

Function wasm_val_copy

source
#[no_mangle]
pub unsafe extern "C" fn wasm_val_copy(
    out: &mut MaybeUninit<wasm_val_t>,
    source: &wasm_val_t,
)
Expand description

Copies the wasm_val_t and stores the result in out.

ยงSafety

The caller is responsible to provide a valid wasm_val_t that can safely be copied.