PtrArray.removeIndexFast

Removes the pointer at the given index from the pointer array. The last element in the array is used to fill in the space, so this function does not preserve the order of the array. But it is faster than PtrArray.removeIndex. If array has a non-NULL GDestroyNotify function it is called for the removed element. If so, the return value from this function will potentially point to freed memory (depending on the GDestroyNotify implementation).

class PtrArray
void*
removeIndexFast
(
uint index
)

Parameters

index uint

the index of the pointer to remove

Return Value

Type: void*

the pointer which was removed