felipe          Fri Jun 27 19:17:29 2008 UTC

  Modified files:              
    /php-src/ext/dom    php_dom.c 
    /php-src/ext/json   json.c 
    /php-src/ext/pdo    pdo.c 
  Log:
  - MFB: Added arginfo
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/php_dom.c?r1=1.108&r2=1.109&diff_format=u
Index: php-src/ext/dom/php_dom.c
diff -u php-src/ext/dom/php_dom.c:1.108 php-src/ext/dom/php_dom.c:1.109
--- php-src/ext/dom/php_dom.c:1.108     Mon Dec 31 07:12:09 2007
+++ php-src/ext/dom/php_dom.c   Fri Jun 27 19:17:29 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_dom.c,v 1.108 2007/12/31 07:12:09 sebastian Exp $ */
+/* $Id: php_dom.c,v 1.109 2008/06/27 19:17:29 felipe Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -480,8 +480,15 @@
        return retval;
 }
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_import_simplexml, 0, 0, 1)
+       ZEND_ARG_INFO(0, node)
+ZEND_END_ARG_INFO()
+/* }}} */
+
 static const zend_function_entry dom_functions[] = {
-       PHP_FE(dom_import_simplexml, NULL)
+       PHP_FE(dom_import_simplexml, arginfo_dom_import_simplexml)
        {NULL, NULL, NULL}
 };
 
http://cvs.php.net/viewvc.cgi/php-src/ext/json/json.c?r1=1.35&r2=1.36&diff_format=u
Index: php-src/ext/json/json.c
diff -u php-src/ext/json/json.c:1.35 php-src/ext/json/json.c:1.36
--- php-src/ext/json/json.c:1.35        Wed Jan 30 08:10:28 2008
+++ php-src/ext/json/json.c     Fri Jun 27 19:17:29 2008
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: json.c,v 1.35 2008/01/30 08:10:28 dmitry Exp $ */
+/* $Id: json.c,v 1.36 2008/06/27 19:17:29 felipe Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -37,13 +37,26 @@
 #define PHP_JSON_HEX_APOS      (1<<2)
 #define PHP_JSON_HEX_QUOT      (1<<3)
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_json_encode, 0, 0, 1)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_json_decode, 0, 0, 1)
+       ZEND_ARG_INFO(0, json)
+       ZEND_ARG_INFO(0, assoc)
+ZEND_END_ARG_INFO()
+/* }}} */
+
 /* {{{ json_functions[]
  *
  * Every user visible function must have an entry in json_functions[].
  */
 const function_entry json_functions[] = {
-       PHP_FE(json_encode, NULL)
-       PHP_FE(json_decode, NULL)
+    PHP_FE(json_encode, arginfo_json_encode)
+    PHP_FE(json_decode, arginfo_json_decode)
        {NULL, NULL, NULL}  /* Must be the last line in json_functions[] */
 };
 /* }}} */
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo.c?r1=1.80&r2=1.81&diff_format=u
Index: php-src/ext/pdo/pdo.c
diff -u php-src/ext/pdo/pdo.c:1.80 php-src/ext/pdo/pdo.c:1.81
--- php-src/ext/pdo/pdo.c:1.80  Mon Dec 31 07:12:12 2007
+++ php-src/ext/pdo/pdo.c       Fri Jun 27 19:17:29 2008
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: pdo.c,v 1.80 2007/12/31 07:12:12 sebastian Exp $ */
+/* $Id: pdo.c,v 1.81 2008/06/27 19:17:29 felipe Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -113,9 +113,15 @@
 }
 /* }}} */
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO(arginfo_pdo_drivers, 0)
+ZEND_END_ARG_INFO()
+/* }}} */
+
 /* {{{ pdo_functions[] */
 const zend_function_entry pdo_functions[] = {
-       PHP_FE(pdo_drivers,             NULL)
+       PHP_FE(pdo_drivers,             arginfo_pdo_drivers)
        {NULL, NULL, NULL}
 };
 /* }}} */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to