/[freetype]/freetype2/include/freetype/internal/ftmemory.h
ViewVC logotype

Diff of /freetype2/include/freetype/internal/ftmemory.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32 by freetype, Tue Feb 22 15:38:12 2005 UTC revision 1.33 by wl, Tue Mar 1 02:13:50 2005 UTC
# Line 4  Line 4 
4  /*                                                                         */  /*                                                                         */
5  /*    The FreeType memory management macros (specification).               */  /*    The FreeType memory management macros (specification).               */
6  /*                                                                         */  /*                                                                         */
7  /*  Copyright 1996-2001, 2002, 2004 by                                     */  /*  Copyright 1996-2001, 2002, 2004, 2005 by                               */
8  /*  David Turner, Robert Wilhelm, and Werner Lemberg                       */  /*  David Turner, Robert Wilhelm, and Werner Lemberg                       */
9  /*                                                                         */  /*                                                                         */
10  /*  This file is part of the FreeType project, and may only be used,       */  /*  This file is part of the FreeType project, and may only be used,       */
# Line 260  FT_BEGIN_HEADER Line 260  FT_BEGIN_HEADER
260    
261  #define FT_ZERO( p )                FT_MEM_ZERO( p, sizeof ( *(p) ) )  #define FT_ZERO( p )                FT_MEM_ZERO( p, sizeof ( *(p) ) )
262    
263  #define FT_ARRAY_ZERO( dest, count )                               \  #define FT_ARRAY_ZERO( dest, count )                        \
264            FT_MEM_ZERO( dest, (count)*sizeof( *(dest) ) )            FT_MEM_ZERO( dest, (count) * sizeof ( *(dest) ) )
265    
266  #define FT_ARRAY_COPY( dest, source, count )                       \  #define FT_ARRAY_COPY( dest, source, count )                        \
267            FT_MEM_COPY( dest, source, (count) * sizeof( *(dest) ) )            FT_MEM_COPY( dest, source, (count) * sizeof ( *(dest) ) )
268    
269  #define FT_ARRAY_MOVE( dest, source, count )                       \  #define FT_ARRAY_MOVE( dest, source, count )                        \
270            FT_MEM_MOVE( dest, source, (count) * sizeof( *(dest) ) )            FT_MEM_MOVE( dest, source, (count) * sizeof ( *(dest) ) )
271    
272    
273    /*************************************************************************/    /*************************************************************************/

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26