~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to src/xpdflib/gtypes.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2004-06-08 00:44:02 UTC
  • Revision ID: james.westby@ubuntu.com-20040608004402-72yu51xlh7vt6p9m
Tags: upstream-6.0pre16
ImportĀ upstreamĀ versionĀ 6.0pre16

Show diffs side-by-side

added added

removed removed

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