felipe Mon Jun 23 17:17:46 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/tokenizer tokenizer.c
Log:
- Added arginfo
http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/tokenizer.c?r1=1.31.2.5.2.7.2.5&r2=1.31.2.5.2.7.2.6&diff_format=u
Index: php-src/ext/tokenizer/tokenizer.c
diff -u php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.7.2.5
php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.7.2.6
--- php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.7.2.5 Wed Jun 11 07:45:44 2008
+++ php-src/ext/tokenizer/tokenizer.c Mon Jun 23 17:17:46 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tokenizer.c,v 1.31.2.5.2.7.2.5 2008/06/11 07:45:44 dmitry Exp $ */
+/* $Id: tokenizer.c,v 1.31.2.5.2.7.2.6 2008/06/23 17:17:46 felipe Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -35,13 +35,25 @@
#define zendtext LANG_SCNG(yy_text)
#define zendleng LANG_SCNG(yy_leng)
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_token_get_all, 0, 0, 1)
+ ZEND_ARG_INFO(0, source)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_token_name, 0, 0, 1)
+ ZEND_ARG_INFO(0, token)
+ZEND_END_ARG_INFO()
+
+
/* {{{ tokenizer_functions[]
*
* Every user visible function must have an entry in tokenizer_functions[].
*/
const zend_function_entry tokenizer_functions[] = {
- PHP_FE(token_get_all, NULL)
- PHP_FE(token_name, NULL)
+ PHP_FE(token_get_all, arginfo_token_get_all)
+ PHP_FE(token_name, arginfo_token_name)
{NULL, NULL, NULL} /* Must be the last line in
tokenizer_functions[] */
};
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php