/* ImageMagick Application Programming Interface declarations. Api.h depends on a number of ANSI C headers as follows: #include #include #include #include */ #ifndef _MAGICK_API_H #define _MAGICK_API_H #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif #if !defined(_MAGICK_CONFIG_H) # define _MAGICK_CONFIG_H # if !defined(vms) && !defined(macintosh) # include "magick/magick_config.h" # else # include "magick_config.h" # endif # if defined(__cplusplus) || defined(c_plusplus) # undef inline # endif #endif #if defined(__cplusplus) || defined(c_plusplus) # define storage_class c_class #else # define storage_class class #endif #if defined(WIN32) && !defined(__CYGWIN__) # if defined(_MT) && defined(_DLL) && !defined(_MAGICKDLL_) && !defined(_LIB) # define _MAGICKDLL_ # endif # if defined(_MAGICKDLL_) # if defined(_VISUALC_) # pragma warning( disable: 4273 ) /* Disable the dll linkage warnings */ # endif # if !defined(_MAGICKLIB_) # define MagickExport __declspec(dllimport) # if defined(_VISUALC_) # pragma message( "Compiling as dll import" ) # endif # else # define MagickExport __declspec(dllexport) # if defined(_VISUALC_) # pragma message( "Compiling as dll export" ) # endif # endif # else # define MagickExport # if defined(_VISUALC_) # pragma message( "Compiling as simple library" ) # endif # endif # if defined(_DLL) && !defined(_LIB) # define ModuleExport __declspec(dllexport) # if defined(_VISUALC_) # pragma message( "Module compiled as DLL" ) # endif # else # define ModuleExport # if defined(_VISUALC_) # pragma message( "Module compiled as library" ) # endif # endif # define MagickGlobal __declspec(thread) # if defined(_VISUALC_) # pragma warning(disable : 4018) # pragma warning(disable : 4244) # pragma warning(disable : 4142) # pragma warning(disable : 4800) # pragma warning(disable : 4786) # endif #else # define MagickExport # define ModuleExport # define MagickGlobal #endif #define MaxTextExtent 2053 #define MagickSignature 0xabacadab #if !defined(vms) && !defined(macintosh) # include "magick/classify.h" # include "magick/semaphore.h" # include "magick/error.h" # include "magick/timer.h" # include "magick/image.h" # include "magick/list.h" # include "magick/render.h" # include "magick/draw.h" # include "magick/gem.h" # include "magick/quantize.h" # include "magick/compress.h" # include "magick/attribute.h" # include "magick/utility.h" # include "magick/blob.h" # include "magick/cache.h" # include "magick/cache_view.h" # include "magick/registry.h" # include "magick/magick.h" # include "magick/magic.h" # include "magick/delegate.h" # include "magick/module.h" # include "magick/monitor.h" # include "magick/version.h" #else # include "classify.h" # include "semaphore.h" # include "timer.h" # include "error.h" # include "image.h" # include "list.h" # include "render.h" # include "draw.h" # include "gem.h" # include "quantize.h" # include "compress.h" # include "attribute.h" # include "utility.h" # include "blob.h" # include "cache.h" # include "cache_view.h" # include "registry.h" # include "magick.h" # include "magic.h" # include "delegate.h" # include "module.h" # include "monitor.h" # include "version.h" #endif #if defined(__cplusplus) || defined(c_plusplus) } #endif #endif .