helly Mon Feb 20 22:23:27 2006 UTC
Modified files:
/php-src/ext/spl php_spl.c
Log:
- Add some arginfo
http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/php_spl.c?r1=1.85&r2=1.86&diff_format=u
Index: php-src/ext/spl/php_spl.c
diff -u php-src/ext/spl/php_spl.c:1.85 php-src/ext/spl/php_spl.c:1.86
--- php-src/ext/spl/php_spl.c:1.85 Mon Feb 13 10:23:57 2006
+++ php-src/ext/spl/php_spl.c Mon Feb 20 22:23:27 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_spl.c,v 1.85 2006/02/13 10:23:57 dmitry Exp $ */
+/* $Id: php_spl.c,v 1.86 2006/02/20 22:23:27 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -610,6 +610,11 @@
}
/* }}} */
+static
+ZEND_BEGIN_ARG_INFO(arginfo_iterator, 0)
+ ZEND_ARG_INFO(0, iterator)
+ZEND_END_ARG_INFO();
+
/* {{{ spl_functions
*/
zend_function_entry spl_functions[] = {
@@ -623,8 +628,8 @@
PHP_FE(class_parents, NULL)
PHP_FE(class_implements, NULL)
#ifdef SPL_ITERATORS_H
- PHP_FE(iterator_to_array, NULL)
- PHP_FE(iterator_count, NULL)
+ PHP_FE(iterator_to_array, arginfo_iterator)
+ PHP_FE(iterator_count, arginfo_iterator)
#endif /* SPL_ITERATORS_H */
{NULL, NULL, NULL}
};
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php