Name
ap_make_array — allocate an array of arbitrary-size elements
Synopsis
array_header *ap_make_array(pool *p, int nelts, int elt_size)
Allocates memory to
contain
nelts
elements of size
elt_size
. The array can grow to contain as many
elements as needed. The array is destroyed when the pool is
destroyed. Returns a pointer to the new array.