1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
| #ifndef _MAGICK_WAND_H
#define _MAGICK_WAND_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#if !defined(_MAGICKWAND_CONFIG_H)
# define _MAGICKWAND_CONFIG_H
# if !defined(vms) && !defined(macintosh)
# include "wand/wand-config.h"
# else
# include "wand-config.h"
# endif
# if defined(__cplusplus) || defined(c_plusplus)
# undef inline
# endif
#endif
#include <stdio.h>
#include <sys/types.h>
#if defined(__CYGWIN32__) && !defined(__CYGWIN__)
# define __CYGWIN__ __CYGWIN32__
#endif
#if defined(__CYGWIN__)
# if defined(__WINDOWS__)
# undef __WINDOWS__
# endif
#elif defined(_WIN32)
# define __WINDOWS__ _WIN32
#elif defined(WIN32)
# define __WINDOWS__ WIN32
#endif
#if defined(__CYGWIN__) && defined(__WINDOWS__)
# undef __WINDOWS__
#endif
#if defined(__WINDOWS__)
# if defined(_MT) && defined(_DLL) && !defined(_WANDDLL_) && !defined(_LIB)
# define _WANDDLL_
# endif
# if defined(_WANDDLL_)
# if defined(_VISUALC_)
# pragma warning( disable: 4273 ) /* Disable the dll linkage warnings */
# endif
# if !defined(_WANDLIB_)
# define WandExport __declspec(dllimport)
# if defined(_VISUALC_)
# pragma message( "MagickWand lib DLL import interface" )
# endif
# else
# define WandExport __declspec(dllexport)
# if defined(_VISUALC_)
# pragma message( "MagickWand lib DLL export interface" )
# endif
# endif
# else
# define WandExport
# if defined(_VISUALC_)
# pragma message( "MagickWand lib static interface" )
# endif
# endif
# if defined(_DLL) && !defined(_LIB)
# define ModuleExport __declspec(dllexport)
# if defined(_VISUALC_)
# pragma message( "MagickWand module DLL export interface" )
# endif
# else
# define ModuleExport
# if defined(_VISUALC_)
# pragma message( "MagickWand module static interface" )
# endif
# endif
# define WandGlobal __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 WandExport
# define ModuleExport
# define WandGlobal
#endif
#if !defined(MaxTextExtent)
# define MaxTextExtent 4096
#endif
#define WandSignature 0xabacadabUL
#if !defined(wand_attribute)
# if !defined(__GNUC__)
# define wand_attribute(x) /* nothing */
# else
# define wand_attribute __attribute__
# endif
#endif
typedef struct _MagickWand
MagickWand;
#include "magick/MagickCore.h"
#include "wand/animate.h"
#include "wand/compare.h"
#include "wand/composite.h"
#include "wand/conjure.h"
#include "wand/convert.h"
#include "wand/display.h"
#include "wand/drawing-wand.h"
#include "wand/identify.h"
#include "wand/import.h"
#include "wand/magick-property.h"
#include "wand/magick-image.h"
#include "wand/mogrify.h"
#include "wand/montage.h"
#include "wand/pixel-iterator.h"
#include "wand/pixel-wand.h"
#include "wand/stream.h"
extern WandExport long
MagickGetIteratorIndex(MagickWand *);
extern WandExport MagickBooleanType
IsMagickWand(const MagickWand *),
MagickClearException(MagickWand *),
MagickSetIteratorIndex(MagickWand *,const long);
extern WandExport MagickWand
*CloneMagickWand(const MagickWand *),
*DestroyMagickWand(MagickWand *),
*NewMagickWand(void),
*NewMagickWandFromImage(const Image *);
extern WandExport void
ClearMagickWand(MagickWand *),
MagickWandGenesis(void),
MagickWandTerminus(void),
*MagickRelinquishMemory(void *),
MagickResetIterator(MagickWand *),
MagickSetFirstIterator(MagickWand *),
MagickSetLastIterator(MagickWand *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif |
Partager