github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/GraphicsMagick/magick/deprecate.h (about) 1 /* 2 Copyright (C) 2003, 2008 GraphicsMagick Group 3 Copyright (C) 2002 ImageMagick Studio 4 5 This program is covered by multiple licenses, which are described in 6 Copyright.txt. You should have received a copy of Copyright.txt with this 7 package; otherwise see http://www.graphicsmagick.org/www/Copyright.html. 8 9 Log methods. 10 */ 11 #ifndef _MAGICK_DEPRECATE_H 12 #define _MAGICK_DEPRECATE_H 13 14 #if defined(__cplusplus) || defined(c_plusplus) 15 extern "C" { 16 #endif 17 18 /* 19 Legacy names for (possibly) large integral types 20 */ 21 22 #if !defined(ExtendedSignedIntegralType) 23 # define ExtendedSignedIntegralType magick_int64_t 24 #endif 25 #if !defined(ExtendedUnsignedIntegralType) 26 # define ExtendedUnsignedIntegralType magick_uint64_t 27 #endif 28 29 /* 30 Compatibility definitions to handle the renaming of 31 ExtendedSignedIntegralType and ExtendedUnsignedIntegralType to 32 MagickSignedType and MagickUnsignedType which occured in ImageMagick 33 5.5.8. ImageMagick 5.5.8 also introduced MagickRationalType. 34 */ 35 #if !defined(MagickSignedType) 36 # define MagickSignedType magick_int64_t 37 #endif 38 #if !defined(MagickUnsignedType) 39 # define MagickUnsignedType magick_uint64_t 40 #endif 41 #if !defined(MagickRationalType) 42 # if defined(HAVE_LONG_DOUBLE) 43 # define MagickRationalType long double 44 # else 45 # define MagickRationalType double 46 # endif 47 #endif 48 49 extern MagickExport unsigned int 50 PopImagePixels(const Image *,const QuantumType,unsigned char *) MAGICK_FUNC_DEPRECATED; 51 52 extern MagickExport unsigned int 53 PushImagePixels(Image *,const QuantumType,const unsigned char *) MAGICK_FUNC_DEPRECATED; 54 55 extern MagickExport void 56 *AcquireMemory(const size_t) MAGICK_FUNC_DEPRECATED MAGICK_FUNC_MALLOC MAGICK_FUNC_ALLOC_SIZE_1ARG(1); 57 58 extern MagickExport void 59 *CloneMemory(void *,const void *,const size_t) MAGICK_FUNC_DEPRECATED; 60 61 extern MagickExport void 62 LiberateMemory(void **) MAGICK_FUNC_DEPRECATED; 63 64 extern MagickExport void 65 ReacquireMemory(void **,const size_t) MAGICK_FUNC_DEPRECATED; 66 67 extern MagickExport const PixelPacket 68 *AcquireCacheView(ViewInfo *view, 69 const long x,const long y,const unsigned long columns, 70 const unsigned long rows,ExceptionInfo *exception) MAGICK_FUNC_DEPRECATED; 71 72 extern MagickExport PixelPacket 73 *GetCacheView(ViewInfo *view,const long x,const long y, 74 const unsigned long columns,const unsigned long rows) MAGICK_FUNC_DEPRECATED; 75 76 extern MagickExport PixelPacket 77 *SetCacheView(ViewInfo *view,const long x,const long y, 78 const unsigned long columns,const unsigned long rows) MAGICK_FUNC_DEPRECATED; 79 80 extern MagickExport MagickPassFail 81 SyncCacheView(ViewInfo *view) MAGICK_FUNC_DEPRECATED; 82 83 #if defined(__cplusplus) || defined(c_plusplus) 84 } 85 #endif 86 87 #endif 88 89 /* 90 * Local Variables: 91 * mode: c 92 * c-basic-offset: 2 93 * fill-column: 78 94 * End: 95 */