Re: Stability of internal ABI.

Bob Friesenhahn <[email protected]> Tue, 2 Feb 2010 13:38:14 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
Daniel,

Your approach to re-constituting the constant strings has also 
re-added the unwanted dependency to the modules.  That dependency does 
not need to exist.  I think that this addition to magick/deprecate.c 
should be sufficient to restore the symbol while keeping them from 
being used by the modules:

#undef LoadImageText
#undef SaveImageText
#undef LoadImagesText
#undef SaveImagesText

extern MagickExport const char
   *LoadImageText,
   *LoadImagesText,
   *SaveImageText,
   *SaveImagesText;

const char
   *LoadImageText = "[%s] Loading image: %lux%lu...  ",
   *LoadImagesText = "[%s] Loading images...  ",
   *SaveImageText = "[%s] Saving image: %lux%lu...  ",
   *SaveImagesText = "[%s] Saving images...  ";

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

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com