diff options
Diffstat (limited to 'src/shorthand.h')
-rwxr-xr-x | src/shorthand.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/shorthand.h b/src/shorthand.h new file mode 100755 index 0000000..b5174a1 --- /dev/null +++ b/src/shorthand.h | |||
@@ -0,0 +1,27 @@ | |||
1 | #ifndef SHORTHAND_H | ||
2 | #define SHORTHAND_H | ||
3 | |||
4 | #include <stdbool.h> | ||
5 | #include <stddef.h> | ||
6 | #include <stdint.h> | ||
7 | |||
8 | typedef uint8_t u8; | ||
9 | typedef uint16_t u16; | ||
10 | typedef uint32_t u32; | ||
11 | typedef uint64_t u64; | ||
12 | typedef int8_t s8; | ||
13 | typedef int16_t s16; | ||
14 | typedef int32_t s32; | ||
15 | typedef int64_t s64; | ||
16 | typedef volatile u8 vu8; | ||
17 | typedef volatile u16 vu16; | ||
18 | typedef volatile u32 vu32; | ||
19 | typedef volatile u64 vu64; | ||
20 | typedef volatile s8 vs8; | ||
21 | typedef volatile s16 vs16; | ||
22 | typedef volatile s32 vs32; | ||
23 | typedef volatile s64 vs64; | ||
24 | typedef float f32; | ||
25 | typedef double f64; | ||
26 | |||
27 | #endif // SHORTHAND_H | ||