| 1 | /* |
| 2 | Copyright @ 1999 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. You may |
| 6 | obtain a copy of the License at |
| 7 | |
| 8 | https://imagemagick.org/license/ |
| 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 | MagickWand Application Programming Interface declarations. |
| 17 | */ |
| 18 | |
| 19 | #ifndef MAGICKWAND_MAGICKWAND_Hcxx . . $ `MagickWand/MagickWand.h:20:9`! |
| 20 | #define MAGICKWAND_MAGICKWAND_Hcxx . . $ `MagickWand/MagickWand.h:20:9`! |
| 21 | |
| 22 | #if defined(__cpluspluscxx . . $ `<built-in>:471:9`!) || defined(c_plusplus) |
| 23 | extern "C" { |
| 24 | #endif |
| 25 | |
| 26 | #if !defined(MAGICKWAND_CONFIG_Hcxx . . $ `MagickWand/studio.h:30:10`!) |
| 27 | # define MAGICKWAND_CONFIG_Hcxx . . $ `MagickWand/MagickWand.h:27:10`! |
| 28 | # if !defined(vms) |
| 29 | # include "MagickCore/magick-config.h"cxx . . $ `<file>/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_restrictcxx . . $ `MagickCore/MagickCore.h:43:11`!) |
| 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(__cpluspluscxx . . $ `<built-in>:471:9`!) || defined(c_plusplus) |
| 47 | # undef inline |
| 48 | # endif |
| 49 | #endif |
| 50 | |
| 51 | #define MAGICKWAND_CHECK_VERSIONcxx . . $ `MagickWand/MagickWand.h:51:9`!(major,minor,micro) \ |
| 52 | ((MAGICKWAND_MAJOR_VERSION > (major)) || \ |
| 53 | ((MAGICKWAND_MAJOR_VERSION == (major)) && \ |
| 54 | (MAGICKWAND_MINOR_VERSION > (minor))) || \ |
| 55 | ((MAGICKWAND_MAJOR_VERSION == (major)) && \ |
| 56 | (MAGICKWAND_MINOR_VERSION == (minor)) && \ |
| 57 | (MAGICKWAND_MICRO_VERSION >= (micro)))) |
| 58 | |
| 59 | #include <stdio.h> |
| 60 | #include <stdarg.h> |
| 61 | #include <stdlib.h> |
| 62 | #include <stdint.h> |
| 63 | #include <math.h> |
| 64 | #include <sys/types.h> |
| 65 | #include <time.h> |
| 66 | |
| 67 | #if defined(WIN32) || defined(WIN64) || defined(_WIN32_WINNT) |
| 68 | # define MAGICKWAND_WINDOWS_SUPPORT |
| 69 | #else |
| 70 | # define MAGICKWAND_POSIX_SUPPORTcxx . . $ `MagickWand/MagickWand.h:70:11`! |
| 71 | #endif |
| 72 | |
| 73 | typedef struct _MagickWandcxx . . $ _MagickWand# |
| 74 | MagickWandcxx . . $ MagickWand#; |
| 75 | |
| 76 | #include "MagickWand/method-attribute.h"cxx . . $ `<file>/MagickWand/method-attribute.h`/ |
| 77 | #include "MagickCore/MagickCore.h"cxx . . $ `<file>/MagickCore/MagickCore.h`/ |
| 78 | #include "MagickWand/animate.h"cxx . . $ `<file>/MagickWand/animate.h`/ |
| 79 | #include "MagickWand/compare.h"cxx . . $ `<file>/MagickWand/compare.h`/ |
| 80 | #include "MagickWand/composite.h"cxx . . $ `<file>/MagickWand/composite.h`/ |
| 81 | #include "MagickWand/conjure.h"cxx . . $ `<file>/MagickWand/conjure.h`/ |
| 82 | #include "MagickWand/deprecate.h"cxx . . $ `<file>/MagickWand/deprecate.h`/ |
| 83 | #include "MagickWand/display.h"cxx . . $ `<file>/MagickWand/display.h`/ |
| 84 | #include "MagickWand/drawing-wand.h"cxx . . $ `<file>/MagickWand/drawing-wand.h`/ |
| 85 | #include "MagickWand/identify.h"cxx . . $ `<file>/MagickWand/identify.h`/ |
| 86 | #include "MagickWand/import.h"cxx . . $ `<file>/MagickWand/import.h`/ |
| 87 | #include "MagickWand/wandcli.h"cxx . . $ `<file>/MagickWand/wandcli.h`/ |
| 88 | #include "MagickWand/operation.h"cxx . . $ `<file>/MagickWand/operation.h`/ |
| 89 | #include "MagickWand/magick-cli.h"cxx . . $ `<file>/MagickWand/magick-cli.h`/ |
| 90 | #include "MagickWand/magick-property.h"cxx . . $ `<file>/MagickWand/magick-property.h`/ |
| 91 | #include "MagickWand/magick-image.h"cxx . . $ `<file>/MagickWand/magick-image.h`/ |
| 92 | #include "MagickWand/mogrify.h"cxx . . $ `<file>/MagickWand/mogrify.h`/ |
| 93 | #include "MagickWand/montage.h"cxx . . $ `<file>/MagickWand/montage.h`/ |
| 94 | #include "MagickWand/pixel-iterator.h"cxx . . $ `<file>/MagickWand/pixel-iterator.h`/ |
| 95 | #include "MagickWand/pixel-wand.h"cxx . . $ `<file>/MagickWand/pixel-wand.h`/ |
| 96 | #include "MagickWand/stream.h"cxx . . $ `<file>/MagickWand/stream.h`/ |
| 97 | #include "MagickWand/wand-view.h"cxx . . $ `<file>/MagickWand/wand-view.h`/ |
| 98 | |
| 99 | extern WandExportcxx . . $ `MagickWand/method-attribute.h:58:13`! char |
| 100 | *MagickGetExceptioncxx . . $ MagickGetException(3c24dc6bb301d92).(const MagickWandcxx . . $ MagickWand# *,ExceptionTypecxx . . $ ExceptionType# *); |
| 101 | |
| 102 | extern WandExportcxx . . $ `MagickWand/method-attribute.h:58:13`! ExceptionTypecxx . . $ ExceptionType# |
| 103 | MagickGetExceptionTypecxx . . $ MagickGetExceptionType(b9a314504cf359ff).(const MagickWandcxx . . $ MagickWand# *); |
| 104 | |
| 105 | extern WandExportcxx . . $ `MagickWand/method-attribute.h:58:13`! MagickBooleanTypecxx . . $ MagickBooleanType# |
| 106 | IsMagickWandcxx . . $ IsMagickWand(2d0fd3ed24a0496c).(const MagickWandcxx . . $ MagickWand# *), |
| 107 | IsMagickWandInstantiatedcxx . . $ IsMagickWandInstantiated(3b322bbe97a26247).(void), |
| 108 | MagickClearExceptioncxx . . $ MagickClearException(f25de3b13e3ba06e).(MagickWandcxx . . $ MagickWand# *), |
| 109 | MagickSetIteratorIndexcxx . . $ MagickSetIteratorIndex(e45afd4ef5b36bcb).(MagickWandcxx . . $ MagickWand# *,const ssize_tcxx . . $ ssize_t#); |
| 110 | |
| 111 | extern WandExportcxx . . $ `MagickWand/method-attribute.h:58:13`! MagickWandcxx . . $ MagickWand# |
| 112 | *CloneMagickWandcxx . . $ CloneMagickWand(fc02d2e1da899a82).(const MagickWandcxx . . $ MagickWand# *), |
| 113 | *DestroyMagickWandcxx . . $ DestroyMagickWand(4805ee95a18bc663).(MagickWandcxx . . $ MagickWand# *), |
| 114 | *NewMagickWandcxx . . $ NewMagickWand(59a2055a693f1673).(void), |
| 115 | *NewMagickWandFromImagecxx . . $ NewMagickWandFromImage(222976504302465b).(const Imagecxx . . $ Image# *); |
| 116 | |
| 117 | extern WandExportcxx . . $ `MagickWand/method-attribute.h:58:13`! ssize_tcxx . . $ ssize_t# |
| 118 | MagickGetIteratorIndexcxx . . $ MagickGetIteratorIndex(71a4a5373b8bf15d).(MagickWandcxx . . $ MagickWand# *); |
| 119 | |
| 120 | extern WandExportcxx . . $ `MagickWand/method-attribute.h:58:13`! void |
| 121 | ClearMagickWandcxx . . $ ClearMagickWand(1edff15b9ccec139).(MagickWandcxx . . $ MagickWand# *), |
| 122 | MagickWandGenesiscxx . . $ MagickWandGenesis(49f6e7a06ebc5aa8).(void), |
| 123 | MagickWandTerminuscxx . . $ MagickWandTerminus(49f6e7a06ebc5aa8).(void), |
| 124 | *MagickRelinquishMemorycxx . . $ MagickRelinquishMemory(9f162e79bfc6c74).(void *), |
| 125 | MagickResetIteratorcxx . . $ MagickResetIterator(1edff15b9ccec139).(MagickWandcxx . . $ MagickWand# *), |
| 126 | MagickSetFirstIteratorcxx . . $ MagickSetFirstIterator(1edff15b9ccec139).(MagickWandcxx . . $ MagickWand# *), |
| 127 | MagickSetLastIteratorcxx . . $ MagickSetLastIterator(1edff15b9ccec139).(MagickWandcxx . . $ MagickWand# *); |
| 128 | |
| 129 | #if defined(__cpluspluscxx . . $ `<built-in>:471:9`!) || defined(c_plusplus) |
| 130 | } |
| 131 | #endif |
| 132 | |
| 133 | #endif |