• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2   Copyright 1999-2016 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 "MagickCore/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(magick_restrict)
40 # if !defined(_magickcore_restrict)
41 #  define magick_restrict restrict
42 # else
43 #  define magick_restrict _magickcore_restrict
44 # endif
45 #endif
46 # if defined(__cplusplus) || defined(c_plusplus)
47 #  undef inline
48 # endif
49 #endif
50 
51 #define MAGICKCORE_CHECK_VERSION(major,minor,micro) \
52   ((MAGICKCORE_MAJOR_VERSION > (major)) || \
53     ((MAGICKCORE_MAJOR_VERSION == (major)) && \
54      (MAGICKCORE_MINOR_VERSION > (minor))) || \
55     ((MAGICKCORE_MAJOR_VERSION == (major)) && \
56      (MAGICKCORE_MINOR_VERSION == (minor)) && \
57      (MAGICKCORE_MICRO_VERSION >= (micro))))
58 
59 #include <stdio.h>
60 #include <stdarg.h>
61 #include <stdlib.h>
62 #include <math.h>
63 #include <sys/types.h>
64 #include <time.h>
65 
66 #if defined(WIN32) || defined(WIN64)
67 #  define MAGICKCORE_WINDOWS_SUPPORT
68 #else
69 #  define MAGICKCORE_POSIX_SUPPORT
70 #endif
71 
72 #include "MagickCore/method-attribute.h"
73 
74 #if defined(MAGICKCORE_NAMESPACE_PREFIX)
75 # include "MagickCore/methods.h"
76 #endif
77 #include "MagickCore/magick-type.h"
78 #include "MagickCore/animate.h"
79 #include "MagickCore/annotate.h"
80 #include "MagickCore/artifact.h"
81 #include "MagickCore/attribute.h"
82 #include "MagickCore/blob.h"
83 #include "MagickCore/cache.h"
84 #include "MagickCore/cache-view.h"
85 #include "MagickCore/channel.h"
86 #include "MagickCore/cipher.h"
87 #include "MagickCore/client.h"
88 #include "MagickCore/coder.h"
89 #include "MagickCore/color.h"
90 #include "MagickCore/colorspace.h"
91 #include "MagickCore/colormap.h"
92 #include "MagickCore/compare.h"
93 #include "MagickCore/composite.h"
94 #include "MagickCore/compress.h"
95 #include "MagickCore/configure.h"
96 #include "MagickCore/constitute.h"
97 #include "MagickCore/decorate.h"
98 #include "MagickCore/delegate.h"
99 #include "MagickCore/deprecate.h"
100 #include "MagickCore/display.h"
101 #include "MagickCore/distort.h"
102 #include "MagickCore/distribute-cache.h"
103 #include "MagickCore/draw.h"
104 #include "MagickCore/effect.h"
105 #include "MagickCore/enhance.h"
106 #include "MagickCore/exception.h"
107 #include "MagickCore/feature.h"
108 #include "MagickCore/fourier.h"
109 #include "MagickCore/fx.h"
110 #include "MagickCore/gem.h"
111 #include "MagickCore/geometry.h"
112 #include "MagickCore/histogram.h"
113 #include "MagickCore/identify.h"
114 #include "MagickCore/image.h"
115 #include "MagickCore/image-view.h"
116 #include "MagickCore/layer.h"
117 #include "MagickCore/linked-list.h"
118 #include "MagickCore/list.h"
119 #include "MagickCore/locale_.h"
120 #include "MagickCore/log.h"
121 #include "MagickCore/magic.h"
122 #include "MagickCore/magick.h"
123 #include "MagickCore/matrix.h"
124 #include "MagickCore/memory_.h"
125 #include "MagickCore/module.h"
126 #include "MagickCore/mime.h"
127 #include "MagickCore/monitor.h"
128 #include "MagickCore/montage.h"
129 #include "MagickCore/morphology.h"
130 #include "MagickCore/opencl.h"
131 #include "MagickCore/option.h"
132 #include "MagickCore/paint.h"
133 #include "MagickCore/pixel.h"
134 #include "MagickCore/pixel-accessor.h"
135 #include "MagickCore/policy.h"
136 #include "MagickCore/prepress.h"
137 #include "MagickCore/profile.h"
138 #include "MagickCore/property.h"
139 #include "MagickCore/quantize.h"
140 #include "MagickCore/quantum.h"
141 #include "MagickCore/registry.h"
142 #include "MagickCore/random_.h"
143 #include "MagickCore/resample.h"
144 #include "MagickCore/resize.h"
145 #include "MagickCore/resource_.h"
146 #include "MagickCore/segment.h"
147 #include "MagickCore/shear.h"
148 #include "MagickCore/signature.h"
149 #include "MagickCore/splay-tree.h"
150 #include "MagickCore/stream.h"
151 #include "MagickCore/statistic.h"
152 #include "MagickCore/string_.h"
153 #include "MagickCore/timer.h"
154 #include "MagickCore/token.h"
155 #include "MagickCore/transform.h"
156 #include "MagickCore/threshold.h"
157 #include "MagickCore/type.h"
158 #include "MagickCore/utility.h"
159 #include "MagickCore/version.h"
160 #include "MagickCore/vision.h"
161 #include "MagickCore/xml-tree.h"
162 #include "MagickCore/xwindow.h"
163 
164 #if defined(__cplusplus) || defined(c_plusplus)
165 }
166 #endif
167 
168 #endif
169