source: tags/arb_5.3/ptpan/types.h

Last change on this file was 5722, checked in by boehnel, 15 years ago
  • Fixed indentation
File size: 1.4 KB
Line 
1/************************************************************************
2 Standard type definitions
3 Written by Chris Hodges <hodges@in.tum.de>.
4 Last change: 03.06.03
5 ************************************************************************/
6
7#ifndef TYPES_H
8#define TYPES_H
9#ifndef VOID
10#define VOID            void
11#endif
12
13typedef void               *APTR;       // 32-bit untyped pointer
14typedef long long           LLONG;      // signed 64-bit quantity
15typedef unsigned long long  ULLONG;     // unsigned 64-bit quantity
16typedef long                LONG;       // signed 32-bit quantity
17typedef unsigned long       ULONG;      // unsigned 32-bit quantity
18typedef unsigned long       LONGBITS;   // 32 bits manipulated individually
19typedef short               WORD;       // signed 16-bit quantity
20typedef unsigned short      UWORD;      // unsigned 16-bit quantity
21typedef unsigned short      WORDBITS;   // 16 bits manipulated individually
22typedef signed char         BYTE;       // signed 8-bit quantity
23typedef unsigned char       UBYTE;      // unsigned 8-bit quantity
24typedef unsigned char       BYTEBITS;   // 8 bits manipulated individually
25typedef char               *STRPTR;     // string pointer (NULL terminated)
26typedef short               BOOL;
27
28#ifndef TRUE
29#define TRUE    1
30#endif
31#ifndef FALSE
32#define FALSE   0
33#endif
34#ifndef NULL
35#define NULL    0L
36#endif
37#endif  // TYPES_H
38
39
Note: See TracBrowser for help on using the repository browser.