GBDK 2020 Docs
API Documentation for GBDK 2020
types.h
Go to the documentation of this file.
1 
4 #ifndef ASM_GBZ80_TYPES_INCLUDE
5 #define ASM_GBZ80_TYPES_INCLUDE
6 
7 #if SDCC_PORT!=gbz80
8 #error gbz80 only.
9 #endif
10 
11 #define NONBANKED __nonbanked
12 #define BANKED __banked
13 #define CRITICAL __critical
14 #define INTERRUPT __interrupt
15 
18 typedef signed char INT8;
21 typedef unsigned char UINT8;
24 typedef signed int INT16;
27 typedef unsigned int UINT16;
30 typedef signed long INT32;
33 typedef unsigned long UINT32;
34 
35 #ifndef __SIZE_T_DEFINED
36 #define __SIZE_T_DEFINED
37 typedef int size_t;
38 #endif
39 
43 typedef UINT16 clock_t;
44 
45 #endif
UINT8
unsigned char UINT8
Definition: types.h:21
INT16
signed int INT16
Definition: types.h:24
UINT16
unsigned int UINT16
Definition: types.h:27
INT32
signed long INT32
Definition: types.h:30
UINT32
unsigned long UINT32
Definition: types.h:33
clock_t
UINT16 clock_t
Definition: types.h:43
size_t
int size_t
Definition: types.h:37
INT8
signed char INT8
Definition: types.h:18