removeAll

fun removeAll(list: SList, data: <Error class: unknown class>? = null): SList

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.

Return

new head of @list

Parameters

list

a #GSList

data

data to remove