Stefan Reinauer | d6fac38 | 2015-05-05 13:35:18 -0700 | [diff] [blame^] | 1 | #ifndef _STDTYPES_H |
2 | #define _STDTYPES_H | ||||
3 | |||||
4 | #include <stdint.h> | ||||
5 | |||||
6 | typedef uint8_t u8; | ||||
7 | typedef uint16_t u16; | ||||
8 | typedef uint32_t u32; | ||||
9 | typedef uint64_t u64; | ||||
10 | typedef int8_t s8; | ||||
11 | typedef int16_t s16; | ||||
12 | typedef int32_t s32; | ||||
13 | |||||
14 | typedef uint8_t bool; | ||||
15 | #define true 1 | ||||
16 | #define false 0 | ||||
17 | |||||
18 | #endif /* _STDTYPES_H */ |