BsTypes.h 436 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "BsPlatformDefines.h"
  3. /**
  4. * @brief Commonly used types.
  5. */
  6. namespace BansheeEngine
  7. {
  8. typedef char INT8;
  9. typedef unsigned char UINT8;
  10. typedef short INT16;
  11. typedef unsigned short UINT16;
  12. typedef int INT32;
  13. typedef unsigned int UINT32;
  14. #if BS_COMPILER == BS_COMPILER_MSVC
  15. typedef unsigned __int64 UINT64;
  16. typedef __int64 INT64;
  17. #else
  18. typedef unsigned long long UINT64;
  19. typedef long long INT64;
  20. #endif
  21. }