[glib] Clarify GValueArray docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Clarify GValueArray docs
- Date: Thu, 9 May 2013 20:04:11 +0000 (UTC)
commit 6fe6b0300b382fd000f75edd3ad968d29b276a0d
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 9 16:02:52 2013 -0400
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 files 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]