ListSG.sortWithData

Like g_slist_sort(), but the sort function accepts a user data argument.

class ListSG
sortWithData

Parameters

compareFunc GCompareDataFunc

comparison function

userData void*

data to pass to comparison function

Return: new head of the list

Meta