18 #ifndef MAGICKCORE_MEMORY_PRIVATE_H 19 #define MAGICKCORE_MEMORY_PRIVATE_H 21 #if defined(__cplusplus) || defined(c_plusplus) 25 #if defined(__powerpc__) 26 # define CACHE_LINE_SIZE 128 28 # define CACHE_LINE_SIZE 64 31 #define CacheAlign(size) ((size) < CACHE_LINE_SIZE ? CACHE_LINE_SIZE : (size)) 33 #if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 6)) 35 #define MagickAssumeAligned(address) \ 36 __builtin_assume_aligned((address),CACHE_LINE_SIZE) 38 #define MagickAssumeAligned(address) (address) 41 #define MagickAssumeAligned(address) (address) 56 if (memory == (
void *) NULL)
61 #if defined(__cplusplus) || defined(c_plusplus) #define ThrowFatalException(severity, tag)
Definition: exception-private.h:36
Definition: exception.h:78
MagickBooleanType
Definition: magick-type.h:215
MagickExport MagickBooleanType static void * AcquireCriticalMemory(const size_t size)
Definition: memory-private.h:47
MagickExport void * AcquireMagickMemory(const size_t size)
Definition: memory.c:455
MagickExport MagickBooleanType HeapOverflowSanityCheck(const size_t, const size_t) magick_alloc_sizes(1
#define MagickExport
Definition: method-attribute.h:98
#define magick_alloc_sizes(x, y)
Definition: method-attribute.h:131