Mario Kart 64
Loading...
Searching...
No Matches
ultratypes.h
Go to the documentation of this file.
1#ifndef _ULTRA64_TYPES_H_
2#define _ULTRA64_TYPES_H_
3
4#ifndef NULL
5#define NULL (void*) 0
6#endif
7
8#define true 1
9#define false 0
10
11typedef signed char s8;
12typedef unsigned char u8;
13typedef signed short int s16;
14typedef unsigned short int u16;
15typedef signed int s32;
16typedef unsigned int u32;
17typedef signed long long int s64;
18typedef unsigned long long int u64;
19
20#define bool signed int
21
22typedef signed char bool8;
23typedef unsigned char ubool8;
24
25typedef volatile u8 vu8;
26typedef volatile u16 vu16;
27typedef volatile u32 vu32;
28typedef volatile u64 vu64;
29typedef volatile s8 vs8;
30typedef volatile s16 vs16;
31typedef volatile s32 vs32;
32typedef volatile s64 vs64;
33
34typedef float f32;
35typedef double f64;
36
37#ifdef TARGET_N64
38typedef u32 size_t;
39typedef s32 ssize_t;
40typedef u32 uintptr_t;
41typedef u8 uint8_t;
42typedef s32 intptr_t;
43typedef s32 ptrdiff_t;
44#else
45#include <stddef.h>
46#include <stdint.h>
47typedef ptrdiff_t ssize_t;
48#endif
49
50#endif
signed long long int s64
Definition llconv.c:1
unsigned long long int u64
Definition llconv.c:2
signed int s32
Definition ultratypes.h:15
volatile s8 vs8
Definition ultratypes.h:29
unsigned int u32
Definition ultratypes.h:16
signed char s8
Definition ultratypes.h:11
volatile u8 vu8
Definition ultratypes.h:25
volatile s64 vs64
Definition ultratypes.h:32
signed short int s16
Definition ultratypes.h:13
signed long long int s64
Definition ultratypes.h:17
float f32
Definition ultratypes.h:34
volatile u16 vu16
Definition ultratypes.h:26
volatile s32 vs32
Definition ultratypes.h:31
volatile s16 vs16
Definition ultratypes.h:30
double f64
Definition ultratypes.h:35
signed char bool8
Definition ultratypes.h:22
unsigned short int u16
Definition ultratypes.h:14
ptrdiff_t ssize_t
Definition ultratypes.h:47
volatile u32 vu32
Definition ultratypes.h:27
unsigned long long int u64
Definition ultratypes.h:18
unsigned char ubool8
Definition ultratypes.h:23
volatile u64 vu64
Definition ultratypes.h:28
unsigned char u8
Definition ultratypes.h:12