ListSG.removeAll

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

class ListSG
removeAll
(
void* data
)

Parameters

data void*

data to remove

Return Value

Type: ListSG

new head of list