ValueArray.sortWithData

Sort @value_array using @compare_func to compare the elements according to the semantics of #GCompareDataFunc.

The current implementation uses the same sorting algorithm as standard C qsort() function.

More...
class ValueArray
sortWithData

Parameters

compareFunc GCompareDataFunc

function to compare elements

userData void*

extra data argument provided for @compare_func

Return: the #GValueArray passed in as @value_array

Detailed Description

Deprecated: Use #GArray and g_array_sort_with_data().

Meta