Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

cmemory.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *
00004 *   Copyright (C) 1997-1999, International Business Machines
00005 *   Corporation and others.  All Rights Reserved.
00006 *
00007 *******************************************************************************
00008 *
00009 * File CMEMORY.H
00010 *
00011 *  Contains stdlib.h/string.h memory functions
00012 *
00013 * @author       Bertrand A. Damiba
00014 *
00015 * Modification History:
00016 *
00017 *   Date        Name        Description
00018 *   6/20/98     Bertrand    Created.
00019 *  05/03/99     stephen     Changed from functions to macros.
00020 *
00021 *******************************************************************************
00022 */
00023 
00024 #ifndef CMEMORY_H
00025 #define CMEMORY_H
00026 
00027 #include <stdlib.h>
00028 #include <string.h>
00029 
00030 #define uprv_malloc(size) malloc(size)
00031 #define uprv_realloc(buffer, size) realloc(buffer, size)
00032 #define uprv_free(buffer) free(buffer)
00033 #define uprv_memcpy(dst, src, size) memcpy(dst, src, size)
00034 #define uprv_memmove(dst, src, size) memmove(dst, src, size)
00035 #define uprv_memset(buffer, mark, size) memset(buffer, mark, size)
00036 #define uprv_memcmp(buffer1, buffer2, size) memcmp(buffer1, buffer2,size)
00037 
00038 #endif

Generated at Tue Dec 5 17:55:25 2000 for ICU by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000