Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:11:46

0001 /*
0002   Copyright @ 2003 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickWand Application Programming Interface declarations.
0017 */
0018 
0019 #ifndef MAGICKWAND_MAGICKWAND_H
0020 #define MAGICKWAND_MAGICKWAND_H
0021 
0022 #if defined(__cplusplus) || defined(c_plusplus)
0023 extern "C" {
0024 #endif
0025 
0026 #if !defined(MAGICKWAND_CONFIG_H)
0027 # define MAGICKWAND_CONFIG_H
0028 # if !defined(vms)
0029 #  include "MagickCore/magick-config.h"
0030 # else
0031 #  include "magick-config.h"
0032 # endif
0033 #if defined(_magickcore_const) && !defined(const)
0034 # define const _magickcore_const
0035 #endif
0036 #if defined(_magickcore_inline) && !defined(inline)
0037 # define inline _magickcore_inline
0038 #endif
0039 #if !defined(magick_restrict)
0040 # if !defined(_magickcore_restrict)
0041 #  define magick_restrict restrict
0042 # else
0043 #  define magick_restrict _magickcore_restrict
0044 # endif
0045 #endif
0046 # if defined(__cplusplus) || defined(c_plusplus)
0047 #  undef inline
0048 # endif
0049 #endif
0050 
0051 #define MAGICKWAND_CHECK_VERSION(major,minor,micro) \
0052   ((MAGICKWAND_MAJOR_VERSION > (major)) || \
0053     ((MAGICKWAND_MAJOR_VERSION == (major)) && \
0054      (MAGICKWAND_MINOR_VERSION > (minor))) || \
0055     ((MAGICKWAND_MAJOR_VERSION == (major)) && \
0056      (MAGICKWAND_MINOR_VERSION == (minor)) && \
0057      (MAGICKWAND_MICRO_VERSION >= (micro))))
0058 
0059 #include <stdio.h>
0060 #include <stdarg.h>
0061 #include <stdlib.h>
0062 #include <stdint.h>
0063 #include <math.h>
0064 #include <sys/types.h>
0065 #include <time.h>
0066 
0067 #if defined(WIN32) || defined(WIN64)
0068 #  define MAGICKWAND_WINDOWS_SUPPORT
0069 #else
0070 #  define MAGICKWAND_POSIX_SUPPORT
0071 #endif 
0072 
0073 typedef struct _MagickWand
0074   MagickWand;
0075 
0076 #include "MagickWand/method-attribute.h"
0077 #include "MagickCore/MagickCore.h"
0078 #include "MagickWand/animate.h"
0079 #include "MagickWand/compare.h"
0080 #include "MagickWand/composite.h"
0081 #include "MagickWand/conjure.h"
0082 #include "MagickWand/convert.h"
0083 #include "MagickWand/deprecate.h"
0084 #include "MagickWand/display.h"
0085 #include "MagickWand/drawing-wand.h"
0086 #include "MagickWand/identify.h"
0087 #include "MagickWand/import.h"
0088 #include "MagickWand/wandcli.h"
0089 #include "MagickWand/operation.h"
0090 #include "MagickWand/magick-cli.h"
0091 #include "MagickWand/magick-property.h"
0092 #include "MagickWand/magick-image.h"
0093 #include "MagickWand/mogrify.h"
0094 #include "MagickWand/montage.h"
0095 #include "MagickWand/pixel-iterator.h"
0096 #include "MagickWand/pixel-wand.h"
0097 #include "MagickWand/stream.h"
0098 #include "MagickWand/wand-view.h"
0099 
0100 extern WandExport char
0101   *MagickGetException(const MagickWand *,ExceptionType *);
0102 
0103 extern WandExport ExceptionType
0104   MagickGetExceptionType(const MagickWand *);
0105 
0106 extern WandExport MagickBooleanType
0107   IsMagickWand(const MagickWand *),
0108   IsMagickWandInstantiated(void),
0109   MagickClearException(MagickWand *),
0110   MagickSetIteratorIndex(MagickWand *,const ssize_t);
0111 
0112 extern WandExport MagickWand
0113   *CloneMagickWand(const MagickWand *),
0114   *DestroyMagickWand(MagickWand *),
0115   *NewMagickWand(void),
0116   *NewMagickWandFromImage(const Image *);
0117 
0118 extern WandExport ssize_t
0119   MagickGetIteratorIndex(MagickWand *);
0120 
0121 extern WandExport void
0122   ClearMagickWand(MagickWand *),
0123   MagickWandGenesis(void),
0124   MagickWandTerminus(void),
0125   *MagickRelinquishMemory(void *),
0126   MagickResetIterator(MagickWand *),
0127   MagickSetFirstIterator(MagickWand *),
0128   MagickSetLastIterator(MagickWand *);
0129 
0130 #if defined(__cplusplus) || defined(c_plusplus)
0131 }
0132 #endif
0133 
0134 #endif