home *** CD-ROM | disk | FTP | other *** search
/ Graphics 16,000 / graphics-16000.iso / msdos / animutil / pvquan / flilib / aatypes.h < prev    next >
C/C++ Source or Header  |  1992-11-30  |  674b  |  25 lines

  1. /* aatypes.h  Copyright 1990 Dancing Flame, San Francisco */
  2.  
  3. #ifndef AATYPES_H
  4. #define AATYPES_H
  5.  
  6. #define UBYTE unsigned char
  7. #define BYTE signed char
  8. #define SHORT short
  9. #define USHORT unsigned short
  10. #define LONG long
  11. #define ULONG unsigned long
  12.  
  13. typedef void (*AAvec)();    /* pointer to a void-valued function */
  14. typedef int (*AAivec)();    /* pointer to an integer valued function */
  15.  
  16. typedef int Boolean;    /* functions explicitly returning 0 or 1 */
  17. #define TRUE 1
  18. #define FALSE 0
  19. #define Success 0        /* for Errval returns */
  20.  
  21. /* useful macro to count elements in an array */
  22. #define Array_els(arr) (sizeof(arr)/sizeof(arr[0]))
  23.  
  24. #endif /* AATYPES_H */
  25.