PtrArray.setSize

Sets the size of the array. When making the array larger, newly-added elements will be set to NULL. When making it smaller, if array has a non-NULL GDestroyNotify function then it will be called for the removed elements.

class PtrArray
void
setSize
(
int length
)

Parameters

length int

the new length of the pointer array