ListG.sortWithData

Like g_list_sort(), but the comparison function accepts a user data argument.

class ListG
sortWithData
(
GCompareDataFunc compareFunc
,
void* userData
)

Parameters

compareFunc GCompareDataFunc

comparison function

userData void*

user data to pass to comparison function

Return Value

Type: ListG

the (possibly changed) start of the #GList

Meta