Function nstd::vec::nstd_vec_push
source · [−]#[no_mangle]
pub unsafe extern "C" fn nstd_vec_push(
vec: &mut NSTDVec,
element: NSTDAnyConst
) -> NSTDErrorCodeExpand description
Pushes a new element onto the end of a vector.
Parameters
-
NSTDVec *const vec- The vector. -
const NSTDAnyConst element- Pointer to the new element.
Returns
NSTDErrorCode errc - Nonzero on error.