vector_allocated

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

vector_allocated - return the space allocated to a vector

SYNOPSIS

#include <vector.h>

#define vector_allocated(v) ((v)->allocated)

DESCRIPTION

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)).

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

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

VERSION

c2lib-1.2.13