com php-src: UPGRADING.INTERNALS: document zend_qsort_r: UPGRADING.INTERNALS
| From: | Gustavo André dos Santos Lopes | Date: | Mon, 14 Jan 2013 16:27:20 +0000 |
| Subject: | com php-src: UPGRADING.INTERNALS: document zend_qsort_r: UPGRADING.INTERNALS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70987@lists.php.net to get a copy of this message | ||
Commit: 70b25e9c61c849e590cc97137e893678cb5f98c3
Author: Gustavo Lopes <gustavo@icemobile.com> Mon, 14 Jan 2013 17:27:20 +0100
Parents: 22390d33935d72d897a1c97158ce2848f8551cc1
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=70b25e9c61c849e590cc97137e893678cb5f98c3
Log:
UPGRADING.INTERNALS: document zend_qsort_r
Changed paths:
M UPGRADING.INTERNALS
Diff:
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 90c7a43..44cdfae 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -5,6 +5,7 @@ UPGRADE NOTES - PHP X.Y
1. Internal API changes
a. Streams pooling API
b. Lowercasing and locales
+ c. zend_qsort_r
2. Build system changes
a. Unix build system changes
@@ -53,6 +54,16 @@ such as strcasecmp, will be using locale rules.
Two new functions - zend_binary_strncasecmp_l and zend_binary_strcasecmp_l - added as
locale-based counterparts to zend_binary_strcasecmp and zend_binary_strncasecmp.
+ c. zend_qsort_r
+
+Added the function zend_qsort_r():
+
+typedef int (*compare_r_func_t)(const void *, const void * TSRMLS_DC, void *);
+void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_t compare, void *arg
TSRMLS_DC);
+
+The extra argument it has (relatively to zend_qsort()) is passed to the
+comparison function.
+
========================
2. Build system changes
========================