MagickCore  6.8.9
MagickCore.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  http://www.imagemagick.org/script/license.php
9 
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.
15 
16  MagickCore Application Programming Interface declarations.
17 */
18 
19 #ifndef _MAGICKCORE_CORE_H
20 #define _MAGICKCORE_CORE_H
21 
22 #if defined(__cplusplus) || defined(c_plusplus)
23 extern "C" {
24 #endif
25 
26 #if !defined(_MAGICKCORE_CONFIG_H)
27 # define _MAGICKCORE_CONFIG_H
28 # if !defined(vms) && !defined(macintosh)
29 # include "magick/magick-config.h"
30 # else
31 # include "magick-config.h"
32 # endif
33 #if defined(_magickcore_const) && !defined(const)
34 # define const _magickcore_const
35 #endif
36 #if defined(_magickcore_inline) && !defined(inline)
37 # define inline _magickcore_inline
38 #endif
39 #if defined(_magickcore_restrict) && !defined(restrict)
40 # define restrict _magickcore_restrict
41 #endif
42 # if defined(__cplusplus) || defined(c_plusplus)
43 # undef inline
44 # endif
45 #endif
46 
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))))
54 
55 #include <stdio.h>
56 #include <stdarg.h>
57 #include <stdlib.h>
58 #include <sys/types.h>
59 #include <time.h>
60 
61 #if defined(WIN32) || defined(WIN64)
62 # define MAGICKCORE_WINDOWS_SUPPORT
63 #else
64 # define MAGICKCORE_POSIX_SUPPORT
65 #endif
66 
68 
69 #if defined(MAGICKCORE_NAMESPACE_PREFIX)
70 # include "magick/methods.h"
71 #endif
72 #include "magick/magick-type.h"
73 #include "magick/accelerate.h"
74 #include "magick/animate.h"
75 #include "magick/annotate.h"
76 #include "magick/artifact.h"
77 #include "magick/attribute.h"
78 #include "magick/blob.h"
79 #include "magick/cache.h"
80 #include "magick/cache-view.h"
81 #include "magick/channel.h"
82 #include "magick/cipher.h"
83 #include "magick/client.h"
84 #include "magick/coder.h"
85 #include "magick/color.h"
86 #include "magick/colorspace.h"
87 #include "magick/colormap.h"
88 #include "magick/compare.h"
89 #include "magick/composite.h"
90 #include "magick/compress.h"
91 #include "magick/configure.h"
92 #include "magick/constitute.h"
93 #include "magick/decorate.h"
94 #include "magick/delegate.h"
95 #include "magick/deprecate.h"
96 #include "magick/display.h"
97 #include "magick/distort.h"
99 #include "magick/draw.h"
100 #include "magick/effect.h"
101 #include "magick/enhance.h"
102 #include "magick/exception.h"
103 #include "magick/feature.h"
104 #include "magick/fourier.h"
105 #include "magick/fx.h"
106 #include "magick/gem.h"
107 #include "magick/geometry.h"
108 #include "magick/hashmap.h"
109 #include "magick/histogram.h"
110 #include "magick/identify.h"
111 #include "magick/image.h"
112 #include "magick/image-view.h"
113 #include "magick/layer.h"
114 #include "magick/list.h"
115 #include "magick/locale_.h"
116 #include "magick/log.h"
117 #include "magick/magic.h"
118 #include "magick/magick.h"
119 #include "magick/matrix.h"
120 #include "magick/memory_.h"
121 #include "magick/module.h"
122 #include "magick/mime.h"
123 #include "magick/monitor.h"
124 #include "magick/montage.h"
125 #include "magick/morphology.h"
126 #include "magick/opencl.h"
127 #include "magick/option.h"
128 #include "magick/paint.h"
129 #include "magick/pixel.h"
130 #include "magick/pixel-accessor.h"
131 #include "magick/policy.h"
132 #include "magick/prepress.h"
133 #include "magick/profile.h"
134 #include "magick/property.h"
135 #include "magick/quantize.h"
136 #include "magick/quantum.h"
137 #include "magick/registry.h"
138 #include "magick/random_.h"
139 #include "magick/resample.h"
140 #include "magick/resize.h"
141 #include "magick/resource_.h"
142 #include "magick/segment.h"
143 #include "magick/shear.h"
144 #include "magick/signature.h"
145 #include "magick/splay-tree.h"
146 #include "magick/stream.h"
147 #include "magick/statistic.h"
148 #include "magick/string_.h"
149 #include "magick/timer.h"
150 #include "magick/token.h"
151 #include "magick/transform.h"
152 #include "magick/threshold.h"
153 #include "magick/type.h"
154 #include "magick/utility.h"
155 #include "magick/version.h"
156 #include "magick/xml-tree.h"
157 #include "magick/xwindow.h"
158 
159 #if defined(__cplusplus) || defined(c_plusplus)
160 }
161 #endif
162 
163 #endif