From 5f030f1134c2cfa389d3622236355639cbce5a99 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 10 Feb 2018 20:02:22 -0500 Subject: [PATCH] https://www.imagemagick.org/discourse-server/viewtopic.php?f=7&t=33479 --- PerlMagick/quantum/quantum.xs.in | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index 594baf928..1e70c9aaf 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -3511,7 +3511,7 @@ Compare(ref,...) # # void -ComplexImages(ref) +ComplexImages(ref,...) Image::Magick::@MAGICK_ABI_SUFFIX@ ref = NO_INIT ALIAS: ComplexImages = 1 @@ -3668,7 +3668,7 @@ ComplexImages(ref) # # void -CompareLayers(ref) +CompareLayers(ref,...) Image::Magick::@MAGICK_ABI_SUFFIX@ ref = NO_INIT ALIAS: CompareImagesLayers = 1 @@ -3968,7 +3968,7 @@ Display(ref,...) # # void -EvaluateImages(ref) +EvaluateImages(ref,...) Image::Magick::@MAGICK_ABI_SUFFIX@ ref = NO_INIT ALIAS: EvaluateImages = 1 @@ -3978,7 +3978,7 @@ EvaluateImages(ref) AV *av; - char + ,...char *attribute, *p; @@ -4303,7 +4303,7 @@ Features(ref,...) # # void -Flatten(ref) +Flatten(ref,...) Image::Magick::@MAGICK_ABI_SUFFIX@ ref = NO_INIT ALIAS: FlattenImage = 1 @@ -4513,7 +4513,8 @@ Fx(ref,...) channel=DefaultChannels; (void) CopyMagickString(expression,"u",MagickPathExtent); if (items == 2) - (void) CopyMagickString(expression,(char *) SvPV(ST(1),na),MagickPathExtent); + (void) CopyMagickString(expression,(char *) SvPV(ST(1),na), + MagickPathExtent); else for (i=2; i < items; i+=2) { @@ -12370,8 +12371,8 @@ Preview(ref,...) info=GetPackageInfo(aTHX_ (void *) av,info,exception); preview_type=GammaPreview; if (items > 1) - preview_type=(PreviewType) - ParseCommandOption(MagickPreviewOptions,MagickFalse,SvPV(ST(1),na)); + preview_type=(PreviewType) ParseCommandOption(MagickPreviewOptions, + MagickFalse,SvPV(ST(1),na)); for ( ; image; image=image->next) { preview_image=PreviewImage(image,preview_type,exception); -- 2.40.0