Melee Modding Library  2.0.0
A C library for modding Super Smash Bros Melee
gctypes.h
Go to the documentation of this file.
1 
7 #ifndef MML_GC_TYPES_H
8 #define MML_GC_TYPES_H
9 
10 #include <stdint.h>
11 
13 
14 typedef uint8_t u8;
15 typedef uint16_t u16;
16 typedef uint32_t u32;
17 
18 typedef int8_t s8;
19 typedef int16_t s16;
20 typedef int32_t s32;
21 
22 typedef volatile u8 vu8;
23 typedef volatile u16 vu16;
24 typedef volatile u32 vu32;
25 
26 typedef volatile s8 vs8;
27 typedef volatile s16 vs16;
28 typedef volatile s32 vs32;
29 
30 typedef float f32;
31 typedef double f64;
32 
33 typedef volatile float vf32;
34 typedef volatile double vf64;
35 
36 typedef u32 size_t;
37 
38 typedef u32 bool;
39 typedef volatile bool vbool;
40 
41 #define true 1
42 #define false 0
43 #define __bool_true_false_are_defined 1
44 
45 #define NULL ((void*) 0)
46 
47 
48 
49 #endif
uint8_t u8
Definition: gctypes.h:14
volatile u8 vu8
Definition: gctypes.h:22
u32 size_t
Definition: gctypes.h:36
volatile s8 vs8
Definition: gctypes.h:26
u32 bool
Definition: gctypes.h:38
volatile s32 vs32
Definition: gctypes.h:28
volatile float vf32
Definition: gctypes.h:33
int16_t s16
Definition: gctypes.h:19
double f64
Definition: gctypes.h:31
float f32
Definition: gctypes.h:30
volatile s16 vs16
Definition: gctypes.h:27
volatile bool vbool
Definition: gctypes.h:39
uint16_t u16
Definition: gctypes.h:15
volatile double vf64
Definition: gctypes.h:34
int32_t s32
Definition: gctypes.h:20
uint32_t u32
Definition: gctypes.h:16
int8_t s8
Definition: gctypes.h:18
volatile u32 vu32
Definition: gctypes.h:24
volatile u16 vu16
Definition: gctypes.h:23