ValueArray.sortWithData

Warning g_value_array_sort_with_data has been deprecated since version 2.32 and should not be used in newly-written code. Use GArray and g_array_sort_with_data(). 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. Rename to: g_value_array_sort

class ValueArray
sortWithData

Parameters

compareFunc GCompareDataFunc

function to compare elements. [scope call]

userData void*

extra data argument provided for compare_func. closure

Return Value

the GValueArray passed in as value_array. [transfer none]

Meta