home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Demos / Tools / QC™ 1.1.3 / QCAPI / BadAPPL / BadAPPL src / BadMacros.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-21  |  656 b   |  33 lines  |  [TEXT/R*ch]

  1. /* _____________________________________________________________________
  2.  
  3.     BadMacros.h
  4.     
  5.     Copyright © 1993-1995 Onyx Technology - All rights reserved
  6.  
  7.     Useful general purpose macros
  8. _____________________________________________________________________ */
  9.  
  10. #ifndef    _H_BadMacros
  11. #define _H_BadMacros
  12.  
  13. #ifndef    regvar
  14. #define    regvar    register
  15. #endif
  16.  
  17. #ifndef    ulong
  18. #define    ulong    unsigned long
  19. #endif
  20.  
  21. #define    uchar    unsigned char
  22. #define    ushort    unsigned short
  23.  
  24. #define    ourWindow(w)        ((gStatusWindow != NULL) && (w == gStatusWindow))
  25.  
  26. #ifdef _CHECKPOINTS_
  27.     #define    DbugStr(x)        DebugStr((StringPtr) (x))
  28. #else
  29.     #define DbugStr(x)        {}
  30. #endif
  31.  
  32. #endif    //_H_BadMacros
  33.