home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / common / cmemory.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.6 KB  |  43 lines

  1. /*
  2. *******************************************************************************
  3. *                                                                             *
  4. * COPYRIGHT:                                                                  *
  5. *   (C) Copyright Taligent, Inc.,  1997                                       *
  6. *   (C) Copyright International Business Machines Corporation,  1997-1998     *
  7. *   Licensed Material - Program-Property of IBM - All Rights Reserved.        *
  8. *   US Government Users Restricted Rights - Use, duplication, or disclosure   *
  9. *   restricted by GSA ADP Schedule Contract with IBM Corp.                    *
  10. *                                                                             *
  11. *******************************************************************************
  12. *
  13. * File CMEMORY.H
  14. *
  15. *  Contains stdlib.h/string.h memory functions
  16. *
  17. * @author       Bertrand A. Damiba
  18. *
  19. * Modification History:
  20. *
  21. *   Date        Name        Description
  22. *   6/20/98     Bertrand    Created.
  23. *  05/03/99     stephen     Changed from functions to macros.
  24. *
  25. *******************************************************************************
  26. */
  27.  
  28. #ifndef CMEMORY_H
  29. #define CMEMORY_H
  30.  
  31. #include <stdlib.h>
  32. #include <string.h>
  33.  
  34. #define icu_malloc(size) malloc(size)
  35. #define icu_realloc(buffer, size) realloc(buffer, size)
  36. #define icu_free(buffer) free(buffer)
  37. #define icu_memcpy(dst, src, size) memcpy(dst, src, size)
  38. #define icu_memmove(dst, src, size) memmove(dst, src, size)
  39. #define icu_memset(buffer, mark, size) memset(buffer, mark, size)
  40. #define icu_memcmp(buffer1, buffer2, size) memcmp(buffer1, buffer2,size)
  41.  
  42. #endif
  43.