Commit | Line | Data |
7214af3e |
1 | // License information for this code is in license.txt |
2 | |
1c63ef2a |
3 | #ifndef SFTYPES_INCLUDED |
4 | #define SFTYPES_INCLUDED |
5 | |
6 | typedef signed char Int8; |
7 | typedef signed short Int16; |
8 | typedef signed long Int32; |
9 | typedef signed __int64 Int64; |
10 | |
11 | typedef unsigned char UInt8; |
12 | typedef unsigned short UInt16; |
13 | typedef unsigned long UInt32; |
14 | typedef unsigned __int64 UInt64; |
15 | |
16 | union IntConv { |
17 | Int8 i8[8]; |
18 | UInt8 ui8[8]; |
19 | Int16 i16[4]; |
20 | UInt16 ui16[4]; |
21 | Int32 i32[2]; |
22 | UInt32 ui32[2]; |
23 | Int64 i64; |
24 | UInt64 ui64; |
25 | }; |
26 | |
27 | #endif // #ifndef SFTYPES_INCLUDED |
28 | |