Method
GObjectValueArraysort
Description
Sort value_array
using compare_func
to compare the elements according to
the semantics of GCompareFunc
.
The current implementation uses the same sorting algorithm as standard
C qsort()
function.
Deprecated since: | 2.32 |
Use | |
The implementation of this method is provided by g_value_array_sort_with_data() in language bindings |
Parameters
compare_func |
GCompareFunc |
Function to compare elements. |
Return value
Returns: | GValueArray |
The |
|
The data is owned by the instance. |