cvector · Section 3
cvector_size
NAME
cvector_size - get the number of elements in the vector
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cvector.h> size_t cvector_size(cvec v);
DESCRIPTION
Returns how many elements the vector holds right now.
PARAMETERS
v Vector to query
RETURN VALUE
The number of elements in the vector.
NOTES
O(1). Asserts if v is NULL.