vector_reallocate - change allocation for a vector |
#include <vector.h> void vector_reallocate (vector v, int n); |
Increase the amount of space allocated to a vector. See also vector_allocated(3). This function can be used to avoid the vector itself making too many calls to the underlying prealloc(3), particularly if you know in advance exactly how many elements the vector will contain. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |