diff options
author | Jiyong <jiyong.min@samsung.com> | 2023-12-06 10:30:38 +0900 |
---|---|---|
committer | Jiyong <jiyong.min@samsung.com> | 2023-12-06 10:31:10 +0900 |
commit | 2c17c6b7ecf6d96c9b4004cd7b79d860b66e6ae3 (patch) | |
tree | c2510f971c95cb79f5a4bd55c841d294bf5197fd /magick/deprecate.c | |
parent | 043c171f3b5935329641967057ae5f45bc1a5631 (diff) | |
download | GraphicsMagick-upstream.tar.gz GraphicsMagick-upstream.tar.bz2 GraphicsMagick-upstream.zip |
Imported Upstream version 1.3.42upstream/1.3.42upstream
Change-Id: I4f2a12cbf50e1a459e7bac7c5a8e374071620eea
Diffstat (limited to 'magick/deprecate.c')
-rw-r--r-- | magick/deprecate.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/magick/deprecate.c b/magick/deprecate.c index 3c83560..01aa98d 100644 --- a/magick/deprecate.c +++ b/magick/deprecate.c @@ -1,5 +1,5 @@ /* -% Copyright (C) 2003 - 2021 GraphicsMagick Group +% Copyright (C) 2003 - 2022 GraphicsMagick Group % Copyright (C) 2002 ImageMagick Studio % % This program is covered by multiple licenses, which are described in @@ -137,7 +137,7 @@ AcquireCacheView(ViewInfo *view, */ MagickExport void *AcquireMemory(const size_t size) { - if (IsEventLogging()) + if (IsEventLogged(DeprecateEvent)) (void) LogMagickEvent(DeprecateEvent,GetMagickModule(), "Method has been deprecated"); @@ -172,7 +172,7 @@ MagickExport void *AcquireMemory(const size_t size) MagickExport void *CloneMemory(void *destination,const void *source, const size_t size) { - if (IsEventLogging()) + if (IsEventLogged(DeprecateEvent)) (void) LogMagickEvent(DeprecateEvent,GetMagickModule(), "Method has been deprecated"); @@ -247,7 +247,7 @@ MagickExport void LiberateMemory(void **memory) { assert(memory != (void **) NULL); - if (IsEventLogging()) + if (IsEventLogged(DeprecateEvent)) (void) LogMagickEvent(DeprecateEvent,GetMagickModule(), "Method has been deprecated"); @@ -312,7 +312,7 @@ MagickExport unsigned int PopImagePixels(const Image *image, quantum_size=32; } - if (image->logging) + if (IsEventLogged(DeprecateEvent)) (void) LogMagickEvent(DeprecateEvent,GetMagickModule(), "Method has been deprecated"); @@ -378,7 +378,7 @@ MagickExport unsigned int PushImagePixels(Image *image, quantum_size=32; } - if (image->logging) + if (IsEventLogged(DeprecateEvent)) (void) LogMagickEvent(DeprecateEvent,GetMagickModule(), "Method has been deprecated"); @@ -417,7 +417,7 @@ MagickExport void ReacquireMemory(void **memory,const size_t size) { assert(memory != (void **) NULL); - if (IsEventLogging()) + if (IsEventLogged(DeprecateEvent)) (void) LogMagickEvent(DeprecateEvent,GetMagickModule(), "Method has been deprecated"); |