andrei Tue Feb 7 17:54:52 2006 UTC
Modified files:
/php-src/ext/standard array.c php_array.h
Log:
MFB.
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/array.c?r1=1.338&r2=1.339&diff_format=u
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.338 php-src/ext/standard/array.c:1.339
--- php-src/ext/standard/array.c:1.338 Tue Jan 17 12:18:52 2006
+++ php-src/ext/standard/array.c Tue Feb 7 17:54:52 2006
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.338 2006/01/17 12:18:52 dmitry Exp $ */
+/* $Id: array.c,v 1.339 2006/02/07 17:54:52 andrei Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -92,20 +92,7 @@
#define DOUBLE_DRIFT_FIX 0.000000000000001
-ZEND_BEGIN_MODULE_GLOBALS(array)
- int *multisort_flags[2];
- int (*compare_func)(zval *result, zval *op1, zval *op2 TSRMLS_DC);
-ZEND_END_MODULE_GLOBALS(array)
-
-ZEND_DECLARE_MODULE_GLOBALS(array)
-
-#ifdef ZTS
-#define ARRAYG(v) TSRMG(array_globals_id, zend_array_globals *, v)
-#else
-#define ARRAYG(v) (array_globals.v)
-#endif
-
-/* {{{ php_extname_init_globals
+/* {{{ php_array_init_globals
*/
static void php_array_init_globals(zend_array_globals *array_globals)
{
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/php_array.h?r1=1.51&r2=1.52&diff_format=u
Index: php-src/ext/standard/php_array.h
diff -u php-src/ext/standard/php_array.h:1.51
php-src/ext/standard/php_array.h:1.52
--- php-src/ext/standard/php_array.h:1.51 Sun Jan 1 13:09:55 2006
+++ php-src/ext/standard/php_array.h Tue Feb 7 17:54:52 2006
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_array.h,v 1.51 2006/01/01 13:09:55 sniper Exp $ */
+/* $Id: php_array.h,v 1.52 2006/02/07 17:54:52 andrei Exp $ */
#ifndef PHP_ARRAY_H
#define PHP_ARRAY_H
@@ -103,4 +103,17 @@
PHPAPI int php_array_merge(HashTable *dest, HashTable *src, int recursive
TSRMLS_DC);
int multisort_compare(const void *a, const void *b TSRMLS_DC);
+ZEND_BEGIN_MODULE_GLOBALS(array)
+ int *multisort_flags[2];
+ int (*compare_func)(zval *result, zval *op1, zval *op2 TSRMLS_DC);
+ZEND_END_MODULE_GLOBALS(array)
+
+ZEND_DECLARE_MODULE_GLOBALS(array)
+
+#ifdef ZTS
+#define ARRAYG(v) TSRMG(array_globals_id, zend_array_globals *, v)
+#else
+#define ARRAYG(v) (array_globals.v)
+#endif
+
#endif /* PHP_ARRAY_H */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php