| 1 | #ifndef TYPES_HH |
| 2 | #define TYPES_HH |
| 3 | |
| 4 | #include <cstdint> |
| 5 | #include <string> |
| 6 | #include <vector> |
| 7 | |
| 8 | typedef uint8_t u8; |
| 9 | typedef uint16_t u16; |
| 10 | typedef uint32_t u32; |
| 11 | typedef uint64_t u64; |
| 12 | |
| 13 | typedef int8_t i8; |
| 14 | typedef int16_t i16; |
| 15 | typedef int32_t i32; |
| 16 | typedef int64_t i64; |
| 17 | |
| 18 | typedef float f32; |
| 19 | typedef double f64; |
| 20 | |
| 21 | typedef const char *cstr; |
| 22 | typedef void *any; |
| 23 | |
| 24 | using std::string; |
| 25 | using std::vector; |
| 26 | #endif // TYPES_HH |