diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-05-09 16:02:52 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-09 16:04:54 -0400 |
commit | 6fe6b0300b382fd000f75edd3ad968d29b276a0d (patch) | |
tree | 6a4894adac85f6c34e654cd5357ce16460217638 /gobject/gvaluearray.c | |
parent | 8d13a3e4e175697f00d5963542ea2ff0aa37662f (diff) | |
download | glib-6fe6b0300b382fd000f75edd3ad968d29b276a0d.tar.gz glib-6fe6b0300b382fd000f75edd3ad968d29b276a0d.tar.bz2 glib-6fe6b0300b382fd000f75edd3ad968d29b276a0d.zip |
Clarify GValueArray docs
Don't refer to Quicksort in the documentation of
g_value_array_sort, but just to qsort().
Diffstat (limited to 'gobject/gvaluearray.c')
-rw-r--r-- | gobject/gvaluearray.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gobject/gvaluearray.c b/gobject/gvaluearray.c index db6c71901..e3fe2554c 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 |