home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0040 - 0049 / ibm0040-0049 / ibm0040.tar / ibm0040 / IMGPROC.ZIP / C1.ZIP / MISC.H next >
Encoding:
C/C++ Source or Header  |  1990-10-11  |  619 b   |  27 lines

  1. /****************************************/
  2. /*     Miscellaneous Include File    */
  3. /*   for Image Processing Functions    */
  4. /*       written in Turbo C 2.0        */
  5. /*                by            */
  6. /*         Craig A. Lindley        */
  7. /*                    */
  8. /*   Vers: 1.0  Last Update: 10/05/89    */
  9. /****************************************/
  10.  
  11. /* Define a new BYTE type */
  12.  
  13. #ifndef __BYTE
  14. #define __BYTE
  15. typedef unsigned char BYTE;
  16. #endif
  17.  
  18. #define TRUE        1
  19. #define FALSE       0
  20.  
  21. #define VIDEO    0x10
  22.  
  23. /* Common Macros */
  24. #define MIN(a,b) ((a)>(b)) ? (b):(a)
  25. #define MAX(a,b) ((a)>(b)) ? (a):(b)
  26. #define SQUARE(x) (x)*(x)
  27.