ListSG.remove

Removes an element from a GSList. If two elements contain the same data, only the first is removed. If none of the elements contain the data, the GSList is unchanged.

class ListSG
remove
(
void* data
)

Parameters

data void*

the data of the element to remove

Return Value

Type: ListSG

the new start of the GSList

Meta