Diffstat (limited to 'noncore/unsupported/qpdf/goo/gtypes.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/qpdf/goo/gtypes.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/noncore/unsupported/qpdf/goo/gtypes.h b/noncore/unsupported/qpdf/goo/gtypes.h new file mode 100644 index 0000000..6593267 --- a/dev/null +++ b/noncore/unsupported/qpdf/goo/gtypes.h | |||
@@ -0,0 +1,29 @@ | |||
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 | ||