SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1
#ifndef _DOLPHIN_TYPES_H_
2
#define _DOLPHIN_TYPES_H_
3
4
typedef
signed
char
s8
;
5
typedef
unsigned
char
u8
;
6
typedef
signed
short
int
s16
;
7
typedef
unsigned
short
int
u16
;
8
typedef
signed
long
s32
;
9
typedef
unsigned
long
u32
;
10
typedef
signed
long
long
int
s64
;
11
typedef
unsigned
long
long
int
u64
;
12
13
typedef
float
f32
;
14
typedef
double
f64
;
15
typedef
volatile
f32
vf32
;
16
typedef
volatile
f64
vf64
;
17
18
typedef
char
*
Ptr
;
19
20
typedef
int
BOOL
;
21
22
#define FALSE 0
23
#define TRUE 1
24
25
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))
26
27
#ifndef NULL
28
#define NULL ((void*) 0)
29
#endif
30
31
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
32
33
#include "
cmath.h
"
34
35
#include <
ctype.h
>
36
#include <
stdarg.h
>
37
#include <
stdio.h
>
38
#include <
string.h
>
39
40
#endif
cmath.h
ctype.h
BOOL
int BOOL
Definition
types.h:20
u32
unsigned long u32
Definition
types.h:9
s16
signed short int s16
Definition
types.h:6
s64
signed long long int s64
Definition
types.h:10
f32
float f32
Definition
types.h:13
f64
double f64
Definition
types.h:14
vf64
volatile f64 vf64
Definition
types.h:16
u16
unsigned short int u16
Definition
types.h:7
Ptr
char * Ptr
Definition
types.h:18
u64
unsigned long long int u64
Definition
types.h:11
vf32
volatile f32 vf32
Definition
types.h:15
s8
signed char s8
Definition
hsd_3B2B.h:3
s32
signed long s32
Definition
hsd_3B2B.h:1
u8
unsigned char u8
Definition
hsd_3B2B.h:2
stdarg.h
stdio.h
string.h
extern
dolphin
include
dolphin
types.h
Generated by
1.15.0