cvs: php-src(PHP_5_2) /ext/gd/libgd gd.h
| From: | Ilia Alshanetsky | Date: | Tue, 11 Sep 2007 23:34:25 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/gd/libgd gd.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-46131@lists.php.net to get a copy of this message | ||
iliaa Tue Sep 11 23:34:25 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/gd/libgd gd.h
Log:
MFH: Fixed function definition
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd.h?r1=1.26.2.3.2.5&r2=1.26.2.3.2.6&diff_format=u
Index: php-src/ext/gd/libgd/gd.h
diff -u php-src/ext/gd/libgd/gd.h:1.26.2.3.2.5 php-src/ext/gd/libgd/gd.h:1.26.2.3.2.6
--- php-src/ext/gd/libgd/gd.h:1.26.2.3.2.5 Sun Jun 3 17:46:18 2007
+++ php-src/ext/gd/libgd/gd.h Tue Sep 11 23:34:25 2007
@@ -643,7 +643,7 @@
int gdImageContrast(gdImagePtr src, double contrast);
/* Simply adds or substracts respectively red, green or blue to a pixel */
-int gdImageColor(gdImagePtr src, int red, int green, int blue);
+int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
/* Image convolution by a 3x3 custom matrix */
int gdImageConvolution(gdImagePtr src, float ft[3][3], float filter_div, float offset);