GBDK 2020 Docs
4.3.0
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
20
#define NO_OVERLAY_LOCALS
32
#define CRITICAL __critical
33
42
#define INTERRUPT __interrupt
43
44
#else
45
46
#define Z88DK_CALLEE
47
#define Z88DK_FASTCALL
48
49
#endif
50
53
typedef
signed
char
INT8
;
56
typedef
unsigned
char
UINT8
;
59
typedef
signed
int
INT16
;
62
typedef
unsigned
int
UINT16
;
65
typedef
signed
long
INT32
;
68
typedef
unsigned
long
UINT32
;
69
70
#ifndef __SIZE_T_DEFINED
71
#define __SIZE_T_DEFINED
72
typedef
unsigned
int
size_t
;
73
#endif
74
78
typedef
unsigned
int
clock_t
;
79
80
#endif
UINT32
unsigned long UINT32
Definition:
types.h:62
INT16
signed int INT16
Definition:
types.h:53
INT32
signed long INT32
Definition:
types.h:59
size_t
unsigned int size_t
Definition:
types.h:66
INT8
signed char INT8
Definition:
types.h:47
UINT16
unsigned int UINT16
Definition:
types.h:56
UINT8
unsigned char UINT8
Definition:
types.h:50
clock_t
unsigned int clock_t
Definition:
types.h:72