source: trunk/poppler/mypoppler/goo/gtypes.h @ 461

Last change on this file since 461 was 461, checked in by Silvan Scherrer, 11 years ago

poppler update to 0.14.2

File size: 1.2 KB
Line 
1/*
2 * gtypes.h
3 *
4 * Some useful simple types.
5 *
6 * Copyright 1996-2003 Glyph & Cog, LLC
7 */
8
9//========================================================================
10//
11// Modified under the Poppler project - http://poppler.freedesktop.org
12//
13// All changes made under the Poppler project to this file are licensed
14// under GPL version 2 or later
15//
16// Copyright (C) 2010 Patrick Spendrin <ps_ml@gmx.de>
17//
18// To see a description of the changes please see the Changelog file that
19// came with your tarball or type make ChangeLog if you are building from git
20//
21//========================================================================
22
23#ifndef GTYPES_H
24#define GTYPES_H
25
26/*
27 * These have stupid names to avoid conflicts with some (but not all)
28 * C++ compilers which define them.
29 */
30typedef int GBool;
31#define gTrue 1
32#define gFalse 0
33
34#ifdef _MSC_VER
35#pragma warning(disable: 4800) /* 'type' : forcing value to bool 'true' or 'false' (performance warning) */
36#endif
37
38/*
39 * These have stupid names to avoid conflicts with <sys/types.h>,
40 * which on various systems defines some random subset of these.
41 */
42typedef unsigned char Guchar;
43typedef unsigned short Gushort;
44typedef unsigned int Guint;
45typedef unsigned long Gulong;
46
47#endif
Note: See TracBrowser for help on using the repository browser.