beta-0.89.2
[luatex.git] / source / libs / poppler / poppler-src / goo / gtypes.h
bloba8d4519497ea471b73bbe528444c9d0b032618f0
1 /*
2 * gtypes.h
4 * Some useful simple types.
6 * Copyright 1996-2003 Glyph & Cog, LLC
7 */
9 //========================================================================
11 // Modified under the Poppler project - http://poppler.freedesktop.org
13 // All changes made under the Poppler project to this file are licensed
14 // under GPL version 2 or later
16 // Copyright (C) 2010 Patrick Spendrin <ps_ml@gmx.de>
17 // Copyright (C) 2010 Albert Astals Cid <aacid@kde.org>
18 // Copyright (C) 2013 Adrian Johnson <ajohnson@redneon.com>
20 // To see a description of the changes please see the Changelog file that
21 // came with your tarball or type make ChangeLog if you are building from git
23 //========================================================================
25 #ifndef GTYPES_H
26 #define GTYPES_H
28 #include "poppler-config.h"
31 * These have stupid names to avoid conflicts with some (but not all)
32 * C++ compilers which define them.
34 typedef bool GBool;
35 #define gTrue true
36 #define gFalse false
38 #ifdef _MSC_VER
39 #pragma warning(disable: 4800) /* 'type' : forcing value to bool 'true' or 'false' (performance warning) */
40 #endif
43 * These have stupid names to avoid conflicts with <sys/types.h>,
44 * which on various systems defines some random subset of these.
46 typedef unsigned char Guchar;
47 typedef unsigned short Gushort;
48 typedef unsigned int Guint;
49 typedef unsigned long Gulong;
50 typedef long long Goffset;
52 #endif