SSBM Decomp
Toggle main menu visibility
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
#ifdef __MWERKS__
9
typedef
signed
long
s32
;
10
typedef
unsigned
long
u32
;
11
#else
12
typedef
signed
int
s32
;
13
typedef
unsigned
int
u32
;
14
#endif
15
typedef
signed
long
long
int
s64
;
16
typedef
unsigned
long
long
int
u64
;
17
18
typedef
float
f32
;
19
typedef
double
f64
;
20
typedef
volatile
f32
vf32
;
21
typedef
volatile
f64
vf64
;
22
23
typedef
char
*
Ptr
;
24
25
typedef
int
BOOL
;
26
27
#define FALSE 0
28
#define TRUE 1
29
30
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))
31
32
#ifndef NULL
33
#define NULL ((void*) 0)
34
#endif
35
36
#ifndef ARRAY_SIZE
37
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
38
#endif
39
40
#include <
ctype.h
>
41
#include <
stdarg.h
>
42
#include <
stdio.h
>
43
#include <
string.h
>
44
45
#include "
cmath.h
"
46
47
#endif
cmath.h
ctype.h
BOOL
int BOOL
Definition
types.h:25
s32
signed int s32
Definition
types.h:12
u32
unsigned int u32
Definition
types.h:13
s8
signed char s8
Definition
types.h:4
s16
signed short int s16
Definition
types.h:6
s64
signed long long int s64
Definition
types.h:15
f32
float f32
Definition
types.h:18
f64
double f64
Definition
types.h:19
vf64
volatile f64 vf64
Definition
types.h:21
u16
unsigned short int u16
Definition
types.h:7
Ptr
char * Ptr
Definition
types.h:23
u64
unsigned long long int u64
Definition
types.h:16
vf32
volatile f32 vf32
Definition
types.h:20
u8
unsigned char u8
Definition
types.h:5
stdarg.h
stdio.h
string.h
libs
dolphin
include
dolphin
types.h
Generated by
1.17.0