ListG.insertBefore

Inserts a new element into the list before the given position.

class ListG
insertBefore

Parameters

sibling ListG

the list element before which the new element is inserted or NULL to insert at the end of the list

data void*

the data for the new element

Return Value

Type: ListG

the (possibly changed) start of the GList