PtrArray.remove

Removes the first occurrence of the given pointer from the pointer array. The following elements are moved down one place. If @array has a non-%NULL #GDestroyNotify function it is called for the removed element.

It returns %TRUE if the pointer was removed, or %FALSE if the pointer was not found.

class PtrArray
bool
remove
(
void* data
)

Parameters

data void*

the pointer to remove

Return Value

Type: bool

%TRUE if the pointer is removed, %FALSE if the pointer is not found in the array

Meta