StdTypes.h 583 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef ANKI_UTIL_STD_TYPES_H
  2. #define ANKI_UTIL_STD_TYPES_H
  3. #include <cstdint>
  4. #include <cstddef>
  5. namespace anki {
  6. /// @addtogroup util
  7. /// @{
  8. typedef int8_t I8;
  9. typedef int16_t I16;
  10. typedef int32_t I32;
  11. typedef int64_t I64;
  12. typedef int_fast32_t I; ///< Fast integer at least 32bit
  13. typedef uint8_t U8;
  14. typedef uint16_t U16;
  15. typedef uint32_t U32;
  16. typedef uint64_t U64;
  17. typedef uint_fast32_t U; ///< fast unsigned integer at least 32bit
  18. typedef size_t PtrSize; ///< Like size_t
  19. typedef float F32;
  20. typedef double F64;
  21. typedef bool Bool;
  22. /// @}
  23. } // end namespace anki
  24. #endif