TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Deprecated 2.82
This is just like the standard C qsort() function, but the comparison routine accepts a user data argument (like qsort_r()).
qsort()
qsort_r()
Unlike qsort(), this is guaranteed to be a stable sort (since GLib 2.32).
Deprecated
start of array to sort
elements in the array
size of each element
function to compare elements
since 2.82: total_elems is too small to represent larger arrays; use GLib.sort_array instead
total_elems
This is just like the standard C
qsort()function, but the comparison routine accepts a user data argument (likeqsort_r()).Unlike
qsort(), this is guaranteed to be a stable sort (since GLib 2.32).