home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume11 / rpl / part02 / debug.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-10  |  762 b   |  47 lines

  1. /****************************************************************
  2.  
  3. Module:
  4.     Debug
  5.  
  6. Description:
  7.     Contains variables of all types to enable casts in the debugger.
  8.  
  9.  
  10. Modification history:
  11.  
  12.     0.0    hjp    89-07-08
  13.  
  14.         initial version
  15.  
  16.     0.2    hjp    89-08-28
  17.  
  18.         opobjs added
  19.  
  20. ****************************************************************/
  21.  
  22. #ifndef I_debug
  23.  
  24.     #include "rpl.h"
  25.  
  26.     extern nameobj    no;
  27.     extern nameobj    * nop;
  28.     extern stringobj    so;
  29.     extern stringobj    * sop;
  30.     extern opobj    oo;
  31.     extern opobj    * oop;
  32.  
  33.     void * debugmalloc (unsigned);
  34.     void   debugfree (void *);
  35.     void * debugrealloc (void *, unsigned);
  36.  
  37.     void    memmap (void);
  38.     void    clearmem (uint);
  39.  
  40.     /*
  41.     #define malloc(a) debugmalloc(a)
  42.     #define free(a) debugfree(a)
  43.     #define realloc(a, b) debugrealloc(a, b)
  44.     */
  45.  
  46. #endif
  47.