From 6fe6b0300b382fd000f75edd3ad968d29b276a0d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 9 May 2013 16:02:52 -0400 Subject: [PATCH] Clarify GValueArray docs Don't refer to Quicksort in the documentation of g_value_array_sort, but just to qsort(). --- gobject/gvaluearray.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gobject/gvaluearray.c b/gobject/gvaluearray.c index db6c719..e3fe255 100644 --- a/gobject/gvaluearray.c +++ b/gobject/gvaluearray.c @@ -334,7 +334,8 @@ g_value_array_remove (GValueArray *value_array, * Sort @value_array using @compare_func to compare the elements according to * the semantics of #GCompareFunc. * - * The current implementation uses Quick-Sort as sorting algorithm. + * The current implementation uses the same sorting algorithm as standard + * C qsort() function. * * Returns: (transfer none): the #GValueArray passed in as @value_array * @@ -363,7 +364,8 @@ g_value_array_sort (GValueArray *value_array, * Sort @value_array using @compare_func to compare the elements according * to the semantics of #GCompareDataFunc. * - * The current implementation uses Quick-Sort as sorting algorithm. + * The current implementation uses the same sorting algorithm as standard + * C qsort() function. * * Rename to: g_value_array_sort * Returns: (transfer none): the #GValueArray passed in as @value_array -- 2.7.4