LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Mikko Koppanen Date: Fri Aug 22 07:32:26 2008 Subject: cvs: pecl /imagick imagick.c imagick_class.c imagickdraw_class.c imagickpixel_class.c imagickpixeliterator_class.c php_imagick_defs.h
mkoppanen Fri Aug 22 13:32:26 2008 UTC
Modified files:
/pecl/imagick imagick.c imagick_class.c imagickdraw_class.c
imagickpixel_class.c imagickpixeliterator_class.c
php_imagick_defs.h
Log:
Fixed syntax in a few places
Added imagick::getImageChannelRange
http://cvs.php.net/viewvc.cgi/pecl/imagick/imagick.c?r1=1.274&r2=1.275&diff_format=u
Index: pecl/imagick/imagick.c
diff -u pecl/imagick/imagick.c:1.274 pecl/imagick/imagick.c:1.275
--- pecl/imagick/imagick.c:1.274 Thu Jul 31 13:50:38 2008
+++ pecl/imagick/imagick.c Fri Aug 22 13:32:26 2008
@@ -293,6 +293,11 @@
ZEND_BEGIN_ARG_INFO_EX(imagick_setgravity_args, 0, 0, 1)
ZEND_ARG_INFO(0, GRAVITY)
ZEND_END_ARG_INFO()
+
+static
+ ZEND_BEGIN_ARG_INFO_EX(imagick_getimagechannelrange_args, 0, 0, 1)
+ ZEND_ARG_INFO(0, CHANNEL)
+ ZEND_END_ARG_INFO()
#endif
static
@@ -2022,6 +2027,7 @@
#if MagickLibVersion >= 0x640
PHP_ME(imagick, setgravity, imagick_setgravity_args, ZEND_ACC_PUBLIC)
PHP_ME(imagick, getgravity, imagick_zero_args, ZEND_ACC_PUBLIC)
+ PHP_ME(imagick, getimagechannelrange, imagick_getimagechannelrange_args, ZEND_ACC_PUBLIC)
#endif
PHP_ME(imagick, __construct, imagick_construct_args, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(imagick, __tostring, NULL, ZEND_ACC_PUBLIC)
http://cvs.php.net/viewvc.cgi/pecl/imagick/imagick_class.c?r1=1.7&r2=1.8&diff_format=u
Index: pecl/imagick/imagick_class.c
diff -u pecl/imagick/imagick_class.c:1.7 pecl/imagick/imagick_class.c:1.8
--- pecl/imagick/imagick_class.c:1.7 Thu Jul 31 13:50:39 2008
+++ pecl/imagick/imagick_class.c Fri Aug 22 13:32:26 2008
@@ -179,7 +179,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) {
return;
}
@@ -229,7 +229,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &black_point, &white_point, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &black_point, &white_point, &channel) == FAILURE) {
return;
}
@@ -274,7 +274,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &matte ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &matte) == FAILURE) {
return;
}
@@ -302,7 +302,7 @@
long columns, rows;
zend_bool fit = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|b", &columns, &rows, &fit ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|b", &columns, &rows, &fit) == FAILURE) {
return;
}
@@ -330,7 +330,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &radius, &sigma, &angle ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &radius, &sigma, &angle) == FAILURE) {
return;
}
@@ -358,7 +358,7 @@
double azimuth, elevation;
zend_bool gray;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bdd", &gray, &azimuth, &elevation ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bdd", &gray, &azimuth, &elevation) == FAILURE) {
return;
}
@@ -406,7 +406,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &columns, &rows, &offset ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &columns, &rows, &offset) == FAILURE) {
return;
}
@@ -431,7 +431,7 @@
double radius, sigma;
long channel = AllChannels;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) {
return;
}
@@ -494,7 +494,7 @@
zend_bool restore = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|ddd", &x_rounding, &y_rounding, &stroke_width, &displace, &correction ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|ddd", &x_rounding, &y_rounding, &stroke_width, &displace, &correction) == FAILURE) {
return;
}
@@ -647,7 +647,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) {
return;
}
@@ -675,7 +675,7 @@
php_imagick_object *intern, *intern_return;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &crop, &crop_len, &geometry, &geometry_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &crop, &crop_len, &geometry, &geometry_len) == FAILURE) {
return;
}
@@ -708,7 +708,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) {
return;
}
@@ -840,7 +840,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &interpolate ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &interpolate) == FAILURE) {
return;
}
@@ -867,7 +867,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &blackPoint, &whitePoint ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &blackPoint, &whitePoint) == FAILURE) {
return;
}
@@ -916,7 +916,7 @@
long width, height, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y ) == FAILURE)
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE)
{
return;
}
@@ -960,7 +960,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &orientation ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &orientation) == FAILURE) {
return;
}
@@ -993,7 +993,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdzll|l", &fill_param, &fuzz, &border_param, &x, &y, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdzll|l", &fill_param, &fuzz, &border_param, &x, &y, &channel) == FAILURE) {
return;
}
@@ -1030,7 +1030,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|d", &objvar, php_imagick_sc_entry, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|d", &objvar, php_imagick_sc_entry, &channel) == FAILURE) {
return;
}
@@ -1063,7 +1063,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &pattern, &pattern_len, &values ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &pattern, &pattern_len, &values) == FAILURE) {
return;
}
@@ -1106,7 +1106,7 @@
size_t length;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &pattern, &pattern_len, &values ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &pattern, &pattern_len, &values) == FAILURE) {
return;
}
@@ -1150,7 +1150,7 @@
zval *arg_array;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lab", &distort_method, &arg_array, &bestfit ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lab", &distort_method, &arg_array, &bestfit) == FAILURE) {
return;
}
@@ -1186,7 +1186,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &font, &font_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &font, &font_len) == FAILURE) {
return;
}
@@ -1253,7 +1253,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &point_size ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &point_size) == FAILURE) {
return;
}
@@ -1283,7 +1283,7 @@
MagickWand *merged;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &layer_method ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &layer_method) == FAILURE) {
return;
}
@@ -1318,7 +1318,7 @@
long alpha_channel;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &alpha_channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &alpha_channel) == FAILURE) {
return;
}
@@ -1346,7 +1346,7 @@
double delta_x, rigidity;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lldd", &cols, &rows, &delta_x, &rigidity ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lldd", &cols, &rows, &delta_x, &rigidity) == FAILURE) {
return;
}
@@ -1365,7 +1365,7 @@
#endif
#if MagickLibVersion >= 0x640
-/* {{ proto Imagick Imagick::setGravity(int GRAVITY)
+/* {{ proto bool Imagick::setGravity(int GRAVITY)
Sets the gravity value
*/
PHP_METHOD(imagick, setgravity)
@@ -1387,7 +1387,7 @@
}
/* }}} */
-/* {{ proto Imagick Imagick::getGravity()
+/* {{ proto int Imagick::getGravity()
Gets the gravity value
*/
PHP_METHOD(imagick, getgravity)
@@ -1398,6 +1398,34 @@
RETVAL_LONG(MagickGetGravity(intern->magick_wand));
}
/* }}} */
+
+/* {{ proto Imagick Imagick::getImageChannelRange(int CHANNEL)
+ Gets the image channel's range
+ */
+PHP_METHOD(imagick, getimagechannelrange)
+{
+ php_imagick_object *intern;
+ long channel;
+ double maxima, minima;
+
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel) == FAILURE) {
+ return;
+ }
+
+ intern = (php_imagick_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
+
+ if (MagickGetImageChannelRange(intern->magick_wand, channel, &minima, &maxima) == MagickFalse) {
+ IMAGICK_THROW_IMAGICK_EXCEPTION(intern->magick_wand, "Unable to get channel range", 1);
+ }
+
+ array_init(return_value);
+
+ add_assoc_double(return_value, "minima", minima);
+ add_assoc_double(return_value, "maxima", maxima);
+
+ return;
+}
+/* }}} */
#endif
/* {{{ proto Imagick Imagick::__construct([mixed files] )
@@ -1413,7 +1441,7 @@
int status = 0;
zval **ppzval, tmpcopy;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z!", &files ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z!", &files) == FAILURE) {
return;
}
@@ -1489,7 +1517,7 @@
intern = (php_imagick_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
- if(MagickGetNumberImages(intern->magick_wand ) == 0) {
+ if(MagickGetNumberImages(intern->magick_wand) == 0) {
ZVAL_STRING(return_value, "", 1);
return;
}
@@ -1522,7 +1550,7 @@
char *pattern = "*";
int pattern_len = 1;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) {
return;
}
@@ -1549,7 +1577,7 @@
char *pattern = "*";
int pattern_len = 1;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) {
return;
}
@@ -1580,7 +1608,7 @@
int text_len;
double *metrics;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|z!", &objvar, php_imagickdraw_sc_entry, &text, &text_len, &multiline ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|z!", &objvar, php_imagickdraw_sc_entry, &text, &text_len, &multiline) == FAILURE) {
return;
}
@@ -1608,7 +1636,7 @@
internd = (php_imagickdraw_object *)zend_object_store_get_object(objvar TSRMLS_CC);
/* If wand is empty, create a 1x1 pixel image to use as a temporary canvas */
- if (MagickGetNumberImages(intern->magick_wand ) == 0) {
+ if (MagickGetNumberImages(intern->magick_wand) == 0) {
tmp_pixelwand = (PixelWand *)NewPixelWand();
MagickNewImage(intern->magick_wand, 1, 1, tmp_pixelwand);
dealloc = 1;
@@ -1693,7 +1721,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
return;
}
@@ -1719,7 +1747,7 @@
zval **ppzval, tmpcopy;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &files ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &files) == FAILURE) {
return;
}
@@ -1766,7 +1794,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
return;
}
@@ -1798,7 +1826,7 @@
php_stream_from_zval(stream, &zstream);
- if (php_stream_can_cast(stream, PHP_STREAM_AS_STDIO | PHP_STREAM_CAST_INTERNAL ) == FAILURE) {
+ if (php_stream_can_cast(stream, PHP_STREAM_AS_STDIO | PHP_STREAM_CAST_INTERNAL) == FAILURE) {
RETURN_FALSE;
}
@@ -1830,7 +1858,7 @@
int server_name_len;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len) == FAILURE) {
return;
}
@@ -1859,7 +1887,7 @@
int server_name_len;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len) == FAILURE) {
return;
}
@@ -1925,7 +1953,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) {
return;
}
@@ -1953,7 +1981,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &litude, &wave_length ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &litude, &wave_length) == FAILURE) {
return;
}
@@ -2025,7 +2053,7 @@
zend_bool fit = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|b", &x, &y, &fit ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|b", &x, &y, &fit) == FAILURE) {
return;
}
@@ -2055,7 +2083,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) {
return;
}
@@ -2083,7 +2111,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) {
return;
}
@@ -2111,7 +2139,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) {
return;
}
@@ -2161,7 +2189,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &fuzz ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &fuzz) == FAILURE) {
return;
}
@@ -2189,7 +2217,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) {
return;
}
@@ -2241,7 +2269,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &clip_path, &clip_path_len, &inside ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &clip_path, &clip_path_len, &inside) == FAILURE) {
return;
}
@@ -2300,7 +2328,7 @@
IMAGICK_METHOD_DEPRECATED("Imagick", "colorFloodFillImage");
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdzll", &fillParam, &fuzz, &borderParam, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdzll", &fillParam, &fuzz, &borderParam, &x, &y) == FAILURE) {
return;
}
@@ -2331,7 +2359,7 @@
long channel_type;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) {
return;
}
@@ -2362,7 +2390,7 @@
php_imagick_object *intern, *replace;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagick_sc_entry ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagick_sc_entry) == FAILURE) {
return;
}
@@ -2418,7 +2446,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &add_obj, php_imagick_sc_entry ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &add_obj, php_imagick_sc_entry) == FAILURE) {
return;
}
@@ -2453,7 +2481,7 @@
int format_len = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llz|s", &columns, &rows, ¶m, &format, &format_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llz|s", &columns, &rows, ¶m, &format, &format_len) == FAILURE) {
return;
}
@@ -2515,7 +2543,7 @@
#endif
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lls", &columns, &rows, &pseudo_string, &pseudo_string_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lls", &columns, &rows, &pseudo_string, &pseudo_string_len) == FAILURE) {
return;
}
@@ -2529,14 +2557,14 @@
}
if (!PG(allow_url_fopen)) {
- if ((strncasecmp(pseudo_string, "http:", 5 ) == 0 ) || (strncasecmp(pseudo_string, "ftp:", 4 ) == 0)) {
+ if ((strncasecmp(pseudo_string, "http:", 5) == 0 ) || (strncasecmp(pseudo_string, "ftp:", 4) == 0)) {
IMAGICK_THROW_EXCEPTION_WITH_MESSAGE(IMAGICK_CLASS, "Trying to open from an url and allow_url_fopen is off", 1 );
}
}
for (i = 0; i < formats; i++) {
/* No open_basedir check needed */
- if (strncasecmp(pseudo_string, no_basedir_check[i], strlen(no_basedir_check[i] ) ) == 0) {
+ if (strncasecmp(pseudo_string, no_basedir_check[i], strlen(no_basedir_check[i] )) == 0) {
match = 0;
break;
}
@@ -2548,7 +2576,7 @@
if (match == 1) {
filename = get_pseudo_filename(pseudo_string TSRMLS_CC);
- if (filename == NULL || strlen(filename ) == 0) {
+ if (filename == NULL || strlen(filename) == 0) {
IMAGICK_THROW_EXCEPTION_WITH_MESSAGE(IMAGICK_CLASS, "Unable to read the filename", 1);
}
@@ -2616,7 +2644,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) {
return;
}
@@ -2644,7 +2672,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|l", &black_point, &gamma, &white_point, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|l", &black_point, &gamma, &white_point, &channel) == FAILURE) {
return;
}
@@ -2693,7 +2721,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ob", &map_obj, php_imagick_sc_entry, &dither ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ob", &map_obj, php_imagick_sc_entry, &dither) == FAILURE) {
return;
}
@@ -2726,7 +2754,7 @@
IMAGICK_METHOD_DEPRECATED("Imagick", "matteFloodfillImage");
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddzll", &alpha, &fuzz, ¶m, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddzll", &alpha, &fuzz, ¶m, &x, &y) == FAILURE) {
return;
}
@@ -2754,7 +2782,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) {
return;
}
@@ -2782,7 +2810,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|l", &gray, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|l", &gray, &channel) == FAILURE) {
return;
}
@@ -2812,7 +2840,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzd|l", &target_param, &fill_param, &fuzz, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzd|l", &target_param, &fill_param, &fuzz, &channel) == FAILURE) {
return;
}
@@ -2875,7 +2903,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdd", ¶m, &alpha, &fuzz ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdd", ¶m, &alpha, &fuzz) == FAILURE) {
return;
}
@@ -2903,7 +2931,7 @@
MagickWand *tmp_wand;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &preview ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &preview) == FAILURE) {
return;
}
@@ -2934,7 +2962,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &profile, &profile_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &profile, &profile_len) == FAILURE) {
return;
}
@@ -2963,7 +2991,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllbb", &number_colors, &colorspace, &tree_depth, &dither, &measure_error ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllbb", &number_colors, &colorspace, &tree_depth, &dither, &measure_error) == FAILURE) {
return;
}
@@ -2992,7 +3020,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllbb", &number_colors, &colorspace, &tree_depth, &dither, &measure_error ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllbb", &number_colors, &colorspace, &tree_depth, &dither, &measure_error) == FAILURE) {
return;
}
@@ -3019,7 +3047,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) {
return;
}
@@ -3052,7 +3080,7 @@
#endif
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
return;
}
@@ -3077,7 +3105,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel) == FAILURE) {
return;
}
@@ -3105,7 +3133,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &threshold ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &threshold) == FAILURE) {
return;
}
@@ -3134,7 +3162,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &bias ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &bias) == FAILURE) {
return;
}
@@ -3161,7 +3189,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) {
return;
}
@@ -3217,7 +3245,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &channel_type, &depth ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &channel_type, &depth) == FAILURE) {
return;
}
@@ -3246,7 +3274,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &index, ¶m ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &index, ¶m) == FAILURE) {
return;
}
@@ -3276,7 +3304,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &colorspace ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &colorspace) == FAILURE) {
return;
}
@@ -3303,7 +3331,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &dispose ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &dispose) == FAILURE) {
return;
}
@@ -3330,7 +3358,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &rows, &columns ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &rows, &columns) == FAILURE) {
return;
}
@@ -3357,7 +3385,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) {
return;
}
@@ -3384,7 +3412,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &interlace ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &interlace) == FAILURE) {
return;
}
@@ -3412,7 +3440,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &profile, &profile_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &profile, &profile_len) == FAILURE) {
return;
}
@@ -3439,7 +3467,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) {
return;
}
@@ -3466,7 +3494,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &rendering_intent ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &rendering_intent) == FAILURE) {
return;
}
@@ -3494,7 +3522,7 @@
IMAGICK_METHOD_DEPRECATED("Imagick", "setImageVirtualPixelMethod");
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &virtual_pixel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &virtual_pixel) == FAILURE) {
return;
}
@@ -3516,7 +3544,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) {
return;
}
@@ -3545,7 +3573,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bdd|l", &sharpen, &alpha, &beta, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bdd|l", &sharpen, &alpha, &beta, &channel) == FAILURE) {
return;
}
@@ -3572,7 +3600,7 @@
php_imagick_object *intern, *intern_second, *intern_return;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry) == FAILURE) {
return;
}
@@ -3606,7 +3634,7 @@
php_imagick_object *intern, *intern_second, *intern_return;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry) == FAILURE) {
return;
}
@@ -3641,7 +3669,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &tint_param, &opacity_param ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &tint_param, &opacity_param) == FAILURE) {
return;
}
@@ -3672,7 +3700,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd|l", &radius, &sigma, &amount, &threshold, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd|l", &radius, &sigma, &amount, &threshold, &channel) == FAILURE) {
return;
}
@@ -3702,7 +3730,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|l", &kernel_array, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|l", &kernel_array, &channel) == FAILURE) {
return;
}
@@ -3737,7 +3765,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &displace ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &displace) == FAILURE) {
return;
}
@@ -3790,7 +3818,7 @@
long width, height, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) {
return;
}
@@ -3844,7 +3872,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) {
return;
}
@@ -3873,7 +3901,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &sigma ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &sigma) == FAILURE) {
return;
}
@@ -3947,7 +3975,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld|l", &evaluate_operator, &constant, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld|l", &evaluate_operator, &constant, &channel) == FAILURE) {
return;
}
@@ -4000,7 +4028,7 @@
IMAGICK_METHOD_DEPRECATED("Imagick", "getImageAttribute");
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) {
return;
}
@@ -4117,7 +4145,7 @@
long channel_type, channel_depth;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) {
return;
}
@@ -4140,7 +4168,7 @@
double distortion;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &channel_type, &metric_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &channel_type, &metric_type) == FAILURE) {
return;
}
@@ -4171,7 +4199,7 @@
unsigned long minima, maxima;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) {
return;
}
@@ -4202,7 +4230,7 @@
double mean, standard_deviation;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) {
return;
}
@@ -4274,7 +4302,7 @@
PixelWand *tmp_wand;
long index;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) {
return;
}
@@ -4375,7 +4403,7 @@
double distortion;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &metric_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &metric_type) == FAILURE) {
return;
}
@@ -4635,7 +4663,7 @@
PixelWand *tmp_wand;
long x, y;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y) == FAILURE) {
return;
}
@@ -4675,7 +4703,7 @@
size_t length;
#endif
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
return;
}
@@ -4924,7 +4952,7 @@
zend_bool fit = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|b", &x, &y, &fit ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|b", &x, &y, &fit) == FAILURE) {
return;
}
@@ -4952,7 +4980,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &crop_width, &crop_height ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &crop_width, &crop_height) == FAILURE) {
return;
}
@@ -5137,7 +5165,7 @@
#endif
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) {
return;
}
@@ -5319,7 +5347,7 @@
long newlines, i, elements;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &append_raw_string ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &append_raw_string) == FAILURE) {
return;
}
@@ -5364,7 +5392,7 @@
for (i = 0 ; i < elements ; i++) {
- if (zend_hash_get_current_data(hash_table, (void**)&ppzval ) == FAILURE) {
+ if (zend_hash_get_current_data(hash_table, (void**)&ppzval) == FAILURE) {
continue;
@@ -5436,7 +5464,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE) {
return;
}
@@ -5466,7 +5494,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
return;
}
@@ -5496,7 +5524,7 @@
IMAGICK_METHOD_DEPRECATED("Imagick", "setImageAttribute");
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &attribute, &attribute_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &attribute, &attribute_len) == FAILURE) {
return;
}
@@ -5552,7 +5580,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compose ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compose) == FAILURE) {
return;
}
@@ -5579,7 +5607,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compression ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compression) == FAILURE) {
return;
}
@@ -5607,7 +5635,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &delay ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &delay) == FAILURE) {
return;
}
@@ -5636,7 +5664,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &color_param, &opacity_param ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &color_param, &opacity_param) == FAILURE) {
return;
}
@@ -5671,7 +5699,7 @@
double distortion;
zval *new_wand;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &channel_type, &metric_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &channel_type, &metric_type) == FAILURE) {
return;
}
@@ -5709,7 +5737,7 @@
php_imagick_object *intern, *intern_return;
long compare_method;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compare_method ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compare_method) == FAILURE) {
return;
}
@@ -5810,7 +5838,7 @@
MagickBooleanType status;
long width, height, inner_bevel, outer_bevel;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zllll", ¶m, &width, &height, &inner_bevel, &outer_bevel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zllll", ¶m, &width, &height, &inner_bevel, &outer_bevel) == FAILURE) {
return;
}
@@ -5841,7 +5869,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &expression, &expression_len, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &expression, &expression_len, &channel) == FAILURE) {
return;
}
@@ -5872,7 +5900,7 @@
double gamma;
long channel = AllChannels;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &gamma, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &gamma, &channel) == FAILURE) {
return;
}
@@ -5900,7 +5928,7 @@
double radius, sigma;
long channel = AllChannels;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) {
return;
}
@@ -5930,7 +5958,7 @@
double distortion;
zval *new_wand;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &metric_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &metric_type) == FAILURE) {
return;
}
@@ -5970,7 +5998,7 @@
zend_bool contrast;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &contrast ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &contrast) == FAILURE) {
return;
}
@@ -5997,7 +6025,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &depth ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &depth) == FAILURE) {
return;
}
@@ -6024,7 +6052,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &gamma ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &gamma) == FAILURE) {
return;
}
@@ -6051,7 +6079,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &iterations ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &iterations) == FAILURE) {
return;
}
@@ -6108,7 +6136,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) {
return;
}
@@ -6135,7 +6163,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x_res, &y_res ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x_res, &y_res) == FAILURE) {
return;
}
@@ -6162,7 +6190,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &scene ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &scene) == FAILURE) {
return;
}
@@ -6189,7 +6217,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &ticks_per_second ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &ticks_per_second) == FAILURE) {
return;
}
@@ -6216,7 +6244,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &image_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &image_type) == FAILURE) {
return;
}
@@ -6243,7 +6271,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &units ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &units) == FAILURE) {
return;
}
@@ -6272,7 +6300,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &format, &format_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &format, &format_len) == FAILURE) {
return;
}
@@ -6300,7 +6328,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &sigma ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &sigma) == FAILURE) {
return;
}
@@ -6327,7 +6355,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) {
return;
}
@@ -6355,7 +6383,7 @@
long channel;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) {
return;
}
@@ -6386,7 +6414,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) {
return;
}
@@ -6414,7 +6442,7 @@
int filename_len;
php_imagick_object *intern;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &filename, &filename_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &filename, &filename_len) == FAILURE) {
return;
}
@@ -6425,7 +6453,7 @@
filename = MagickGetImageFilename(intern->magick_wand);
}
- if (filename == NULL || strlen(filename ) == 0) {
+ if (filename == NULL || strlen(filename) == 0) {
IMAGICK_THROW_EXCEPTION_WITH_MESSAGE(IMAGICK_CLASS, "No image filename specified", 1);
}
@@ -6448,7 +6476,7 @@
php_imagick_object *intern;
int error = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &filename, &filename_len, &adjoin ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &filename, &filename_len, &adjoin) == FAILURE) {
return;
}
@@ -6587,7 +6615,7 @@
long composite_id = 0;
long channel = AllChannels;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Olll|l", &objvar, php_imagick_sc_entry, &composite_id, &x, &y, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Olll|l", &objvar, php_imagick_sc_entry, &composite_id, &x, &y, &channel) == FAILURE) {
return;
}
@@ -6616,7 +6644,7 @@
MagickBooleanType status;
double brightness, saturation, hue;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &brightness, &saturation, &hue ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &brightness, &saturation, &hue) == FAILURE) {
return;
}
@@ -6643,7 +6671,7 @@
long noise;
long channel = AllChannels;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &noise, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &noise, &channel) == FAILURE) {
return;
}
@@ -6683,7 +6711,7 @@
&tile_geometry, &tile_geometry_len,
&thumbnail_geometry, &thumbnail_geometry_len,
&montage_mode,
- &frame, &frame_len ) == FAILURE)
+ &frame, &frame_len) == FAILURE)
{
return;
}
@@ -6717,7 +6745,7 @@
php_imagickdraw_object *internd;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagickdraw_sc_entry ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagickdraw_sc_entry) == FAILURE) {
return;
}
@@ -6771,7 +6799,7 @@
MagickBooleanType status;
long width, height;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zll", ¶m, &width, &height ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zll", ¶m, &width, &height) == FAILURE) {
return;
}
@@ -6858,7 +6886,7 @@
long channel = AllChannels;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) {
return;
}
@@ -6943,7 +6971,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) {
return;
}
@@ -7083,7 +7111,7 @@
MagickBooleanType status;
long threshold;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &threshold ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &threshold) == FAILURE) {
return;
}
@@ -7112,7 +7140,7 @@
double opacity, sigma;
long x, y;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddll", &opacity, &sigma, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddll", &opacity, &sigma, &x, &y) == FAILURE) {
return;
}
@@ -7139,7 +7167,7 @@
MagickBooleanType status;
double radius, sigma, angle;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &radius, &sigma, &angle ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &radius, &sigma, &angle) == FAILURE) {
return;
}
@@ -7195,7 +7223,7 @@
php_imagick_object *intern, *intern_return;
long frames;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &frames ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &frames) == FAILURE) {
return;
}
@@ -7250,7 +7278,7 @@
long levels;
zend_bool dither;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lb", &levels, &dither ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lb", &levels, &dither) == FAILURE) {
return;
}
@@ -7307,7 +7335,7 @@
long width, height, x, y;
zend_bool raise;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llllb", &width, &height, &x, &y, &raise ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llllb", &width, &height, &x, &y, &raise) == FAILURE) {
return;
}
@@ -7365,7 +7393,7 @@
php_imagick_object *intern;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddld", &xRes, &yRes, &filter, &blur ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddld", &xRes, &yRes, &filter, &blur) == FAILURE) {
return;
}
@@ -7393,7 +7421,7 @@
MagickBooleanType status;
zend_bool fit = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llld|b", &columns, &rows, &filter, &blur, &fit ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llld|b", &columns, &rows, &filter, &blur, &fit) == FAILURE) {
return;
}
@@ -7422,7 +7450,7 @@
php_imagick_object *intern;
MagickBooleanType status;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y) == FAILURE) {
return;
}
@@ -7547,7 +7575,7 @@
zval *x, *y, *columns, *rows;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzzz", &x, &y, &columns, &rows ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzzz", &x, &y, &columns, &rows) == FAILURE) {
return;
}
@@ -7701,7 +7729,7 @@
char *key, *value;
int key_len;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) {
return;
}
@@ -7827,7 +7855,7 @@
php_imagick_object *intern;
long resource_type;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &resource_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &resource_type) == FAILURE) {
return;
}
@@ -7844,7 +7872,7 @@
php_imagick_object *intern;
long resource_type;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &resource_type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &resource_type) == FAILURE) {
return;
}
@@ -7960,7 +7988,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compression ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compression) == FAILURE) {
return;
}
@@ -7985,7 +8013,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &quality ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &quality) == FAILURE) {
return;
}
@@ -8011,7 +8039,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
return;
}
@@ -8038,7 +8066,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &format, &format_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &format, &format_len) == FAILURE) {
return;
}
@@ -8064,7 +8092,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &schema ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &schema) == FAILURE) {
return;
}
@@ -8090,7 +8118,7 @@
int key_len, value_len;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &value, &value_len ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &value, &value_len) == FAILURE) {
return;
}
@@ -8115,7 +8143,7 @@
long width, height, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) {
return;
}
@@ -8140,7 +8168,7 @@
long type, limit;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &type, &limit ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &type, &limit) == FAILURE) {
return;
}
@@ -8165,7 +8193,7 @@
double x_resolution, y_resolution;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x_resolution, &y_resolution ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x_resolution, &y_resolution) == FAILURE) {
return;
}
@@ -8192,7 +8220,7 @@
long elements = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &factors ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &factors) == FAILURE) {
return;
}
@@ -8250,7 +8278,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &type ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &type) == FAILURE) {
return;
}
http://cvs.php.net/viewvc.cgi/pecl/imagick/imagickdraw_class.c?r1=1.2&r2=1.3&diff_format=u
Index: pecl/imagick/imagickdraw_class.c
diff -u pecl/imagick/imagickdraw_class.c:1.2 pecl/imagick/imagickdraw_class.c:1.3
--- pecl/imagick/imagickdraw_class.c:1.2 Thu Jul 31 13:50:39 2008
+++ pecl/imagick/imagickdraw_class.c Fri Aug 22 13:32:26 2008
@@ -55,7 +55,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &ox, &oy, &px, &py ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &ox, &oy, &px, &py) == FAILURE ) {
return;
}
@@ -75,7 +75,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x2, &y2 ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x2, &y2) == FAILURE ) {
return;
}
@@ -95,7 +95,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &rx, &ry ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &rx, &ry) == FAILURE ) {
return;
}
@@ -115,7 +115,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &ox, &oy, &rx, &ry, &start, &end ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &ox, &oy, &rx, &ry, &start, &end) == FAILURE ) {
return;
}
@@ -135,7 +135,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE ) {
return;
}
@@ -156,7 +156,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE ) {
return;
}
@@ -177,7 +177,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE ) {
return;
}
@@ -345,7 +345,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &font, &font_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &font, &font_len) == FAILURE ) {
return;
}
@@ -402,7 +402,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &font_family, &font_family_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &font_family, &font_family_len) == FAILURE ) {
return;
}
@@ -436,7 +436,7 @@
double font_size;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &font_size ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &font_size) == FAILURE ) {
return;
}
@@ -456,7 +456,7 @@
long style_id = AnyStyle;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &style_id ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &style_id) == FAILURE ) {
return;
}
@@ -476,7 +476,7 @@
long weight;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &weight ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &weight) == FAILURE ) {
return;
}
@@ -502,7 +502,7 @@
long stretch;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &stretch ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &stretch) == FAILURE ) {
return;
}
@@ -522,7 +522,7 @@
zend_bool antialias;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "b", &antialias ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "b", &antialias) == FAILURE ) {
return;
}
@@ -543,7 +543,7 @@
long align;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &align ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &align) == FAILURE ) {
return;
}
@@ -564,7 +564,7 @@
long decoration;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &decoration ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &decoration) == FAILURE ) {
return;
}
@@ -606,7 +606,7 @@
long x1, y1, x2, y2;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "llll", &x1, &y1, &x2, &y2 ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "llll", &x1, &y1, &x2, &y2) == FAILURE ) {
return;
}
@@ -800,7 +800,7 @@
#endif
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dds", &x, &y, &text, &text_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dds", &x, &y, &text, &text_len) == FAILURE ) {
return;
}
@@ -828,7 +828,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &sx, &sy, &ex, &ey, &sd, &ed ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &sx, &sy, &ex, &ey, &sd, &ed) == FAILURE ) {
return;
}
@@ -849,7 +849,7 @@
long paint_method;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &x, &y, &paint_method ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &x, &y, &paint_method) == FAILURE ) {
return;
}
@@ -871,7 +871,7 @@
int num_elements = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE ) {
return;
}
@@ -902,7 +902,7 @@
int num_elements = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE ) {
return;
}
@@ -950,7 +950,7 @@
double sx, sy, ex, ey;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &sx, &sy, &ex, &ey ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &sx, &sy, &ex, &ey) == FAILURE ) {
return;
}
@@ -995,7 +995,7 @@
AffineMatrix *pmatrix;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", &affine_matrix ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", &affine_matrix) == FAILURE ) {
return;
}
@@ -1007,7 +1007,7 @@
for ( i = 0; i < 6 ; i++ ) {
- if ( zend_hash_find( affine, matrix_elements[i], 3, (void**)&ppzval ) == FAILURE ) {
+ if ( zend_hash_find( affine, matrix_elements[i], 3, (void**)&ppzval) == FAILURE ) {
IMAGICK_THROW_EXCEPTION_WITH_MESSAGE( IMAGICKDRAW_CLASS, "AffineMatrix should contain keys: sx, rx, ry, sy, tx and ty", 2 );
@@ -1017,23 +1017,23 @@
} else {
- if( Z_TYPE_PP( ppzval ) == IS_LONG ) {
+ if( Z_TYPE_PP( ppzval) == IS_LONG ) {
value = (double) Z_LVAL_PP( ppzval );
} else {
value = Z_DVAL_PP( ppzval );
}
- if ( strcmp( matrix_elements[i], "sx" ) == 0 ) {
+ if ( strcmp( matrix_elements[i], "sx") == 0 ) {
pmatrix->sx = value;
- } else if ( strcmp( matrix_elements[i], "rx" ) == 0 ) {
+ } else if ( strcmp( matrix_elements[i], "rx") == 0 ) {
pmatrix->rx = value;
- } else if ( strcmp( matrix_elements[i], "ry" ) == 0 ) {
+ } else if ( strcmp( matrix_elements[i], "ry") == 0 ) {
pmatrix->ry = value;
- } else if ( strcmp( matrix_elements[i], "sy" ) == 0 ) {
+ } else if ( strcmp( matrix_elements[i], "sy") == 0 ) {
pmatrix->sy = value;
- } else if ( strcmp( matrix_elements[i], "tx" ) == 0 ) {
+ } else if ( strcmp( matrix_elements[i], "tx") == 0 ) {
pmatrix->tx = value;
- } else if ( strcmp( matrix_elements[i], "ty" ) == 0 ) {
+ } else if ( strcmp( matrix_elements[i], "ty") == 0 ) {
pmatrix->ty = value;
} else {
IMAGICK_THROW_EXCEPTION_WITH_MESSAGE( IMAGICKDRAW_CLASS, "Unkown key in AffineMatrix", 2 );
@@ -1063,7 +1063,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "lddddO", &compose, &x, &y, &width, &height, &magick_obj, php_imagick_sc_entry ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "lddddO", &compose, &x, &y, &width, &height, &magick_obj, php_imagick_sc_entry) == FAILURE ) {
return;
}
@@ -1091,7 +1091,7 @@
long paint_method;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &x, &y, &paint_method ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &x, &y, &paint_method) == FAILURE ) {
return;
}
@@ -1112,7 +1112,7 @@
int comment_len;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE ) {
return;
}
@@ -1316,7 +1316,7 @@
php_imagickdraw_object *internd;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", ¶m_array ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", ¶m_array) == FAILURE ) {
return;
}
@@ -1521,7 +1521,7 @@
double x1, y1, x2, y2, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &x, &y) == FAILURE ) {
return;
}
@@ -1541,7 +1541,7 @@
double x1, y1, x2, y2, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &x, &y) == FAILURE ) {
return;
}
@@ -1561,7 +1561,7 @@
double x1, y1, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE ) {
return;
}
@@ -1581,7 +1581,7 @@
double x1, y1, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE ) {
return;
}
@@ -1601,7 +1601,7 @@
double x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE ) {
return;
}
@@ -1621,7 +1621,7 @@
double x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE ) {
return;
}
@@ -1641,7 +1641,7 @@
double x1, y1, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE ) {
return;
}
@@ -1661,7 +1661,7 @@
double x1, y1, x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE ) {
return;
}
@@ -1682,7 +1682,7 @@
zend_bool large_arc, sweep;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddbbdd", &rx, &ry, &x_axis_rotation, &large_arc, &sweep, &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddbbdd", &rx, &ry, &x_axis_rotation, &large_arc, &sweep, &x, &y) == FAILURE ) {
return;
}
@@ -1703,7 +1703,7 @@
zend_bool large_arc, sweep;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddbbdd", &rx, &ry, &x_axis_rotation, &large_arc, &sweep, &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dddbbdd", &rx, &ry, &x_axis_rotation, &large_arc, &sweep, &x, &y) == FAILURE ) {
return;
}
@@ -1736,7 +1736,7 @@
double x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE ) {
return;
}
@@ -1756,7 +1756,7 @@
double x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE ) {
return;
}
@@ -1776,7 +1776,7 @@
double y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE ) {
return;
}
@@ -1796,7 +1796,7 @@
double x;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &x ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE ) {
return;
}
@@ -1816,7 +1816,7 @@
double y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE ) {
return;
}
@@ -1836,7 +1836,7 @@
double y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE ) {
return;
}
@@ -1856,7 +1856,7 @@
double x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE ) {
return;
}
@@ -1876,7 +1876,7 @@
double x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE ) {
return;
}
@@ -1911,7 +1911,7 @@
int num_elements = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE ) {
return;
}
@@ -1986,7 +1986,7 @@
int clip_mask_len;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &clip_mask, &clip_mask_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &clip_mask, &clip_mask_len) == FAILURE ) {
return;
}
@@ -2021,7 +2021,7 @@
double x, y, width, height;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "sdddd", &pattern_id, &pattern_id_len, &x, &y, &width, &height ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "sdddd", &pattern_id, &pattern_id_len, &x, &y, &width, &height) == FAILURE ) {
return;
}
@@ -2065,7 +2065,7 @@
double degrees;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE ) {
return;
}
@@ -2085,7 +2085,7 @@
double x, y;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE ) {
return;
}
@@ -2107,7 +2107,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &clip_mask, &clip_mask_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &clip_mask, &clip_mask_len) == FAILURE ) {
return;
}
@@ -2131,7 +2131,7 @@
long fill_rule;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &fill_rule ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &fill_rule) == FAILURE ) {
return;
}
@@ -2151,7 +2151,7 @@
long units;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &units ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &units) == FAILURE ) {
return;
}
@@ -2171,7 +2171,7 @@
double fillOpacity;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &fillOpacity ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &fillOpacity) == FAILURE ) {
return;
}
@@ -2193,7 +2193,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len) == FAILURE ) {
return;
}
@@ -2217,7 +2217,7 @@
long fill_rule;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &fill_rule ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &fill_rule) == FAILURE ) {
return;
}
@@ -2237,7 +2237,7 @@
long gravity;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &gravity ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &gravity) == FAILURE ) {
return;
}
@@ -2259,7 +2259,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len) == FAILURE ) {
return;
}
@@ -2283,7 +2283,7 @@
double offset;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &offset ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &offset) == FAILURE ) {
return;
}
@@ -2303,7 +2303,7 @@
long line_cap;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &line_cap ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &line_cap) == FAILURE ) {
return;
}
@@ -2323,7 +2323,7 @@
long line_join;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &line_join ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &line_join) == FAILURE ) {
return;
}
@@ -2343,7 +2343,7 @@
long miter_limit;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &miter_limit ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &miter_limit) == FAILURE ) {
return;
}
@@ -2363,7 +2363,7 @@
double opacity;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE ) {
return;
}
@@ -2385,7 +2385,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &vector, &vector_len ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "s", &vector, &vector_len) == FAILURE ) {
return;
}
http://cvs.php.net/viewvc.cgi/pecl/imagick/imagickpixel_class.c?r1=1.2&r2=1.3&diff_format=u
Index: pecl/imagick/imagickpixel_class.c
diff -u pecl/imagick/imagickpixel_class.c:1.2 pecl/imagick/imagickpixel_class.c:1.3
--- pecl/imagick/imagickpixel_class.c:1.2 Thu Jul 31 13:50:39 2008
+++ pecl/imagick/imagickpixel_class.c Fri Aug 22 13:32:26 2008
@@ -52,7 +52,7 @@
double hue, saturation, luminosity;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &hue, &saturation, &luminosity ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &hue, &saturation, &luminosity) == FAILURE) {
return;
}
@@ -75,7 +75,7 @@
char *color_name = (char *)0;
int color_name_len = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &color_name, &color_name_len ) == FAILURE )
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &color_name, &color_name_len) == FAILURE )
{
return;
}
@@ -107,7 +107,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &color_name, &color_name_len ) == FAILURE )
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &color_name, &color_name_len) == FAILURE )
{
return;
}
@@ -182,7 +182,7 @@
MagickBooleanType status;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zd", ¶m, &fuzz ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zd", ¶m, &fuzz) == FAILURE) {
return;
}
@@ -209,7 +209,7 @@
double color_value = 0;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color) == FAILURE) {
return;
}
@@ -277,7 +277,7 @@
double color_value;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld", &color, &color_value ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld", &color, &color_value) == FAILURE) {
return;
}
@@ -345,7 +345,7 @@
double red, green, blue, alpha;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &normalized ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &normalized) == FAILURE) {
return;
}
@@ -444,7 +444,7 @@
long color_count;
/* Parse parameters given to function */
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color_count ) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color_count) == FAILURE) {
return;
}
http://cvs.php.net/viewvc.cgi/pecl/imagick/imagickpixeliterator_class.c?r1=1.1&r2=1.2&diff_format=u
Index: pecl/imagick/imagickpixeliterator_class.c
diff -u pecl/imagick/imagickpixeliterator_class.c:1.1 pecl/imagick/imagickpixeliterator_class.c:1.2
--- pecl/imagick/imagickpixeliterator_class.c:1.1 Fri Apr 25 08:45:53 2008
+++ pecl/imagick/imagickpixeliterator_class.c Fri Aug 22 13:32:26 2008
@@ -32,7 +32,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry) == FAILURE ) {
return;
}
@@ -164,7 +164,7 @@
php_imagick_object *intern;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry) == FAILURE ) {
return;
}
@@ -201,7 +201,7 @@
zval *x, *y, *columns, *rows;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "Ozzzz", &magick_object, php_imagick_sc_entry, &x, &y, &columns, &rows ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "Ozzzz", &magick_object, php_imagick_sc_entry, &x, &y, &columns, &rows) == FAILURE ) {
return;
}
@@ -269,7 +269,7 @@
long row;
/* Parse parameters given to function */
- if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &row ) == FAILURE ) {
+ if (zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", &row) == FAILURE ) {
return;
}
http://cvs.php.net/viewvc.cgi/pecl/imagick/php_imagick_defs.h?r1=1.22&r2=1.23&diff_format=u
Index: pecl/imagick/php_imagick_defs.h
diff -u pecl/imagick/php_imagick_defs.h:1.22 pecl/imagick/php_imagick_defs.h:1.23
--- pecl/imagick/php_imagick_defs.h:1.22 Thu Jul 31 13:50:39 2008
+++ pecl/imagick/php_imagick_defs.h Fri Aug 22 13:32:26 2008
@@ -221,6 +221,7 @@
#if MagickLibVersion >= 0x640
PHP_METHOD(imagick, setgravity);
PHP_METHOD(imagick, getgravity);
+PHP_METHOD(imagick, getimagechannelrange);
#endif
PHP_METHOD(imagick, __construct);
PHP_METHOD(imagick, __tostring);
| Navigate in group php.pecl.cvs at sever news.php.net | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |