Skip to main content

jit_unbox_array_int

Function jit_unbox_array_int 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn jit_unbox_array_int( array_value_ptr: *const Value, out_vec_ptr: *mut *mut LustInt, out_len: *mut usize, out_cap: *mut usize, ) -> u8
Expand description

Unbox Array from Value to Vec for specialized JIT operations IMPORTANT: This takes ownership of the array’s data. The original Vec is emptied. Returns 1 on success, 0 on failure Outputs: vec_ptr (pointer to data), vec_len, vec_cap