com php-src: Fix image method signatures: ext/gd/gd.c
| From: | Stanislav Malyshev | Date: | Mon, 10 Jun 2013 09:24:03 +0000 |
| Subject: | com php-src: Fix image method signatures: ext/gd/gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72352@lists.php.net to get a copy of this message | ||
Commit: 46d3738d0a0584e40a067bf88fe3b17df9e9e2b2
Author: Jakub Vrana <jakub@vrana.cz> Wed, 15 May 2013 12:59:43 -0700
Committer: Stanislav Malyshev <stas@php.net> Mon, 10 Jun 2013 02:24:03 -0700
Parents: ed0767f5d4c24f36b515a37937eb251da717bab9
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=46d3738d0a0584e40a067bf88fe3b17df9e9e2b2
Log:
Fix image method signatures
Changed paths:
M ext/gd/gd.c
Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 7343430..4ebac94 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -836,28 +836,28 @@ ZEND_BEGIN_ARG_INFO(arginfo_imagecrop, 0)
ZEND_ARG_INFO(0, rect)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO(arginfo_imagecropauto, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_imagecropauto, 0, 0, 1)
ZEND_ARG_INFO(0, im)
ZEND_ARG_INFO(0, mode)
ZEND_ARG_INFO(0, threshold)
ZEND_ARG_INFO(0, color)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO(arginfo_imagescale, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_imagescale, 0, 0, 2)
ZEND_ARG_INFO(0, im)
ZEND_ARG_INFO(0, new_width)
ZEND_ARG_INFO(0, new_height)
ZEND_ARG_INFO(0, mode)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO(arginfo_imageaffine, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_imageaffine, 0, 0, 2)
ZEND_ARG_INFO(0, im)
ZEND_ARG_INFO(0, affine)
+ ZEND_ARG_INFO(0, clip)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO(arginfo_imageaffinematrixget, 0)
- ZEND_ARG_INFO(0, im)
- ZEND_ARG_INFO(0, matrox)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_imageaffinematrixget, 0, 0, 1)
+ ZEND_ARG_INFO(0, type)
ZEND_ARG_INFO(0, options)
ZEND_END_ARG_INFO()
@@ -5105,7 +5105,7 @@ finish:
}
/* }}} */
-/* {{{ proto resource imageaffine(resource dst, resource src, array affine, array clip)
+/* {{{ proto resource imageaffine(resource src, array affine[, array clip])
Return an image containing the affine tramsformed src image, using an optional clipping area */
PHP_FUNCTION(imageaffine)
{