PtrArray.sizedNew

Creates a new glib.PtrArray with reserved_size pointers preallocated and a reference count of 1. This avoids frequent reallocation, if you are going to add many pointers to the array. Note however that the size of the array is still 0.

class PtrArray
static
sizedNew

Parameters

reservedSize uint

number of pointers preallocated

Return Value

Type: PtrArray