MagickCore  6.8.5
MagickCore.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2013 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 
60 #if defined(WIN32) || defined(WIN64)
61 # define MAGICKCORE_WINDOWS_SUPPORT
62 #else
63 # define MAGICKCORE_POSIX_SUPPORT
64 #endif
65 
67 
68 #if defined(MAGICKCORE_NAMESPACE_PREFIX)
69 # include "magick/methods.h"
70 #endif
71 #include "magick/magick-type.h"
72 #include "magick/accelerate.h"
73 #include "magick/animate.h"
74 #include "magick/annotate.h"
75 #include "magick/artifact.h"
76 #include "magick/attribute.h"
77 #include "magick/blob.h"
78 #include "magick/cache.h"
79 #include "magick/cache-view.h"
80 #include "magick/channel.h"
81 #include "magick/cipher.h"
82 #include "magick/client.h"
83 #include "magick/coder.h"
84 #include "magick/color.h"
85 #include "magick/colorspace.h"
86 #include "magick/colormap.h"
87 #include "magick/compare.h"
88 #include "magick/composite.h"
89 #include "magick/compress.h"
90 #include "magick/configure.h"
91 #include "magick/constitute.h"
92 #include "magick/decorate.h"
93 #include "magick/delegate.h"
94 #include "magick/deprecate.h"
95 #include "magick/display.h"
96 #include "magick/distort.h"
98 #include "magick/draw.h"
99 #include "magick/effect.h"
100 #include "magick/enhance.h"
101 #include "magick/exception.h"
102 #include "magick/feature.h"
103 #include "magick/fourier.h"
104 #include "magick/fx.h"
105 #include "magick/gem.h"
106 #include "magick/geometry.h"
107 #include "magick/hashmap.h"
108 #include "magick/histogram.h"
109 #include "magick/identify.h"
110 #include "magick/image.h"
111 #include "magick/image-view.h"
112 #include "magick/layer.h"
113 #include "magick/list.h"
114 #include "magick/locale_.h"
115 #include "magick/log.h"
116 #include "magick/magic.h"
117 #include "magick/magick.h"
118 #include "magick/matrix.h"
119 #include "magick/memory_.h"
120 #include "magick/module.h"
121 #include "magick/mime.h"
122 #include "magick/monitor.h"
123 #include "magick/montage.h"
124 #include "magick/morphology.h"
125 #include "magick/option.h"
126 #include "magick/paint.h"
127 #include "magick/pixel.h"
128 #include "magick/pixel-accessor.h"
129 #include "magick/policy.h"
130 #include "magick/prepress.h"
131 #include "magick/profile.h"
132 #include "magick/property.h"
133 #include "magick/quantize.h"
134 #include "magick/quantum.h"
135 #include "magick/registry.h"
136 #include "magick/random_.h"
137 #include "magick/resample.h"
138 #include "magick/resize.h"
139 #include "magick/resource_.h"
140 #include "magick/segment.h"
141 #include "magick/shear.h"
142 #include "magick/signature.h"
143 #include "magick/splay-tree.h"
144 #include "magick/stream.h"
145 #include "magick/statistic.h"
146 #include "magick/string_.h"
147 #include "magick/timer.h"
148 #include "magick/token.h"
149 #include "magick/transform.h"
150 #include "magick/threshold.h"
151 #include "magick/type.h"
152 #include "magick/utility.h"
153 #include "magick/version.h"
154 #include "magick/xml-tree.h"
155 #include "magick/xwindow.h"
156 
157 #if defined(__cplusplus) || defined(c_plusplus)
158 }
159 #endif
160 
161 #endif