felipe Mon Jun 23 17:25:01 2008 UTC
Modified files:
/php-src/ext/tokenizer tokenizer.c
Log:
- Added arginfo
http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/tokenizer.c?r1=1.48&r2=1.49&diff_format=u
Index: php-src/ext/tokenizer/tokenizer.c
diff -u php-src/ext/tokenizer/tokenizer.c:1.48
php-src/ext/tokenizer/tokenizer.c:1.49
--- php-src/ext/tokenizer/tokenizer.c:1.48 Wed Jun 11 07:45:26 2008
+++ php-src/ext/tokenizer/tokenizer.c Mon Jun 23 17:25:01 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tokenizer.c,v 1.48 2008/06/11 07:45:26 dmitry Exp $ */
+/* $Id: tokenizer.c,v 1.49 2008/06/23 17:25:01 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