Function
GLibListsort_with_data
Declaration [src]
GList*
g_list_sort_with_data (
GList* list,
GCompareDataFunc compare_func,
gpointer user_data
)
Description [src]
Like g_list_sort(), but the comparison function accepts a user data argument.
This function is not directly available to language bindings.
Parameters
list-
Type: A list of
gpointerA
GList, this must point to the top of the list.The data is owned by the caller of the function. compare_func-
Type:
GCompareDataFuncComparison function.
user_data-
Type:
gpointerUser data to pass to comparison function.
The argument can be NULL.The data is owned by the caller of the function.