felipe Fri Jun 27 14:33:13 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/wddx wddx.c
Log:
- Added arginfo
http://cvs.php.net/viewvc.cgi/php-src/ext/wddx/wddx.c?r1=1.119.2.10.2.17.2.6&r2=1.119.2.10.2.17.2.7&diff_format=u
Index: php-src/ext/wddx/wddx.c
diff -u php-src/ext/wddx/wddx.c:1.119.2.10.2.17.2.6
php-src/ext/wddx/wddx.c:1.119.2.10.2.17.2.7
--- php-src/ext/wddx/wddx.c:1.119.2.10.2.17.2.6 Fri Jun 20 19:57:25 2008
+++ php-src/ext/wddx/wddx.c Fri Jun 27 14:33:12 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: wddx.c,v 1.119.2.10.2.17.2.6 2008/06/20 19:57:25 felipe Exp $ */
+/* $Id: wddx.c,v 1.119.2.10.2.17.2.7 2008/06/27 14:33:12 felipe Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -102,15 +102,51 @@
static void php_wddx_process_data(void *user_data, const XML_Char *s, int len);
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_wddx_serialize_value, 0, 0, 1)
+ ZEND_ARG_INFO(0, var)
+ ZEND_ARG_INFO(0, comment)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_wddx_serialize_vars, 0, 0, 1)
+ ZEND_ARG_INFO(0, var_name)
+ ZEND_ARG_INFO(0, ...)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_wddx_serialize_start, 0, 0, 0)
+ ZEND_ARG_INFO(0, comment)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_wddx_packet_end, 0, 0, 1)
+ ZEND_ARG_INFO(0, packet_id)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_wddx_add_vars, 0, 0, 2)
+ ZEND_ARG_INFO(0, packet_id)
+ ZEND_ARG_INFO(0, var_name)
+ ZEND_ARG_INFO(0, ...)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_wddx_deserialize, 0, 0, 1)
+ ZEND_ARG_INFO(0, packet)
+ZEND_END_ARG_INFO()
+/* }}} */
+
/* {{{ wddx_functions[]
*/
const zend_function_entry wddx_functions[] = {
- PHP_FE(wddx_serialize_value, NULL)
- PHP_FE(wddx_serialize_vars, NULL)
- PHP_FE(wddx_packet_start, NULL)
- PHP_FE(wddx_packet_end, NULL)
- PHP_FE(wddx_add_vars, NULL)
- PHP_FE(wddx_deserialize, NULL)
+ PHP_FE(wddx_serialize_value, arginfo_wddx_serialize_value)
+ PHP_FE(wddx_serialize_vars, arginfo_wddx_serialize_vars)
+ PHP_FE(wddx_packet_start, arginfo_wddx_serialize_start)
+ PHP_FE(wddx_packet_end, arginfo_wddx_packet_end)
+ PHP_FE(wddx_add_vars, arginfo_wddx_add_vars)
+ PHP_FE(wddx_deserialize, arginfo_wddx_deserialize)
{NULL, NULL, NULL}
};
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php