home *** CD-ROM | disk | FTP | other *** search
/ cs.rhul.ac.uk / www.cs.rhul.ac.uk.zip / www.cs.rhul.ac.uk / pub / rdp / rdp_cs3470.tar / rdp_supp / memalloc.h < prev    next >
C/C++ Source or Header  |  1998-05-07  |  688b  |  24 lines

  1. /*******************************************************************************
  2. *
  3. * RDP release 1.50 by Adrian Johnstone (A.Johnstone@rhbnc.ac.uk) 20 December 1997
  4. *
  5. * memalloc.h - robust memory allocation with helpful messages on error
  6. *
  7. * This file may be freely distributed. Please mail improvements to the author.
  8. *
  9. *******************************************************************************/
  10. #ifndef MEMALLOC_H
  11. #define MEMALLOC_H
  12.  
  13. #include <stddef.h>
  14.  
  15. void * mem_calloc(size_t nitems, size_t size); 
  16. void mem_free(void * block); 
  17. void * mem_malloc(size_t size); 
  18. void mem_print_statistics(void); 
  19. void * mem_realloc(void * block, size_t size); 
  20.  
  21. #endif
  22.  
  23. /* End of memalloc.h */
  24.