home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 502b.lha / cc / src / common.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-07  |  450 b   |  24 lines

  1. /* comment out the following define to turn off debugging dumps */
  2. #define DBUG_ENTER(x)
  3. #define DBUG_RETURN(x,y) return(y)
  4. #define DBUG_VOID_RETURN return
  5. #define DBUG_2(x,y)
  6. #define DBUG_3(x,y,z)
  7. #define DBUG_4(w,x,y,z)
  8. #define DBUG_GLOBALS
  9.  
  10. #include <string.h>
  11. #include <stdlib.h>
  12.  
  13. /* #include "dbug.h" */
  14.  
  15. #define NEW(t) ((t *)malloc(sizeof(t)))
  16. #define FREE(x) free((char *)x)
  17.  
  18. #ifndef NULL
  19. #define NULL 0
  20. #endif
  21.  
  22. #define TRUE 1
  23. #define FALSE 0
  24.