GBDK 2020 Docs
4.1.1
API Documentation for GBDK 2020
types.h
Go to the documentation of this file.
1
5
#ifndef ASM_Z80_TYPES_INCLUDE
6
#define ASM_Z80_TYPES_INCLUDE
7
8
#ifndef __PORT_z80
9
#error z80 only.
10
#endif
11
12
#ifdef __SDCC
13
14
#define Z88DK_CALLEE __sdcccall(0) __z88dk_callee
15
#define Z88DK_FASTCALL __z88dk_fastcall
16
17
#define NONBANKED __nonbanked
18
#define BANKED __banked
19
#define REENTRANT
31
#define CRITICAL __critical
32
41
#define INTERRUPT __interrupt
42
43
#else
44
45
#define Z88DK_CALLEE
46
#define Z88DK_FASTCALL
47
48
#endif
49
52
typedef
signed
char
INT8
;
55
typedef
unsigned
char
UINT8
;
58
typedef
signed
int
INT16
;
61
typedef
unsigned
int
UINT16
;
64
typedef
signed
long
INT32
;
67
typedef
unsigned
long
UINT32
;
68
69
#ifndef __SIZE_T_DEFINED
70
#define __SIZE_T_DEFINED
71
typedef
unsigned
int
size_t
;
72
#endif
73
77
typedef
unsigned
int
clock_t
;
78
79
#endif
UINT32
unsigned long UINT32
Definition:
types.h:61
INT16
signed int INT16
Definition:
types.h:52
INT32
signed long INT32
Definition:
types.h:58
size_t
unsigned int size_t
Definition:
types.h:65
INT8
signed char INT8
Definition:
types.h:46
UINT16
unsigned int UINT16
Definition:
types.h:55
UINT8
unsigned char UINT8
Definition:
types.h:49
clock_t
unsigned int clock_t
Definition:
types.h:71