blob: a9d281325c85a566080cb4772028bd67a3004348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
** TeCGraf - PUC-Rio
** $Id: $
*/
#ifndef types_h
#define types_h
#ifndef real
#define real float
#endif
typedef int Bool; /* boolean values */
typedef unsigned char Byte; /* unsigned 8 bits */
typedef unsigned short Word; /* unsigned 16 bits */
#define MAX_WORD 0xFFFD /* maximum value of a word (FFFF-2 for safety) */
typedef signed long Long; /* 32 bits */
typedef unsigned int IntPoint; /* unsigned with same size as a pointer (for hashing) */
#endif
|