# MagickCore.h

Go to the documentation of this file.

    00001 /*
    00002   Copyright 1999-2009 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.
    00006   obtain a copy of the License at
    00007
    00008     http://www.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(__cplusplus) || defined(c_plusplus)
    00034 #  undef inline
    00035 # endif
    00036 #endif
    00037
    00038 #include <stdio.h>
    00039 #include <stdarg.h>
    00040 #include <stdlib.h>
    00041 #include <sys/types.h>
    00042
    00043 #if defined(__CYGWIN32__)
    00044 #  if !defined(__CYGWIN__)
    00045 #    define __CYGWIN__ __CYGWIN32__
    00046 #  endif
    00047 #endif
    00048
    00049 #if defined(_WIN32) || defined(WIN32)
    00050 #  if !defined(__WINDOWS__)
    00051 #    if defined(_WIN32)
    00052 #      define __WINDOWS__ _WIN32
    00053 #    else
    00054 #      if defined(WIN32)
    00055 #        define __WINDOWS__ WIN32
    00056 #      endif
    00057 #    endif
    00058 #  endif
    00059 #endif
    00060
    00061 #if defined(_WIN64) || defined(WIN64)
    00062 #  if !defined(__WINDOWS__)
    00063 #    if defined(_WIN64)
    00064 #      define __WINDOWS__ _WIN64
    00065 #    else
    00066 #      if !defined(WIN64)
    00067 #        define __WINDOWS__ WIN64
    00068 #      endif
    00069 #    endif
    00070 #  endif
    00071 #endif
    00072
    00073 #if defined(__WINDOWS__)
    00074 # if defined(_MT) && defined(_DLL) && !defined(_MAGICKDLL_) && !defined(_LIB) && !defined(MAGICK_STATIC_LINK)
    00075 #  define _MAGICKDLL_
    00076 # endif
    00077 # if defined(_MAGICKDLL_)
    00078 #  if defined(_VISUALC_)
    00079 #   pragma warning( disable: 4273 )  /* Disable the dll linkage warnings */
    00080 #  endif
    00081 #  if !defined(_MAGICKLIB_)
    00082 #   define MagickExport  __declspec(dllimport)
    00083 #   if defined(_VISUALC_)
    00084 #    pragma message( "Magick lib DLL import interface" )
    00085 #   endif
    00086 #  else
    00087 #   define MagickExport  __declspec(dllexport)
    00088 #   if defined(_VISUALC_)
    00089 #    pragma message( "Magick lib DLL export interface" )
    00090 #   endif
    00091 #  endif
    00092 # else
    00093 #  define MagickExport
    00094 #  if defined(_VISUALC_)
    00095 #   pragma message( "Magick lib static interface" )
    00096 #  endif
    00097 # endif
    00098
    00099 # if defined(_DLL) && !defined(_LIB)
    00100 #  define ModuleExport  __declspec(dllexport)
    00101 #  if defined(_VISUALC_)
    00102 #   pragma message( "Magick module DLL export interface" )
    00103 #  endif
    00104 # else
    00105 #  define ModuleExport
    00106 #  if defined(_VISUALC_)
    00107 #   pragma message( "Magick module static interface" )
    00108 #  endif
    00109
    00110 # endif
    00111 # define MagickGlobal __declspec(thread)
    00112 # if defined(_VISUALC_)
    00113 #  pragma warning(disable : 4018)
    00114 #  pragma warning(disable : 4244)
    00115 #  pragma warning(disable : 4142)
    00116 #  pragma warning(disable : 4800)
    00117 #  pragma warning(disable : 4786)
    00118 # endif
    00119 #else
    00120 # define MagickExport
    00121 # define ModuleExport
    00122 # define MagickGlobal
    00123 #endif
    00124
    00125 #if !defined(MaxTextExtent)
    00126 #  define MaxTextExtent  4096
    00127 #endif
    00128 #define MagickSignature  0xabacadabUL
    00129
    00130 #if !defined(magick_attribute)
    00131 #  if !defined(__GNUC__)
    00132 #    define magick_attribute(x)  /* nothing */
    00133 #  else
    00134 #    define magick_attribute  __attribute__
    00135 #  endif
    00136 #endif
    00137
    00138 #if defined(MAGICKCORE_NAMESPACE_PREFIX)
    00139 # include "magick/methods.h"
    00140 #endif
    00141 #include "magick/magick-type.h"
    00142 #include "magick/animate.h"
    00143 #include "magick/annotate.h"
    00144 #include "magick/artifact.h"
    00145 #include "magick/blob.h"
    00146 #include "magick/cache.h"
    00147 #include "magick/cache-view.h"
    00148 #include "magick/coder.h"
    00149 #include "magick/client.h"
    00150 #include "magick/color.h"
    00151 #include "magick/colorspace.h"
    00152 #include "magick/compare.h"
    00153 #include "magick/composite.h"
    00154 #include "magick/compress.h"
    00155 #include "magick/configure.h"
    00156 #include "magick/constitute.h"
    00157 #include "magick/decorate.h"
    00158 #include "magick/delegate.h"
    00159 #include "magick/deprecate.h"
    00160 #include "magick/display.h"
    00161 #include "magick/distort.h"
    00162 #include "magick/draw.h"
    00163 #include "magick/effect.h"
    00164 #include "magick/enhance.h"
    00165 #include "magick/exception.h"
    00166 #include "magick/fx.h"
    00167 #include "magick/gem.h"
    00168 #include "magick/geometry.h"
    00169 #include "magick/hashmap.h"
    00170 #include "magick/identify.h"
    00171 #include "magick/image.h"
    00172 #include "magick/layer.h"
    00173 #include "magick/list.h"
    00174 #include "magick/locale_.h"
    00175 #include "magick/log.h"
    00176 #include "magick/magic.h"
    00177 #include "magick/magick.h"
    00178 #include "magick/matrix.h"
    00179 #include "magick/memory_.h"
    00180 #include "magick/module.h"
    00181 #include "magick/mime.h"
    00182 #include "magick/monitor.h"
    00183 #include "magick/montage.h"
    00184 #include "magick/option.h"
    00185 #include "magick/paint.h"
    00186 #include "magick/pixel.h"
    00187 #include "magick/prepress.h"
    00188 #include "magick/profile.h"
    00189 #include "magick/property.h"
    00190 #include "magick/quantize.h"
    00191 #include "magick/quantum.h"
    00192 #include "magick/registry.h"
    00193 #include "magick/random_.h"
    00194 #include "magick/resample.h"
    00195 #include "magick/resize.h"
    00196 #include "magick/resource_.h"
    00197 #include "magick/segment.h"
    00198 #include "magick/shear.h"
    00199 #include "magick/signature.h"
    00200 #include "magick/splay-tree.h"
    00201 #include "magick/stream.h"
    00202 #include "magick/statistic.h"
    00203 #include "magick/string_.h"
    00204 #include "magick/timer.h"
    00205 #include "magick/token.h"
    00206 #include "magick/transform.h"
    00207 #include "magick/threshold.h"
    00208 #include "magick/type.h"
    00209 #include "magick/utility.h"
    00210 #include "magick/version.h"
    00211 #include "magick/xml-tree.h"
    00212 #include "magick/xwindow.h"
    00213
    00214 #if defined(__cplusplus) || defined(c_plusplus)
    00215 }
    00216 #endif
    00217
    00218 #endif