Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
646 B

  1. //
  2. // cuimem.h
  3. // = memory management functions in CUILIB =
  4. //
  5. #ifndef CUIMEM_H
  6. #define CUIMEM_H
  7. // note: temporary, use Cicero memmgr as currently it does.
  8. #include "mem.h"
  9. #define MemAlloc( uCount ) cicMemAllocClear( (uCount) )
  10. #define MemFree( pv ) cicMemFree( (pv) )
  11. #define MemReAlloc( pv, uCount ) cicMemReAlloc( (pv), (uCount) )
  12. #define MemCopy( dst, src, uCount ) memcpy( (dst), (src), (uCount) )
  13. #define MemMove( dst, src, uCount ) memmove( (dst), (src), (uCount) )
  14. #define MemSet( dst, c, uCount ) memset( (dst), (c), (uCount) )
  15. #endif /* CUIMEM_H */