GLES2N64 (from mupen64plus-ae) plugin. Compile and run on the OpenPandora
[mupen64plus-pandora.git] / source / gles2n64 / src / Types.h
CommitLineData
34cf4058 1#ifndef TYPES_H
2#define TYPES_H
3
4#include <stdint.h>
5
6typedef uint8_t u8; /* unsigned 8-bit */
7typedef uint16_t u16; /* unsigned 16-bit */
8typedef uint32_t u32; /* unsigned 32-bit */
9typedef uint64_t u64; /* unsigned 64-bit */
10
11typedef int8_t s8; /* signed 8-bit */
12typedef int16_t s16; /* signed 16-bit */
13typedef int32_t s32; /* signed 32-bit */
14typedef int64_t s64; /* signed 64-bit */
15
16typedef volatile uint8_t vu8; /* unsigned 8-bit */
17typedef volatile uint16_t vu16; /* unsigned 16-bit */
18typedef volatile uint32_t vu32; /* unsigned 32-bit */
19typedef volatile uint64_t vu64; /* unsigned 64-bit */
20
21typedef volatile int8_t vs8; /* signed 8-bit */
22typedef volatile int16_t vs16; /* signed 16-bit */
23typedef volatile int32_t vs32; /* signed 32-bit */
24typedef volatile int64_t vs64; /* signed 64-bit */
25
26typedef float f32; /* single prec floating point */
27typedef double f64; /* double prec floating point */
28
29#ifndef TRUE
30#define TRUE 1
31#endif
32
33#ifndef FALSE
34#define FALSE 0
35#endif
36
37#ifndef NULL
38#define NULL 0
39#endif
40
41#endif // TYPES_H
42