home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics 16,000
/
graphics-16000.iso
/
msdos
/
animutil
/
pvquan
/
flilib
/
aatypes.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-30
|
674b
|
25 lines
/* aatypes.h Copyright 1990 Dancing Flame, San Francisco */
#ifndef AATYPES_H
#define AATYPES_H
#define UBYTE unsigned char
#define BYTE signed char
#define SHORT short
#define USHORT unsigned short
#define LONG long
#define ULONG unsigned long
typedef void (*AAvec)(); /* pointer to a void-valued function */
typedef int (*AAivec)(); /* pointer to an integer valued function */
typedef int Boolean; /* functions explicitly returning 0 or 1 */
#define TRUE 1
#define FALSE 0
#define Success 0 /* for Errval returns */
/* useful macro to count elements in an array */
#define Array_els(arr) (sizeof(arr)/sizeof(arr[0]))
#endif /* AATYPES_H */