Hello Felipe,

  why did we not put that 'static' into the macro?

marcus
Friday, October 10, 2008, 9:35:34 PM, you wrote:

> felipe          Fri Oct 10 19:35:34 2008 UTC

>   Modified files:              (Branch: PHP_5_3)
>     /php-src/ext/pdo    pdo_stmt.c 
>   Log:
>   - MFH: Static'fication
>   
> http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_stmt.c?r1=1.118.2.38.2.24.2.24&r2=1.118.2.38.2.24.2.25&diff_format=u
> Index: php-src/ext/pdo/pdo_stmt.c
> diff -u php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.24.2.24
> php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.24.2.25
> --- php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.24.2.24     Fri Oct 10 16:47:15 
> 2008
> +++ php-src/ext/pdo/pdo_stmt.c  Fri Oct 10 19:35:34 2008
> @@ -18,7 +18,7 @@
>    +----------------------------------------------------------------------+
>  */
>  
> -/* $Id: pdo_stmt.c,v 1.118.2.38.2.24.2.24 2008/10/10 16:47:15 felipe Exp $ */
> +/* $Id: pdo_stmt.c,v 1.118.2.38.2.24.2.25 2008/10/10 19:35:34 felipe Exp $ */
>  
>  /* The PDO Statement Handle Class */
>  
> @@ -38,31 +38,44 @@
>  #include "php_memory_streams.h"
>  
>  /* {{{ arginfo */
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_execute, 0, 0, 0)
>         ZEND_ARG_INFO(0, bound_input_params) /* array */
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_fetch, 0, 0, 0)
>         ZEND_ARG_INFO(0, how)
>         ZEND_ARG_INFO(0, orientation)
>         ZEND_ARG_INFO(0, offset)
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_fetchobject, 0, 0, 0)
>         ZEND_ARG_INFO(0, class_name)
>         ZEND_ARG_INFO(0, ctor_args) /* array */
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_fetchcolumn, 0, 0, 0)
>         ZEND_ARG_INFO(0, column_number)
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_fetchall, 0, 0, 0)
>         ZEND_ARG_INFO(0, how)
>         ZEND_ARG_INFO(0, class_name)
>         ZEND_ARG_INFO(0, ctor_args) /* array */
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_bindvalue, 0, 0, 2)
>         ZEND_ARG_INFO(0, paramno)
>         ZEND_ARG_INFO(0, param)
>         ZEND_ARG_INFO(0, type)
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_bindparam, 0, 0, 2)
>         ZEND_ARG_INFO(0, paramno)
>         ZEND_ARG_INFO(1, param)
> @@ -70,6 +83,8 @@
>         ZEND_ARG_INFO(0, maxlen)
>         ZEND_ARG_INFO(0, driverdata)
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_bindcolumn, 0, 0, 2)
>         ZEND_ARG_INFO(0, column)
>         ZEND_ARG_INFO(1, param)
> @@ -77,16 +92,24 @@
>         ZEND_ARG_INFO(0, maxlen)
>         ZEND_ARG_INFO(0, driverdata)
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO(arginfo_pdostatement_setattribute, 0)
>         ZEND_ARG_INFO(0, attribute)
>         ZEND_ARG_INFO(0, value)
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO(arginfo_pdostatement_getattribute, 0)
>         ZEND_ARG_INFO(0, attribute)
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO(arginfo_pdostatement_getcolumnmeta, 0)
>         ZEND_ARG_INFO(0, column)
>  ZEND_END_ARG_INFO()
> +
> +static
>  ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_setfetchmode, 0, 0, 1)
>         ZEND_ARG_INFO(0, mode)
>         ZEND_ARG_INFO(0, params)






Best regards,
 Marcus


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

Reply via email to