Creates a new GArray with 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.
TRUE if the array should have an extra element at the end with all bits cleared.
TRUE if all bits in the array should be cleared to 0 on allocation.
size of each element in the array.
number of elements preallocated.
the new GArray.
See Implementation
Creates a new GArray with 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.