2 Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 MagickCore Application Programming Interface declarations.
19 #ifndef _MAGICKCORE_CORE_H
20 #define _MAGICKCORE_CORE_H
22 #if defined(__cplusplus) || defined(c_plusplus)
26 #if !defined(_MAGICKCORE_CONFIG_H)
27 # define _MAGICKCORE_CONFIG_H
28 # if !defined(vms) && !defined(macintosh)
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(_magickcore_restrict) && !defined(restrict)
40 # define restrict _magickcore_restrict
42 # if defined(__cplusplus) || defined(c_plusplus)
47 #define MAGICKCORE_CHECK_VERSION(major,minor,micro) \
48 ((MAGICKCORE_MAJOR_VERSION > (major)) || \
49 ((MAGICKCORE_MAJOR_VERSION == (major)) && \
50 (MAGICKCORE_MINOR_VERSION > (minor))) || \
51 ((MAGICKCORE_MAJOR_VERSION == (major)) && \
52 (MAGICKCORE_MINOR_VERSION == (minor)) && \
53 (MAGICKCORE_MICRO_VERSION >= (micro))))
59 #include <sys/types.h>
62 #if defined(WIN32) || defined(WIN64)
63 # define MAGICKCORE_WINDOWS_SUPPORT
65 # define MAGICKCORE_POSIX_SUPPORT
68 #include "MagickCore/method-attribute.h"
70 #if defined(MAGICKCORE_NAMESPACE_PREFIX)
71 # include "MagickCore/methods.h"
73 #include "MagickCore/magick-type.h"
74 #include "MagickCore/accelerate.h"
75 #include "MagickCore/animate.h"
76 #include "MagickCore/annotate.h"
77 #include "MagickCore/artifact.h"
78 #include "MagickCore/attribute.h"
79 #include "MagickCore/blob.h"
80 #include "MagickCore/cache.h"
81 #include "MagickCore/cache-view.h"
82 #include "MagickCore/channel.h"
83 #include "MagickCore/cipher.h"
84 #include "MagickCore/client.h"
85 #include "MagickCore/coder.h"
86 #include "MagickCore/color.h"
87 #include "MagickCore/colorspace.h"
88 #include "MagickCore/colormap.h"
89 #include "MagickCore/compare.h"
90 #include "MagickCore/composite.h"
91 #include "MagickCore/compress.h"
92 #include "MagickCore/configure.h"
93 #include "MagickCore/constitute.h"
94 #include "MagickCore/decorate.h"
95 #include "MagickCore/delegate.h"
96 #include "MagickCore/deprecate.h"
97 #include "MagickCore/display.h"
98 #include "MagickCore/distort.h"
99 #include "MagickCore/distribute-cache.h"
100 #include "MagickCore/draw.h"
101 #include "MagickCore/effect.h"
102 #include "MagickCore/enhance.h"
103 #include "MagickCore/exception.h"
104 #include "MagickCore/feature.h"
105 #include "MagickCore/fourier.h"
106 #include "MagickCore/fx.h"
107 #include "MagickCore/gem.h"
108 #include "MagickCore/geometry.h"
109 #include "MagickCore/hashmap.h"
110 #include "MagickCore/histogram.h"
111 #include "MagickCore/identify.h"
112 #include "MagickCore/image.h"
113 #include "MagickCore/image-view.h"
114 #include "MagickCore/layer.h"
115 #include "MagickCore/list.h"
116 #include "MagickCore/locale_.h"
117 #include "MagickCore/log.h"
118 #include "MagickCore/magic.h"
119 #include "MagickCore/magick.h"
120 #include "MagickCore/matrix.h"
121 #include "MagickCore/memory_.h"
122 #include "MagickCore/module.h"
123 #include "MagickCore/mime.h"
124 #include "MagickCore/monitor.h"
125 #include "MagickCore/montage.h"
126 #include "MagickCore/morphology.h"
127 #include "MagickCore/opencl.h"
128 #include "MagickCore/option.h"
129 #include "MagickCore/paint.h"
130 #include "MagickCore/pixel.h"
131 #include "MagickCore/pixel-accessor.h"
132 #include "MagickCore/policy.h"
133 #include "MagickCore/prepress.h"
134 #include "MagickCore/profile.h"
135 #include "MagickCore/property.h"
136 #include "MagickCore/quantize.h"
137 #include "MagickCore/quantum.h"
138 #include "MagickCore/registry.h"
139 #include "MagickCore/random_.h"
140 #include "MagickCore/resample.h"
141 #include "MagickCore/resize.h"
142 #include "MagickCore/resource_.h"
143 #include "MagickCore/segment.h"
144 #include "MagickCore/shear.h"
145 #include "MagickCore/signature.h"
146 #include "MagickCore/splay-tree.h"
147 #include "MagickCore/stream.h"
148 #include "MagickCore/statistic.h"
149 #include "MagickCore/string_.h"
150 #include "MagickCore/timer.h"
151 #include "MagickCore/token.h"
152 #include "MagickCore/transform.h"
153 #include "MagickCore/threshold.h"
154 #include "MagickCore/type.h"
155 #include "MagickCore/utility.h"
156 #include "MagickCore/version.h"
157 #include "MagickCore/xml-tree.h"
158 #include "MagickCore/xwindow.h"
160 #if defined(__cplusplus) || defined(c_plusplus)