11 #ifndef TYPES_HPP_INCLUDED
12 #define TYPES_HPP_INCLUDED
14 #include "defines.hpp"
23 typedef wchar_t Char ;
26 typedef PLATFORM(
signed __int8 , int8_t ) I8 ;
27 typedef PLATFORM(
unsigned __int8 , uint8_t ) U8 , Byte ;
28 typedef PLATFORM(
signed __int16 , int16_t ) I16, Short ;
29 typedef PLATFORM(
unsigned __int16, uint16_t) U16, UShort;
30 typedef PLATFORM(
signed __int32 , int32_t ) I32, Int ;
31 typedef PLATFORM(
unsigned __int32, uint32_t) U32, UInt ;
32 typedef PLATFORM(
signed __int64 , int64_t ) I64, Long ;
33 typedef PLATFORM(
unsigned __int64, uint64_t) U64, ULong ;
37 typedef std::atomic<Bool> aBool;
38 typedef std::atomic<Int > aInt ;
39 typedef std::atomic<UInt> aUInt;
40 typedef std::atomic<Flt > aFlt ;
41 typedef std::atomic<Byte> aByte;
46 #define FOREACH(T) for (UInt i = 0; i < T.size(); i++)
47 #define FOREACH_D(D, T) for (UInt D = 0; D < T.size(); D++)
49 #endif // TYPES_HPP_INCLUDED