PtrArray.stealIndexFast

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.stealIndex. The GDestroyNotify for array is *not* called on the removed element; ownership is transferred to the caller of this function.

class PtrArray
void*
stealIndexFast
(
uint index
)

Parameters

index uint

the index of the pointer to steal

Return Value

Type: void*

the pointer which was removed

Meta

Since

2.58