/* When finished using the array, _cairo_array_fini() should be called to free resources allocated during use of the array.  */
void _cairo_array_init(cairo_array_t *array, unsigned int element_size)
/* When finished using the array, _cairo_array_fini() should be called to free resources allocated during use of the array.  */
void _cairo_array_init(cairo_array_t *array, unsigned int element_size)
{
    array->size = 0;
    array->num_elements = 0;
    array->element_size = element_size;
    array->elements = NULL;
}