GraphicsMagick version info

Bob Friesenhahn <[email protected]> Tue, 5 Jan 2010 16:43:51 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
For the next GraphicsMagick, I am updating magick/version.h to include 
more useful defines.

There were already defines like these:

#define MagickLibVersion  0x050200
#define MagickLibVersionText  "1.4"
#define MagickLibVersionNumber 5,2,0

But now I have added these since the existing defines seem clumsy for 
pre-processor use:

/*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
   provide both the newest and oldest interfaces supported by the
   library.  The 'newest' interface is incremented if new interfaces
   are added to the library.  The 'oldest' interface is reset to the
   value of 'newest' if an existing interface is changed incompatibly,
   or an interface is removed.  This scheme is similar to that used by
   ELF libraries.

   Note that the values used are related to those in
   MagickLibVersionNumber, but these are broken out and simplified so
   that they can be easily used in C pre-processor logic.
*/
#define MagickLibInterfaceNewest 5
#define MagickLibInterfaceOldest 3

Any suggestions are appreciated.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev