new_vector

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

new_vector, _vector_new - allocate a new vector

SYNOPSIS

#include <vector.h>

#define new_vector(pool,type) _vector_new ((pool), sizeof (type))
vector _vector_new (pool, size_t size);

DESCRIPTION

Allocate a new vector in pool of type type. The first form is just a macro which evaluates the size of type. The second form creates a vector with elements of the given size directly.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

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

VERSION

c2lib-1.2.13