bjori Wed Oct 18 16:04:25 2006 UTC Modified files: /php-src/ext/gd gd.c Log: Fix arginfo for imagepng() and imagejpeg() http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.359&r2=1.360&diff_format=u Index: php-src/ext/gd/gd.c diff -u php-src/ext/gd/gd.c:1.359 php-src/ext/gd/gd.c:1.360 --- php-src/ext/gd/gd.c:1.359 Sun Oct 8 15:27:28 2006 +++ php-src/ext/gd/gd.c Wed Oct 18 16:04:25 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.359 2006/10/08 15:27:28 bjori Exp $ */ +/* $Id: gd.c,v 1.360 2006/10/18 16:04:25 bjori Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -396,16 +396,15 @@ #ifdef HAVE_GD_PNG static -ZEND_BEGIN_ARG_INFO_EX(arginfo_imagepng, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_imagepng, 0, 0, 1) ZEND_ARG_INFO(0, im) ZEND_ARG_INFO(0, filename) - ZEND_ARG_INFO(0, quality) ZEND_END_ARG_INFO() #endif #ifdef HAVE_GD_JPG static -ZEND_BEGIN_ARG_INFO_EX(arginfo_imagejpeg, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_imagejpeg, 0, 0, 1) ZEND_ARG_INFO(0, im) ZEND_ARG_INFO(0, filename) ZEND_ARG_INFO(0, quality)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php