GBDK 2020 Docs  4.5.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
53typedef signed char INT8;
56typedef unsigned char UINT8;
59typedef signed int INT16;
62typedef unsigned int UINT16;
65typedef signed long INT32;
68typedef unsigned long UINT32;
69
70#ifndef __SIZE_T_DEFINED
71#define __SIZE_T_DEFINED
72typedef unsigned int size_t;
73#endif
74
78typedef unsigned int clock_t;
79
80#endif
signed int INT16
Definition: types.h:53
signed long INT32
Definition: types.h:59
signed char INT8
Definition: types.h:47
unsigned int UINT16
Definition: types.h:56
unsigned long UINT32
Definition: types.h:62
unsigned char UINT8
Definition: types.h:50
unsigned int clock_t
Definition: types.h:72
unsigned int size_t
Definition: types.h:66