ListSG.removeLink

Removes an element from a GSList, without freeing the element. The removed element's next link is set to NULL, so that it becomes a self-contained list with one element.

class ListSG
removeLink

Parameters

an element in the GSList

Return Value

Type: ListSG

the new start of the GSList, without the element

Meta