summaryrefslogtreecommitdiffstats
path: root/src/shorthand.h
blob: b5174a1ff6819ea9172cb794d2b77762f120d037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef SHORTHAND_H
#define SHORTHAND_H

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

typedef uint8_t      u8;
typedef uint16_t     u16;
typedef uint32_t     u32;
typedef uint64_t     u64;
typedef int8_t       s8;
typedef int16_t      s16;
typedef int32_t      s32;
typedef int64_t      s64;
typedef volatile u8  vu8;
typedef volatile u16 vu16;
typedef volatile u32 vu32;
typedef volatile u64 vu64;
typedef volatile s8  vs8;
typedef volatile s16 vs16;
typedef volatile s32 vs32;
typedef volatile s64 vs64;
typedef float        f32;
typedef double       f64;

#endif // SHORTHAND_H