Back to index

tetex-bin  3.0
gtypes.h
Go to the documentation of this file.
00001 /*
00002  * gtypes.h
00003  *
00004  * Some useful simple types.
00005  *
00006  * Copyright 1996-2003 Glyph & Cog, LLC
00007  */
00008 
00009 #ifndef GTYPES_H
00010 #define GTYPES_H
00011 
00012 /*
00013  * These have stupid names to avoid conflicts with some (but not all)
00014  * C++ compilers which define them.
00015  */
00016 typedef int GBool;
00017 #define gTrue 1
00018 #define gFalse 0
00019 
00020 /*
00021  * These have stupid names to avoid conflicts with <sys/types.h>,
00022  * which on various systems defines some random subset of these.
00023  */
00024 typedef unsigned char Guchar;
00025 typedef unsigned short Gushort;
00026 typedef unsigned int Guint;
00027 typedef unsigned long Gulong;
00028 
00029 #endif