aboutsummaryrefslogtreecommitdiffstats
path: root/datatypes.h
blob: 532e58167d5ce50f044455dff68e6b7f54b39380 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#include "sysdefs.h"

typedef Card8 Byte;       /* Integertypen */
typedef Integ8 ShortInt;

#ifdef HAS16
typedef Card16 Word;
typedef Integ16 Integer;
#endif

typedef Card32 LongWord;
typedef Integ32 LongInt;

#ifdef HAS64
typedef Card64 QuadWord;
typedef Integ64 QuadInt;
#endif

#ifdef HAS64
typedef QuadInt LargeInt;
typedef QuadWord LargeWord;
#define LARGEBITS 64
#else
typedef LongInt LargeInt;
typedef LongWord LargeWord;
#define LARGEBITS 32
#endif

typedef signed int sint;
typedef unsigned int usint;

typedef char Char;

typedef double Double;
typedef float Single;

typedef Byte Boolean; 

typedef char String[256];
typedef char ShortString[65];

#ifndef TRUE
#define TRUE 1
#endif
#ifndef True
#define True 1
#endif

#ifndef FALSE
#define FALSE 0
#endif
#ifndef False
#define False 0
#endif