nstd_vec_as_ptr

Function nstd_vec_as_ptr 

Source
#[unsafe(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.