diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-04-30 20:13:36 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-04-30 20:13:36 -0400 |
commit | 6c3731902319116e8e73b14e2b75d5fd8c9642ff (patch) | |
tree | 72b3ac0553ea193e69c70325bcdb5579d263e211 /arm9/lib/include/types.h | |
parent | 70dcdeff9aaeae583be70cdd7371b6b8a5fe6076 (diff) | |
parent | 081bd6efce613ed078407ab8fd24765275385f9f (diff) |
Merge branch 'master' of https://github.com/martmists/pokediamond into pikalax_work
Diffstat (limited to 'arm9/lib/include/types.h')
-rw-r--r-- | arm9/lib/include/types.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arm9/lib/include/types.h b/arm9/lib/include/types.h new file mode 100644 index 00000000..5ad2c75e --- /dev/null +++ b/arm9/lib/include/types.h @@ -0,0 +1,40 @@ +#ifndef POKEDIAMOND_NITRO_TYPES_H +#define POKEDIAMOND_NITRO_TYPES_H + +typedef unsigned char u8; +typedef unsigned short int u16; +typedef unsigned long u32; + +typedef signed char s8; +typedef signed short int s16; +typedef signed long s32; + +typedef unsigned long long int u64; +typedef signed long long int s64; + +typedef volatile u8 vu8; +typedef volatile u16 vu16; +typedef volatile u32 vu32; +typedef volatile u64 vu64; + +typedef volatile s8 vs8; +typedef volatile s16 vs16; +typedef volatile s32 vs32; +typedef volatile s64 vs64; + +typedef float f32; +typedef volatile f32 vf32; + +typedef int BOOL; +#define TRUE 1 +#define FALSE 0 + +#ifndef NULL +#ifdef __cplusplus +#define NULL 0 +#else // __cplusplus +#define NULL ((void *)0) +#endif // __cplusplus +#endif + +#endif //POKEDIAMOND_NITRO_TYPES_H |