Function nstd_sys::vec::nstd_vec_as_ptr

source ·
#[no_mangle]
pub const extern "C" fn nstd_vec_as_ptr(vec: &NSTDVec<'_>) -> NSTDAny
Available on crate feature vec only.
Expand description

Returns a pointer to a vector’s raw data.

Parameters:

  • const NSTDVec *vec - The vector.

Returns

NSTDAny ptr - A pointer to the vector’s raw data.