| vector_allocated - return the space allocated to a vector |
#include <vector.h> #define vector_allocated(v) ((v)->allocated) |
| Return the amount of space which has been allocated for storing elements of the vector. This is different from the number of elements actually stored by the vector (see vector_size(3)) and also different from the size of each element in bytes (see vector_element_size(3)). |
| Richard Jones <rich@annexia.org> |
| GNU LGPL (see http://www.gnu.org/) |
| c2lib-1.2.13 |