ListG.removeLink

Removes an element from a GList, without freeing the element. The removed element's prev and next links are set to NULL, so that it becomes a self-contained list with one element.

class ListG
removeLink

Parameters

an element in the GList

Return Value

Type: ListG

the new start of the GList, without the element

Meta