summaryrefslogtreecommitdiff
path: root/ext/recode
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-07-03 01:55:48 +0000
committerFelipe Pena <felipe@php.net>2008-07-03 01:55:48 +0000
commitbedd3238786e225e2b46f9763f9704dc3c35490f (patch)
treef783502c0307c9c5cc8f37b6aea284467684d419 /ext/recode
parent8d5ba06e873fff8e905864f52ae75d9a1cfc4320 (diff)
downloadphp-git-bedd3238786e225e2b46f9763f9704dc3c35490f.tar.gz
- Added arginfo (functions)
Diffstat (limited to 'ext/recode')
-rw-r--r--ext/recode/recode.c21
1 files changed, 18 insertions, 3 deletions
diff --git a/ext/recode/recode.c b/ext/recode/recode.c
index 59f3d5c893..79fb5cb300 100644
--- a/ext/recode/recode.c
+++ b/ext/recode/recode.c
@@ -66,11 +66,26 @@ ZEND_END_MODULE_GLOBALS(recode)
ZEND_DECLARE_MODULE_GLOBALS(recode);
static PHP_GINIT_FUNCTION(recode);
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_recode_string, 0, 0, 2)
+ ZEND_ARG_INFO(0, request)
+ ZEND_ARG_INFO(0, str)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_recode_file, 0, 0, 3)
+ ZEND_ARG_INFO(0, request)
+ ZEND_ARG_INFO(0, input)
+ ZEND_ARG_INFO(0, output)
+ZEND_END_ARG_INFO()
+/* }}} */
+
/* {{{ module stuff */
static const zend_function_entry php_recode_functions[] = {
- PHP_FE(recode_string, NULL)
- PHP_FE(recode_file, NULL)
- PHP_FALIAS(recode, recode_string, NULL)
+ PHP_FE(recode_string, arginfo_recode_string)
+ PHP_FE(recode_file, arginfo_recode_file)
+ PHP_FALIAS(recode, recode_string, arginfo_recode_string)
{NULL, NULL, NULL}
};