home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 125.img / PRO-C4.ZIP / BENCH1.ZIP / BENCH / MEMCHK.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-28  |  420 b   |  15 lines

  1. /* Memory checking routines */
  2. # ifdef MDEBUG
  3. # define alloc(z) ck_alloc(__FILE__,__LINE__,z)
  4. # define free(z)  ck_free(__FILE__,__LINE__,z)
  5. # define Chk(z)   ck_mem(__FILE__,__LINE__,z)
  6. # define Minfo(z) ck_info(__FILE__,__LINE__,z)
  7. extern char *ck_alloc();
  8. extern void ck_free();
  9. extern void ck_mem();
  10. extern void ck_info();
  11. # else
  12. # define Chk(z)   /* Chk(z) */
  13. # define Minfo(z) /* Minfo(z) */
  14. # endif
  15.