19#ifndef MAGICKWAND_MAGICKWAND_H
20#define MAGICKWAND_MAGICKWAND_H
22#if defined(__cplusplus) || defined(c_plusplus)
26#if !defined(MAGICKWAND_CONFIG_H)
27# define MAGICKWAND_CONFIG_H
29# include "MagickCore/magick-config.h"
31# include "magick-config.h"
33#if defined(_magickcore_const) && !defined(const)
34# define const _magickcore_const
36#if defined(_magickcore_inline) && !defined(inline)
37# define inline _magickcore_inline
39#if !defined(magick_restrict)
40# if !defined(_magickcore_restrict)
41# define magick_restrict restrict
43# define magick_restrict _magickcore_restrict
46# if defined(__cplusplus) || defined(c_plusplus)
51#define MAGICKWAND_CHECK_VERSION(major,minor,micro) \
52 ((MAGICKWAND_MAJOR_VERSION > (major)) || \
53 ((MAGICKWAND_MAJOR_VERSION == (major)) && \
54 (MAGICKWAND_MINOR_VERSION > (minor))) || \
55 ((MAGICKWAND_MAJOR_VERSION == (major)) && \
56 (MAGICKWAND_MINOR_VERSION == (minor)) && \
57 (MAGICKWAND_MICRO_VERSION >= (micro))))
67#if defined(WIN32) || defined(WIN64) || defined(_WIN32_WINNT)
68# define MAGICKWAND_WINDOWS_SUPPORT
70# define MAGICKWAND_POSIX_SUPPORT
76#include "MagickWand/method-attribute.h"
77#include "MagickCore/MagickCore.h"
78#include "MagickWand/animate.h"
79#include "MagickWand/compare.h"
80#include "MagickWand/composite.h"
81#include "MagickWand/conjure.h"
82#include "MagickWand/deprecate.h"
83#include "MagickWand/display.h"
84#include "MagickWand/drawing-wand.h"
85#include "MagickWand/identify.h"
86#include "MagickWand/import.h"
87#include "MagickWand/wandcli.h"
88#include "MagickWand/operation.h"
89#include "MagickWand/magick-cli.h"
90#include "MagickWand/magick-property.h"
91#include "MagickWand/magick-image.h"
92#include "MagickWand/mogrify.h"
93#include "MagickWand/montage.h"
94#include "MagickWand/pixel-iterator.h"
95#include "MagickWand/pixel-wand.h"
96#include "MagickWand/stream.h"
97#include "MagickWand/wand-view.h"
100 *MagickGetException(
const MagickWand *,ExceptionType *);
102extern WandExport ExceptionType
103 MagickGetExceptionType(
const MagickWand *);
105extern WandExport MagickBooleanType
106 IsMagickWand(
const MagickWand *),
107 IsMagickWandInstantiated(
void),
108 MagickClearException(MagickWand *),
109 MagickSetIteratorIndex(MagickWand *,
const ssize_t);
111extern WandExport MagickWand
112 *CloneMagickWand(
const MagickWand *),
113 *DestroyMagickWand(MagickWand *),
114 *NewMagickWand(
void),
115 *NewMagickWandFromImage(
const Image *);
117extern WandExport ssize_t
118 MagickGetIteratorIndex(MagickWand *);
120extern WandExport
void
121 ClearMagickWand(MagickWand *),
122 MagickWandGenesis(
void),
123 MagickWandTerminus(
void),
124 *MagickRelinquishMemory(
void *),
125 MagickResetIterator(MagickWand *),
126 MagickSetFirstIterator(MagickWand *),
127 MagickSetLastIterator(MagickWand *);
129#if defined(__cplusplus) || defined(c_plusplus)