ListG.removeAll

Removes all list nodes with data equal to @data. Returns the new head of the list. Contrast with g_list_remove() which removes only the first node matching the given data.

class ListG
removeAll
(
void* data
)

Parameters

data void*

data to remove

Return Value

Type: ListG

the (possibly changed) start of the #GList

Meta