#[no_mangle]
pub unsafe extern "C" fn wasm_val_vec_new(
out: &mut wasm_val_vec_t,
size: usize,
ptr: *const wasm_val_t,
)Expand description
Creates an new wasm_val_vec_t with the given size and ptr data.
§Note
- The
ptrmust point to a buffer of lengthsizeor larger. - Returns the resulting
wasm_val_vec_tinout.
§Safety
It is the callers responsibility to provide a valid pair of ptr and size.