felipe Fri Jun 27 15:35:50 2008 UTC Modified files: /php-src/ext/wddx wddx.c Log: - MFB: Added arginfo http://cvs.php.net/viewvc.cgi/php-src/ext/wddx/wddx.c?r1=1.151&r2=1.152&diff_format=u Index: php-src/ext/wddx/wddx.c diff -u php-src/ext/wddx/wddx.c:1.151 php-src/ext/wddx/wddx.c:1.152 --- php-src/ext/wddx/wddx.c:1.151 Tue Apr 29 08:15:49 2008 +++ php-src/ext/wddx/wddx.c Fri Jun 27 15:35:49 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: wddx.c,v 1.151 2008/04/29 08:15:49 dmitry Exp $ */ +/* $Id: wddx.c,v 1.152 2008/06/27 15:35:49 felipe Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -102,16 +102,52 @@ 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_unserialize, 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_unserialize, NULL) - PHP_FALIAS(wddx_deserialize, wddx_unserialize, 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_unserialize, arginfo_wddx_unserialize) + PHP_FALIAS(wddx_deserialize, wddx_unserialize, arginfo_wddx_unserialize) {NULL, NULL, NULL} }; /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php