com php-src: Fixed signature: ext/gd/gd.c
| From: | Xinchen Hui | Date: | Sat, 09 Sep 2017 12:40:55 +0000 |
| Subject: | com php-src: Fixed signature: ext/gd/gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99333@lists.php.net to get a copy of this message | ||
Commit: 1f327284a4629eb82ae64cf8350e029a0353b9a6
Author: Xinchen Hui <laruence@gmail.com> Sat, 9 Sep 2017 20:40:55 +0800
Parents: 8826a563de8e0e37fcabf4217c4eed254ceb3092
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1f327284a4629eb82ae64cf8350e029a0353b9a6
Log:
Fixed signature
Changed paths:
M ext/gd/gd.c
Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 640886e..f35684b 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -3036,7 +3036,7 @@ PHP_FUNCTION(imagecolorexact)
}
/* }}} */
-/* {{{ proto void imagecolorset(resource im, int col, int red, int green, int blue)
+/* {{{ proto bool imagecolorset(resource im, int col, int red, int green, int blue)
Set the color for the specified palette index */
PHP_FUNCTION(imagecolorset)
{
@@ -4634,7 +4634,7 @@ PHP_FUNCTION(imageconvolution)
/* }}} */
/* End section: Filters */
-/* {{{ proto void imageflip(resource im, int mode)
+/* {{{ proto bool imageflip(resource im, int mode)
Flip an image (in place) horizontally, vertically or both directions. */
PHP_FUNCTION(imageflip)
{
@@ -4692,7 +4692,7 @@ PHP_FUNCTION(imageantialias)
}
/* }}} */
-/* {{{ proto void imagecrop(resource im, array rect)
+/* {{{ proto resource imagecrop(resource im, array rect)
Crop an image using the given coordinates and size, x, y, width and height. */
PHP_FUNCTION(imagecrop)
{
@@ -4749,7 +4749,7 @@ PHP_FUNCTION(imagecrop)
}
/* }}} */
-/* {{{ proto void imagecropauto(resource im [, int mode [, float threshold [, int color]]])
+/* {{{ proto resource imagecropauto(resource im [, int mode [, float threshold [, int color]]])
Crop an image automatically using one of the available modes. */
PHP_FUNCTION(imagecropauto)
{