diff options
author | YamaArashi <shadow962@live.com> | 2016-01-31 04:29:44 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-01-31 04:29:44 -0800 |
commit | 6f1c90830216227a428e60c12da7c8b7a8f01b46 (patch) | |
tree | 1200c7e03ccb10df9ea7a82938781813da4d30a2 /include/global.h | |
parent | 179ebd2dbc75c65b41c9ccd634f356266649d13a (diff) |
string_util.c
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h new file mode 100644 index 000000000..37473afc8 --- /dev/null +++ b/include/global.h @@ -0,0 +1,34 @@ +#ifndef GUARD_GLOBAL_H +#define GUARD_GLOBAL_H + +typedef unsigned char u8; +typedef unsigned short u16; +typedef unsigned int u32; +typedef signed char s8; +typedef signed short s16; +typedef signed int s32; + +typedef volatile u8 vu8; +typedef volatile u16 vu16; +typedef volatile u32 vu32; +typedef volatile s8 vs8; +typedef volatile s16 vs16; +typedef volatile s32 vs32; + +typedef float f32; +typedef double f64; + +typedef u8 bool8; +typedef u16 bool16; +typedef u32 bool32; + +#define NULL (void *)0 + +#define TRUE 1 +#define FALSE 0 + +#include "gba/io_reg.h" +#include "gba/syscall.h" +#include "gba/macro.h" + +#endif // GUARD_GLOBAL_H |