mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 04:56:14 +01:00
Document that g_list_sort is a stable sort.
This is a guarantee for the future so that applications can rely on it. https://bugzilla.gnome.org/show_bug.cgi?id=531973
This commit is contained in:
parent
b6732da5e7
commit
ff2f4a12ee
@ -1075,7 +1075,8 @@ g_list_sort_real (GList *list,
|
|||||||
* first element comes before the second, or a positive value if
|
* first element comes before the second, or a positive value if
|
||||||
* the first element comes after the second.
|
* the first element comes after the second.
|
||||||
*
|
*
|
||||||
* Sorts a #GList using the given comparison function.
|
* Sorts a #GList using the given comparison function. The algorithm
|
||||||
|
* used is a stable sort.
|
||||||
*
|
*
|
||||||
* Returns: the start of the sorted #GList
|
* Returns: the start of the sorted #GList
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user