home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff319.lzh / CNewsSrc / cnews.orig.lzh / h / alloc.h next >
C/C++ Source or Header  |  1989-06-27  |  602b  |  20 lines

  1. #ifndef ALLOC_H
  2. #define ALLOC_H
  3.  
  4. #ifndef notdef
  5. extern char *malloc(), *realloc(), *emalloc();
  6. extern char *nemalloc(), *strsave(), *str3save();
  7. #else                /* notdef */
  8. /* setup for UT debugging malloc */
  9. #define MALLOC_TRACE
  10. #define TRACE
  11. #include "malloc.h"        /* defines CSRIMALLOC */
  12. extern char *_nemalloc(), *_strsave(), *_str3save();
  13. #define nemalloc(x)        _nemalloc((x), __FILE__, __LINE__)
  14. #define strsave(x)        _strsave((x), __FILE__, __LINE__)    /* TODO: conflict with ma
  15. loc.h; fix */
  16. #define str3save(x, y, z)    _str3save((x), y, z, __FILE__, __LINE__)
  17. #endif                /* notdef */
  18.  
  19. #endif                /* ALLOC_H */
  20.