X-Git-Url: https://sfsrealm.hopto.org/projects/gitweb.cgi?p=SFmpqapi.git;a=blobdiff_plain;f=SFTypes.h;fp=SFTypes.h;h=4e91523fbf077549523ecf99a228140925986c4d;hp=0000000000000000000000000000000000000000;hb=1c63ef2a5d9f881e1006c4c674a81cebd9596c5e;hpb=e14bee2cf45259da18e21059c31c7069f216bea6 diff --git a/SFTypes.h b/SFTypes.h new file mode 100644 index 0000000..4e91523 --- /dev/null +++ b/SFTypes.h @@ -0,0 +1,26 @@ +#ifndef SFTYPES_INCLUDED +#define SFTYPES_INCLUDED + +typedef signed char Int8; +typedef signed short Int16; +typedef signed long Int32; +typedef signed __int64 Int64; + +typedef unsigned char UInt8; +typedef unsigned short UInt16; +typedef unsigned long UInt32; +typedef unsigned __int64 UInt64; + +union IntConv { + Int8 i8[8]; + UInt8 ui8[8]; + Int16 i16[4]; + UInt16 ui16[4]; + Int32 i32[2]; + UInt32 ui32[2]; + Int64 i64; + UInt64 ui64; +}; + +#endif // #ifndef SFTYPES_INCLUDED +