vector_reallocate

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

vector_reallocate - change allocation for a vector

SYNOPSIS

#include <vector.h>

void vector_reallocate (vector v, int n);

DESCRIPTION

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.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13