PtrArray.sortWithData

Like g_ptr_array_sort(), but the comparison function has an extra user data argument. Note The comparison function for g_ptr_array_sort_with_data() doesn't take the pointers from the array as arguments, it takes pointers to the pointers in the array. This is guaranteed to be a stable sort since version 2.32.

class PtrArray
void
sortWithData

Parameters

compareFunc GCompareDataFunc

comparison function.

userData void*

data to pass to compare_func.

Meta