diff options
author | Felipe Pena <felipe@php.net> | 2008-06-23 17:17:46 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-06-23 17:17:46 +0000 |
commit | ca0166605c1e4eba6d73d03419dca167200e8a42 (patch) | |
tree | 13b46859137449c8403eb4441c4947c7ce7277fd /ext/tokenizer/tokenizer.c | |
parent | a3da6b4c1b804c5b5859671ece085898e94e63de (diff) | |
download | php-git-ca0166605c1e4eba6d73d03419dca167200e8a42.tar.gz |
- Added arginfo
Diffstat (limited to 'ext/tokenizer/tokenizer.c')
-rw-r--r-- | ext/tokenizer/tokenizer.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c index 5d82ae1f86..8096a4f6e7 100644 --- a/ext/tokenizer/tokenizer.c +++ b/ext/tokenizer/tokenizer.c @@ -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[] */ }; /* }}} */ |