Inserts a new element into the list, using the given comparison function to determine its position.

class ListSG


data void*

the data for the new element

func GCompareFunc

the function to compare elements in the list. It should return a number > 0 if the first parameter comes after the second parameter in the sort order.

Return Value

Type: ListSG

the new start of the GSList