00001 /* 00002 Copyright 1999-2020 ImageMagick Studio LLC, a non-profit organization 00003 dedicated to making software imaging solutions freely available. 00004 00005 You may not use this file except in compliance with the License. You may 00006 obtain a copy of the License at 00007 00008 https://imagemagick.org/script/license.php 00009 00010 Unless required by applicable law or agreed to in writing, software 00011 distributed under the License is distributed on an "AS IS" BASIS, 00012 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 See the License for the specific language governing permissions and 00014 limitations under the License. 00015 00016 MagickCore Application Programming Interface declarations. 00017 */ 00018 00019 #ifndef MAGICKCORE_CORE_H 00020 #define MAGICKCORE_CORE_H 00021 00022 #if defined(__cplusplus) || defined(c_plusplus) 00023 extern "C" { 00024 #endif 00025 00026 #if !defined(MAGICKCORE_CONFIG_H) 00027 # define MAGICKCORE_CONFIG_H 00028 # if !defined(vms) && !defined(macintosh) 00029 # include "magick/magick-config.h" 00030 # else 00031 # include "magick-config.h" 00032 # endif 00033 #if defined(_magickcore_const) && !defined(const) 00034 # define const _magickcore_const 00035 #endif 00036 #if defined(_magickcore_inline) && !defined(inline) 00037 # define inline _magickcore_inline 00038 #endif 00039 #if !defined(magick_restrict) 00040 # if !defined(_magickcore_restrict) 00041 # define magick_restrict restrict 00042 # else 00043 # define magick_restrict _magickcore_restrict 00044 # endif 00045 #endif 00046 # if defined(__cplusplus) || defined(c_plusplus) 00047 # undef inline 00048 # endif 00049 #endif 00050 00051 #define MAGICKCORE_CHECK_VERSION(major,minor,micro) \ 00052 ((MAGICKCORE_MAJOR_VERSION > (major)) || \ 00053 ((MAGICKCORE_MAJOR_VERSION == (major)) && \ 00054 (MAGICKCORE_MINOR_VERSION > (minor))) || \ 00055 ((MAGICKCORE_MAJOR_VERSION == (major)) && \ 00056 (MAGICKCORE_MINOR_VERSION == (minor)) && \ 00057 (MAGICKCORE_MICRO_VERSION >= (micro)))) 00058 00059 #include <stdio.h> 00060 #include <stdarg.h> 00061 #include <stdlib.h> 00062 #include <sys/types.h> 00063 #include <time.h> 00064 00065 #if defined(WIN32) || defined(WIN64) 00066 # define MAGICKCORE_WINDOWS_SUPPORT 00067 #else 00068 # define MAGICKCORE_POSIX_SUPPORT 00069 #endif 00070 00071 #include "magick/method-attribute.h" 00072 00073 #if defined(MAGICKCORE_NAMESPACE_PREFIX) 00074 # include "magick/methods.h" 00075 #endif 00076 #include "magick/magick-type.h" 00077 #include "magick/animate.h" 00078 #include "magick/annotate.h" 00079 #include "magick/artifact.h" 00080 #include "magick/attribute.h" 00081 #include "magick/blob.h" 00082 #include "magick/cache.h" 00083 #include "magick/cache-view.h" 00084 #include "magick/channel.h" 00085 #include "magick/cipher.h" 00086 #include "magick/client.h" 00087 #include "magick/coder.h" 00088 #include "magick/color.h" 00089 #include "magick/colorspace.h" 00090 #include "magick/colormap.h" 00091 #include "magick/compare.h" 00092 #include "magick/composite.h" 00093 #include "magick/compress.h" 00094 #include "magick/configure.h" 00095 #include "magick/constitute.h" 00096 #include "magick/decorate.h" 00097 #include "magick/delegate.h" 00098 #include "magick/deprecate.h" 00099 #include "magick/display.h" 00100 #include "magick/distort.h" 00101 #include "magick/distribute-cache.h" 00102 #include "magick/draw.h" 00103 #include "magick/effect.h" 00104 #include "magick/enhance.h" 00105 #include "magick/exception.h" 00106 #include "magick/feature.h" 00107 #include "magick/fourier.h" 00108 #include "magick/fx.h" 00109 #include "magick/gem.h" 00110 #include "magick/geometry.h" 00111 #include "magick/hashmap.h" 00112 #include "magick/histogram.h" 00113 #include "magick/identify.h" 00114 #include "magick/image.h" 00115 #include "magick/image-view.h" 00116 #include "magick/layer.h" 00117 #include "magick/list.h" 00118 #include "magick/locale_.h" 00119 #include "magick/log.h" 00120 #include "magick/magic.h" 00121 #include "magick/magick.h" 00122 #include "magick/matrix.h" 00123 #include "magick/memory_.h" 00124 #include "magick/module.h" 00125 #include "magick/mime.h" 00126 #include "magick/monitor.h" 00127 #include "magick/montage.h" 00128 #include "magick/morphology.h" 00129 #include "magick/opencl.h" 00130 #include "magick/option.h" 00131 #include "magick/paint.h" 00132 #include "magick/pixel.h" 00133 #include "magick/pixel-accessor.h" 00134 #include "magick/policy.h" 00135 #include "magick/prepress.h" 00136 #include "magick/profile.h" 00137 #include "magick/property.h" 00138 #include "magick/quantize.h" 00139 #include "magick/quantum.h" 00140 #include "magick/registry.h" 00141 #include "magick/random_.h" 00142 #include "magick/resample.h" 00143 #include "magick/resize.h" 00144 #include "magick/resource_.h" 00145 #include "magick/segment.h" 00146 #include "magick/shear.h" 00147 #include "magick/signature.h" 00148 #include "magick/splay-tree.h" 00149 #include "magick/static.h" 00150 #include "magick/stream.h" 00151 #include "magick/statistic.h" 00152 #include "magick/string_.h" 00153 #include "magick/timer.h" 00154 #include "magick/token.h" 00155 #include "magick/transform.h" 00156 #include "magick/threshold.h" 00157 #include "magick/type.h" 00158 #include "magick/utility.h" 00159 #include "magick/version.h" 00160 #include "magick/vision.h" 00161 #include "magick/xml-tree.h" 00162 #include "magick/xwindow.h" 00163 00164 #if defined(__cplusplus) || defined(c_plusplus) 00165 } 00166 #endif 00167 00168 #endif