Initial revision
[swftools.git] / pdf2swf / xpdf / gtypes.h
1 /*
2  * gtypes.h
3  *
4  * Some useful simple types.
5  *
6  * Copyright 1996 Derek B. Noonburg
7  */
8
9 #ifndef GTYPES_H
10 #define GTYPES_H
11
12 /*
13  * These have stupid names to avoid conflicts with some (but not all)
14  * C++ compilers which define them.
15  */
16 typedef int GBool;
17 #define gTrue 1
18 #define gFalse 0
19
20 /*
21  * These have stupid names to avoid conflicts with <sys/types.h>,
22  * which on various systems defines some random subset of these.
23  */
24 typedef unsigned char Guchar;
25 typedef unsigned short Gushort;
26 typedef unsigned int Guint;
27 typedef unsigned long Gulong;
28
29 #endif