BsTypes.h 467 B

12345678910111213141516171819202122232425
  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. typedef unsigned short WCHAR;
  15. #if BS_COMPILER == BS_COMPILER_MSVC
  16. typedef unsigned __int64 UINT64;
  17. typedef __int64 INT64;
  18. #else
  19. typedef unsigned long long UINT64;
  20. typedef long long INT64;
  21. #endif
  22. }