Get the allocated size of the vector. Use VECTOR_size to get the size of the vector.
Allocated size of the vector
VECTOR_alloc_size(Vector:vector)
new Vector:vector; VECTOR_push_back_val(vector, 10); VECTOR_push_back_val(vector, 20); VECTOR_push_back_val(vector, 30); printf("Allocated size of vector: %d", VECTOR_alloc_size(vector));
There was an error while loading. Please reload this page.