types.h 486 B

12345678910111213141516171819202122
  1. #define U8_MAX UINT8_MAX
  2. #define I8_MIN INT8_MIN
  3. #define I8_MAX INT8_MAX
  4. #define U16_MAX UINT16_MAX
  5. #define I16_MIN INT16_MIN
  6. #define I16_MAX INT16_MAX
  7. #define U32_MAX UINT32_MAX
  8. #define I32_MIN INT32_MIN
  9. #define I32_MAX INT32_MAX
  10. #define U64_MAX UINT64_MAX
  11. #define I64_MIN INT64_MIN
  12. #define I64_MAX INT64_MAX
  13. typedef uint8_t u8;
  14. typedef int8_t i8;
  15. typedef uint16_t u16;
  16. typedef int16_t i16;
  17. typedef uint32_t u32;
  18. typedef int32_t i32;
  19. typedef uint64_t u64;
  20. typedef int64_t i64;