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
4typedef signed char s8;
5typedef unsigned char u8;
6typedef signed short int s16;
7typedef unsigned short int u16;
8#ifdef __MWERKS__
9typedef signed long s32;
10typedef unsigned long u32;
11#else
12typedef signed int s32;
13typedef unsigned int u32;
14#endif
15typedef signed long long int s64;
16typedef unsigned long long int u64;
17
18typedef float f32;
19typedef double f64;
20typedef volatile f32 vf32;
21typedef volatile f64 vf64;
22
23typedef char* Ptr;
24
25typedef 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
int BOOL
Definition types.h:25
signed int s32
Definition types.h:12
unsigned int u32
Definition types.h:13
signed char s8
Definition types.h:4
signed short int s16
Definition types.h:6
signed long long int s64
Definition types.h:15
float f32
Definition types.h:18
double f64
Definition types.h:19
volatile f64 vf64
Definition types.h:21
unsigned short int u16
Definition types.h:7
char * Ptr
Definition types.h:23
unsigned long long int u64
Definition types.h:16
volatile f32 vf32
Definition types.h:20
unsigned char u8
Definition types.h:5