*DestroyCustomStreamInfo(CustomStreamInfo *);
extern MagickExport FILE
- *GetBlobFileHandle(const Image *);
+ *GetBlobFileHandle(const Image *) magick_attribute((__pure__));
extern MagickExport Image
*BlobToImage(const ImageInfo *,const void *,const size_t,ExceptionInfo *),
extern MagickExport MagickBooleanType
BlobToFile(char *,const void *,const size_t,ExceptionInfo *),
FileToImage(Image *,const char *,ExceptionInfo *),
- GetBlobError(const Image *),
+ GetBlobError(const Image *) magick_attribute((__pure__)),
ImageToFile(Image *,char *,ExceptionInfo *),
InjectImageBlob(const ImageInfo *,Image *,Image *,const char *,
ExceptionInfo *),
- IsBlobExempt(const Image *),
- IsBlobSeekable(const Image *),
- IsBlobTemporary(const Image *);
+ IsBlobExempt(const Image *) magick_attribute((__pure__)),
+ IsBlobSeekable(const Image *) magick_attribute((__pure__)),
+ IsBlobTemporary(const Image *) magick_attribute((__pure__));
extern MagickExport MagickSizeType
GetBlobSize(const Image *);
extern MagickExport StreamHandler
- GetBlobStreamHandler(const Image *);
+ GetBlobStreamHandler(const Image *) magick_attribute((__pure__));
extern MagickExport void
- *GetBlobStreamData(const Image *),
+ *GetBlobStreamData(const Image *) magick_attribute((__pure__)),
DestroyBlob(Image *),
DuplicateBlob(Image *,const Image *),
*FileToBlob(const char *,const size_t,size_t *,ExceptionInfo *),
*DestroyCacheView(CacheView *);
extern MagickExport ClassType
- GetCacheViewStorageClass(const CacheView *);
+ GetCacheViewStorageClass(const CacheView *) magick_attribute((__pure__));
extern MagickExport ColorspaceType
- GetCacheViewColorspace(const CacheView *);
+ GetCacheViewColorspace(const CacheView *) magick_attribute((__pure__));
extern MagickExport const Image
- *GetCacheViewImage(const CacheView *);
+ *GetCacheViewImage(const CacheView *) magick_attribute((__pure__));
extern MagickExport const Quantum
*GetCacheViewVirtualPixels(const CacheView *,const ssize_t,const ssize_t,
*GetCacheViewVirtualPixelQueue(const CacheView *) magick_hot_spot;
extern MagickExport const void
- *GetCacheViewVirtualMetacontent(const CacheView *);
+ *GetCacheViewVirtualMetacontent(const CacheView *)
+ magick_attribute((__pure__));
extern MagickExport MagickBooleanType
GetOneCacheViewAuthenticPixel(const CacheView *,const ssize_t,const ssize_t,
magick_hot_spot;
extern MagickExport MagickSizeType
- GetCacheViewExtent(const CacheView *);
+ GetCacheViewExtent(const CacheView *) magick_attribute((__pure__));
extern MagickExport Quantum
*GetCacheViewAuthenticPixelQueue(CacheView *) magick_hot_spot,
Forward declarations.
*/
static LogHandlerType
- ParseLogHandlers(const char *);
+ ParseLogHandlers(const char *) magick_attribute((__pure__));
static LogInfo
*GetLogInfo(const char *,ExceptionInfo *);
static MagickBooleanType
- IsLogCacheInstantiated(ExceptionInfo *),
+ IsLogCacheInstantiated(ExceptionInfo *) magick_attribute((__pure__)),
LoadLogCache(LinkedListInfo *,const char *,const char *,const size_t,
ExceptionInfo *);
\f
SetLogEventMask(const char *);
extern MagickExport MagickBooleanType
- IsEventLogging(void),
+ IsEventLogging(void) magick_attribute((__pure__)),
ListLogInfo(FILE *,ExceptionInfo *),
LogMagickEvent(const LogEventType,const char *,const char *,const size_t,
const char *,...) magick_attribute((__format__ (__printf__,5,6))),
*GetMagickMimeType(const MagickInfo *);
extern MagickExport DecodeImageHandler
- *GetImageDecoder(const MagickInfo *);
+ *GetImageDecoder(const MagickInfo *) magick_attribute((__pure__));
extern MagickExport EncodeImageHandler
- *GetImageEncoder(const MagickInfo *);
+ *GetImageEncoder(const MagickInfo *) magick_attribute((__pure__));
extern MagickExport int
GetMagickPrecision(void),
extern MagickExport MagickBooleanType
GetImageMagick(const unsigned char *,const size_t,char *),
- GetMagickAdjoin(const MagickInfo *),
- GetMagickBlobSupport(const MagickInfo *),
- GetMagickDecoderSeekableStream(const MagickInfo *),
- GetMagickDecoderThreadSupport(const MagickInfo *),
- GetMagickEncoderSeekableStream(const MagickInfo *),
- GetMagickEncoderThreadSupport(const MagickInfo *),
- GetMagickEndianSupport(const MagickInfo *),
- GetMagickRawSupport(const MagickInfo *),
- GetMagickStealth(const MagickInfo *),
- GetMagickUseExtension(const MagickInfo *),
- IsMagickCoreInstantiated(void),
+ GetMagickAdjoin(const MagickInfo *) magick_attribute((__pure__)),
+ GetMagickBlobSupport(const MagickInfo *) magick_attribute((__pure__)),
+ GetMagickDecoderSeekableStream(const MagickInfo *)
+ magick_attribute((__pure__)),
+ GetMagickDecoderThreadSupport(const MagickInfo *)
+ magick_attribute((__pure__)),
+ GetMagickEncoderSeekableStream(const MagickInfo *)
+ magick_attribute((__pure__)),
+ GetMagickEncoderThreadSupport(const MagickInfo *)
+ magick_attribute((__pure__)),
+ GetMagickEndianSupport(const MagickInfo *) magick_attribute((__pure__)),
+ GetMagickRawSupport(const MagickInfo *) magick_attribute((__pure__)),
+ GetMagickStealth(const MagickInfo *) magick_attribute((__pure__)),
+ GetMagickUseExtension(const MagickInfo *) magick_attribute((__pure__)),
+ IsMagickCoreInstantiated(void) magick_attribute((__pure__)),
RegisterMagickInfo(MagickInfo *),
UnregisterMagickInfo(const char *);
const PixelInterpolateMethod,const double,const double,PixelInfo *,
ExceptionInfo *),
IsFuzzyEquivalencePixel(const Image *,const Quantum *,const Image *,
- const Quantum *),
- IsFuzzyEquivalencePixelInfo(const PixelInfo *,const PixelInfo *),
+ const Quantum *) magick_attribute((__pure__)),
+ IsFuzzyEquivalencePixelInfo(const PixelInfo *,const PixelInfo *)
+ magick_attribute((__pure__)),
SetPixelMetaChannels(Image *,const size_t,ExceptionInfo *);
extern MagickExport MagickRealType
#endif
#if defined(MAGICKCORE_BZLIB_DELEGATE)
-static void *AcquireBZIPMemory(void *context,int items,int size)
- magick_attribute((__malloc__));
+static void *AcquireBZIPMemory(void *,int,int) magick_attribute((__malloc__));
static void *AcquireBZIPMemory(void *context,int items,int size)
{
#endif
#if defined(MAGICKCORE_LZMA_DELEGATE)
-static void *AcquireLZMAMemory(void *context,size_t items,size_t size)
+static void *AcquireLZMAMemory(void *,size_t,size_t)
magick_attribute((__malloc__));
static void *AcquireLZMAMemory(void *context,size_t items,size_t size)
#endif
#if defined(MAGICKCORE_ZLIB_DELEGATE)
-static voidpf AcquireZIPMemory(voidpf context,unsigned int items,
- unsigned int size) magick_attribute((__malloc__));
+static voidpf AcquireZIPMemory(voidpf,unsigned int,unsigned int)
+ magick_attribute((__malloc__));
static voidpf AcquireZIPMemory(voidpf context,unsigned int items,
unsigned int size)
Forward declarations.
*/
static MagickBooleanType
- WriteNULLImage(const ImageInfo *,Image *,ExceptionInfo *);
+ WriteNULLImage(const ImageInfo *,Image *,ExceptionInfo *)
+ magick_attribute((__pure__));
\f
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(void) ConcatenateString(&svg_info->comment,(const char *) value);
}
+static void SVGWarning(void *,const char *,...)
+ magick_attribute((__format__ (__printf__,2,3)));
+
static void SVGWarning(void *context,const char *format,...)
{
char
va_end(operands);
}
+static void SVGError(void *,const char *,...)
+ magick_attribute((__format__ (__printf__,2,3)));
+
static void SVGError(void *context,const char *format,...)
{
char
return(0);
}
+static void TIFFErrors(const char *,const char *,va_list)
+ magick_attribute((__format__ (__printf__,2,0)));
+
static void TIFFErrors(const char *module,const char *format,va_list error)
{
char
(void) size;
}
+static void TIFFWarnings(const char *,const char *,va_list)
+ magick_attribute((__format__ (__printf__,2,0)));
+
static void TIFFWarnings(const char *module,const char *format,va_list warning)
{
char
return(p);
}
+static char *ParseXPMColor(char *,MagickBooleanType)
+ magick_attribute((__pure__));
+
static char *ParseXPMColor(char *color,MagickBooleanType search_start)
{
#define NumberTargets 6