BsTypes.h 711 B

1234567891011121314151617181920212223242526
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsPlatformDefines.h"
  5. /**
  6. * @brief Commonly used types.
  7. */
  8. namespace BansheeEngine
  9. {
  10. typedef char INT8;
  11. typedef unsigned char UINT8;
  12. typedef short INT16;
  13. typedef unsigned short UINT16;
  14. typedef int INT32;
  15. typedef unsigned int UINT32;
  16. #if BS_COMPILER == BS_COMPILER_MSVC
  17. typedef unsigned __int64 UINT64;
  18. typedef __int64 INT64;
  19. #else
  20. typedef unsigned long long UINT64;
  21. typedef long long INT64;
  22. #endif
  23. }