Go to the documentation of this file.
1 #pragma once
2 #include <stdint.h>
3 #include <stdbool.h>
5 #ifndef TRUE
6 #define TRUE 1
7 #endif
9 #ifndef FALSE
10 #define FALSE 0
11 #endif
13 typedef int BOOL;
15 typedef uint8_t u8;
16 typedef uint16_t u16;
17 typedef uint32_t u32;
18 typedef uint64_t u64;
20 typedef int8_t s8;
21 typedef int16_t s16;
22 typedef int32_t s32;
23 typedef int64_t s64;
25 typedef volatile u8 vu8;
26 typedef volatile u16 vu16;
27 typedef volatile u32 vu32;
28 typedef volatile u64 vu64;
30 typedef volatile s8 vs8;
31 typedef volatile s16 vs16;
32 typedef volatile s32 vs32;
33 typedef volatile s64 vs64;
35 typedef float f32;
36 typedef double f64;
38 typedef volatile float vf32;
39 typedef volatile double vf64;
41 #define countof(array) (sizeof(array) / sizeof(*array))
uint8_t u8
Definition: types.h:15
int32_t s32
32bit signed integer
Definition: gctypes.h:24
volatile u8 vu8
Definition: types.h:25
volatile u16 vu16
Definition: types.h:26
uint64_t u64
Definition: types.h:18
volatile s32 vs32
Definition: types.h:32
volatile u64 vu64
Definition: types.h:28
int8_t s8
8bit signed integer
Definition: gctypes.h:22
int16_t s16
Definition: types.h:21
volatile s64 vs64
Definition: types.h:33
int8_t s8
Definition: types.h:20
volatile s16 vs16
Definition: types.h:31
uint16_t u16
16bit unsigned integer
Definition: gctypes.h:18
double f64
Definition: types.h:36
uint16_t u16
Definition: types.h:16
signed short int16_t
Definition: stdint.h:122
int32_t s32
Definition: types.h:22
signed int int32_t
Definition: stdint.h:123
int64_t s64
Definition: types.h:23
int16_t s16
16bit signed integer
Definition: gctypes.h:23
volatile float vf32
Definition: types.h:38
uint64_t u64
64bit unsigned integer
Definition: gctypes.h:20
uint32_t u32
Definition: types.h:17
volatile double vf64
Definition: types.h:39
volatile u32 vu32
Definition: types.h:27
int BOOL
Definition: types.h:13
signed __int64 int64_t
Definition: stdint.h:135
volatile s8 vs8
Definition: types.h:30
float f32
Definition: types.h:35
uint8_t u8
8bit unsigned integer
Definition: gctypes.h:17
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
unsigned short uint16_t
Definition: stdint.h:125
unsigned __int64 uint64_t
Definition: stdint.h:136
unsigned char uint8_t
Definition: stdint.h:124
unsigned int uint32_t
Definition: stdint.h:126
int64_t s64
64bit signed integer
Definition: gctypes.h:25
signed char int8_t
Definition: stdint.h:121