Function
GLibSListsort_with_data
Declaration [src]
GSList*
g_slist_sort_with_data (
GSList* list,
GCompareDataFunc compare_func,
gpointer user_data
)
Description [src]
Like g_slist_sort(), but the sort function accepts a user data argument.
This function is not directly available to language bindings.
Parameters
list-
Type: A list of
gpointerA
GSList.The data is owned by the caller of the function. compare_func-
Type:
GCompareDataFuncComparison function.
user_data-
Type:
gpointerData to pass to comparison function.
The argument can be NULL.The data is owned by the caller of the function.