Re: cvs: php4 /ext/gd gd.c

From: Date: Thu, 14 Nov 2002 15:14:48 +0000
Subject: Re: cvs: php4 /ext/gd gd.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16152@lists.php.net to get a copy of this message
Plase make sure you are using a TSRM build while developing. [marcus@zaphod PHP_4_3_0]$ ./configure --help|grep tsrm
  --with-tsrm-pth[=pth-config]    Use GNU Pth.
--with-tsrm-st
  --with-tsrm-pthreads    Use POSIX threads (default)
marcus At 16:09 14.11.2002, Marcus Boerger wrote:
helly           Thu Nov 14 10:09:53 2002 EDT
Modified files:
    /php4/ext/gd        gd.c
Log: Fix TSRM build Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.222 php4/ext/gd/gd.c:1.223
--- php4/ext/gd/gd.c:1.222      Wed Nov 13 15:02:58 2002
+++ php4/ext/gd/gd.c    Thu Nov 14 10:09:53 2002
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
*/ -/* $Id: gd.c,v 1.222 2002/11/13 20:02:58 iliaa Exp $ */ +/* $Id: gd.c,v 1.223 2002/11/14 15:09:53 helly Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
    Cold Spring Harbor Labs. */
@@ -3806,7 +3806,7 @@
        gdImagePtr im_src;
        long brightness, tmp;
-       if (ZEND_NUM_ARGS()!=3 || zend_parse_parameters(3, "zll", &SIM, &tmp, &brightness) == FAILURE) {
+       if (ZEND_NUM_ARGS()!=3 || zend_parse_parameters(3 TSRMLS_CC, "zll", &SIM, &tmp, &brightness) == FAILURE) {
                ZEND_WRONG_PARAM_COUNT();
        }
@@ -3826,7 +3826,7 @@
        gdImagePtr im_src;
        long contrast, tmp;
-       if (ZEND_NUM_ARGS()!=3 || zend_parse_parameters(3, "rll", &SIM, &tmp, &contrast) == FAILURE) {
+       if (ZEND_NUM_ARGS()!=3 || zend_parse_parameters(3 TSRMLS_CC, "rll", &SIM, &tmp, &contrast) == FAILURE) {
                ZEND_WRONG_PARAM_COUNT();
        }
@@ -3846,7 +3846,7 @@
        gdImagePtr im_src;
        long r,g,b,tmp;
-       if (ZEND_NUM_ARGS()!=5 || zend_parse_parameters(5, "rllll", &SIM, &tmp, &r, &g, &b) == FAILURE) {
+       if (ZEND_NUM_ARGS()!=5 || zend_parse_parameters(5 TSRMLS_CC, "rllll", &SIM, &tmp, &r, &g, &b) == FAILURE) {
                ZEND_WRONG_PARAM_COUNT();
        }
@@ -3962,7 +3962,7 @@
        gdImagePtr im_src;
        double weight;
-       if (ZEND_NUM_ARGS()!=3 || zend_parse_parameters(3, "rld", &SIM, &tmp, &weight) == FAILURE) {
+       if (ZEND_NUM_ARGS()!=3 || zend_parse_parameters(3 TSRMLS_CC, "rld", &SIM, &tmp, &weight) == FAILURE) {
                ZEND_WRONG_PARAM_COUNT();
        }
@@ -3999,7 +3999,7 @@
                php_image_filter_smooth
        };
-       if (ZEND_NUM_ARGS()<2 || ZEND_NUM_ARGS()>5 || zend_parse_parameters(2, "rl", &tmp, &filtertype) == FAILURE) {
+       if (ZEND_NUM_ARGS()<2 || ZEND_NUM_ARGS()>5 || zend_parse_parameters(2 TSRMLS_CC, "rl", &tmp, &filtertype) == FAILURE) {
                ZEND_WRONG_PARAM_COUNT();
        }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.cvs (#16152) next »