vector_fill(3)

NAME
vector_fill, _vector_fill - fill a vector with identical elements

SYNOPSIS
#include <vector.h>

#define vector_fill(v,obj,n) _vector_fill((v),&(obj),(n))
void _vector_fill (vector, const void *ptr, int n);

DESCRIPTION

vector_fill appends n identical copies of obj to the vector. It is equivalent to calling vector_push_back(3) in a loop n times.

AUTHOR
Richard Jones <rich@annexia.org>

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

VERSION
c2lib-1.2.14