GraphicsMagick: ExpandAffine(): Mark as a pure function

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.7029.1691240638.1439.graphicsmagick-commit@lists.sourceforge.net>
changeset d2658922fcc7 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=d2658922fcc7
summary: ExpandAffine(): Mark as a pure function

diffstat:

 ChangeLog                              |  4 ++++
 VisualMagick/installer/inc/version.isx |  4 ++--
 magick/gem.c                           |  2 +-
 magick/gem.h                           |  4 ++--
 magick/version.h                       |  4 ++--
 www/Changelog.html                     |  6 ++++++
 6 files changed, 17 insertions(+), 7 deletions(-)

diffs (81 lines):

diff -r fceb8821a954 -r d2658922fcc7 ChangeLog
--- a/ChangeLog	Mon Jul 31 18:27:03 2023 -0500
+++ b/ChangeLog	Sat Aug 05 08:03:47 2023 -0500
@@ -1,3 +1,7 @@
+2023-08-05  Bob Friesenhahn  <[email protected]>
+
+	* magick/gem.c (ExpandAffine): Mark as a pure function.
+
 2023-07-31  Bob Friesenhahn  <[email protected]>
 
 	* coders/xcf.c (ReadXCFImage): Limit the maximum number of layers
diff -r fceb8821a954 -r d2658922fcc7 VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Mon Jul 31 18:27:03 2023 -0500
+++ b/VisualMagick/installer/inc/version.isx	Sat Aug 05 08:03:47 2023 -0500
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020230731"
-#define public MagickPackageReleaseDate "snapshot-20230731"
+#define public MagickPackageVersionAddendum ".020230805"
+#define public MagickPackageReleaseDate "snapshot-20230805"
diff -r fceb8821a954 -r d2658922fcc7 magick/gem.c
--- a/magick/gem.c	Mon Jul 31 18:27:03 2023 -0500
+++ b/magick/gem.c	Sat Aug 05 08:03:47 2023 -0500
@@ -1,5 +1,5 @@
 /*
-% Copyright (C) 2003-2022 GraphicsMagick Group
+% Copyright (C) 2003-2023 GraphicsMagick Group
 % Copyright (C) 2002 ImageMagick Studio
 %
 % This program is covered by multiple licenses, which are described in
diff -r fceb8821a954 -r d2658922fcc7 magick/gem.h
--- a/magick/gem.h	Mon Jul 31 18:27:03 2023 -0500
+++ b/magick/gem.h	Sat Aug 05 08:03:47 2023 -0500
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2003-2009 GraphicsMagick Group
+  Copyright (C) 2003-2023 GraphicsMagick Group
   Copyright (C) 2002 ImageMagick Studio
 
   This program is covered by multiple licenses, which are described in
@@ -21,7 +21,7 @@
   Graphic gems define declarations.
 */
 extern MagickExport double
-  ExpandAffine(const AffineMatrix *),
+  ExpandAffine(const AffineMatrix *) MAGICK_FUNC_PURE,
   GenerateDifferentialNoise(const Quantum pixel,const NoiseType noise_type,
     MagickRandomKernel *kernel);
 
diff -r fceb8821a954 -r d2658922fcc7 magick/version.h
--- a/magick/version.h	Mon Jul 31 18:27:03 2023 -0500
+++ b/magick/version.h	Sat Aug 05 08:03:47 2023 -0500
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x272402
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 27,24,2
-#define MagickChangeDate   "20230731"
-#define MagickReleaseDate  "snapshot-20230731"
+#define MagickChangeDate   "20230805"
+#define MagickReleaseDate  "snapshot-20230805"
 
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r fceb8821a954 -r d2658922fcc7 www/Changelog.html
--- a/www/Changelog.html	Mon Jul 31 18:27:03 2023 -0500
+++ b/www/Changelog.html	Sat Aug 05 08:03:47 2023 -0500
@@ -37,6 +37,12 @@
 </div>
 
 <div class="document">
+<p>2023-08-05  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
+<blockquote>
+<ul class="simple">
+<li><p>magick/gem.c (ExpandAffine): Mark as a pure function.</p></li>
+</ul>
+</blockquote>
 <p>2023-07-31  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 <ul class="simple">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.