GArray* g_array_sized_new ( gboolean zero_terminated, gboolean clear_, guint element_size, guint reserved_size )
Creates a new
reserved_size elements preallocated and
a reference count of 1. This avoids frequent reallocation, if you
are going to add many elements to the array. Note however that the
size of the array is still 0.
This function is not directly available to language bindings.
TRUEif the array should have an extra element at the end with all bits cleared.
TRUEif all bits in the array should be cleared to 0 on allocation.
Size of each element in the array.
Number of elements preallocated.