]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 4 Oct 2010 16:47:20 +0000 (16:47 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 4 Oct 2010 16:47:20 +0000 (16:47 +0000)
magick/memory.c

index e41a19d02b7333d1bf9967acd5492697000ec8ff..62de98372e48d165df53a55c4c8f25de5bcf799b 100644 (file)
@@ -172,12 +172,12 @@ static MagickBooleanType
 %                                                                             %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-%  AcquireQuantumMemory() returns a pointer to a block of memory at least size
+%  AcquireAlignedMemory() returns a pointer to a block of memory at least size
 %  bytes whose address is a multiple of 16*sizeof(void *).
 %
-%  The format of the AcquireQuantumMemory method is:
+%  The format of the AcquireAlignedMemory method is:
 %
-%      void *AcquireQuantumMemory(const size_t count,const size_t quantum)
+%      void *AcquireAlignedMemory(const size_t count,const size_t quantum)
 %
 %  A description of each parameter follows:
 %
@@ -194,7 +194,7 @@ static inline size_t MagickMax(const size_t x,const size_t y)
   return(y);
 }
 
-MagickExport void *AcquireQuantumMemory(const size_t count,const size_t quantum)
+MagickExport void *AcquireAlignedMemory(const size_t count,const size_t quantum)
 {
   size_t
     size;
@@ -205,7 +205,7 @@ MagickExport void *AcquireQuantumMemory(const size_t count,const size_t quantum)
       errno=ENOMEM;
       return((void *) NULL);
     }
-#if defined(MAGICKCORE_HAVE_POSIX_MEMALIGN) && !defined(MAGICKCORE_EMBEDDABLE_SUPPORT)
+#if defined(MAGICKCORE_HAVE_POSIX_MEMALIGN)
   {
     void
       *memory;
@@ -703,19 +703,19 @@ MagickExport void GetMagickMemoryMethods(
 %                                                                             %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-%  RelinquishMagickMemory() frees memory acquired with AcquireQuantumMemory()
+%  RelinquishAlignedMemory() frees memory acquired with AcquireAlignedMemory()
 %  or reuse.
 %
-%  The format of the RelinquishMagickMemory method is:
+%  The format of the RelinquishAlignedMemory method is:
 %
-%      void *RelinquishMagickMemory(void *memory)
+%      void *RelinquishAlignedMemory(void *memory)
 %
 %  A description of each parameter follows:
 %
 %    o memory: A pointer to a block of memory to free for reuse.
 %
 */
-MagickExport void *RelinquishMagickMemory(void *memory)
+MagickExport void *RelinquishAlignedMemory(void *memory)
 {
   if (memory == (void *) NULL)
     return((void *) NULL);