nstd_vec_clear

Function nstd_vec_clear 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nstd_vec_clear(vec: &mut NSTDVec<'_>)
Available on crate feature vec only.
Expand description

Sets a vector’s length to zero.

§Parameters:

  • NSTDVec *vec - The vector to clear.