📄 portability.h
字号:
#ifndef ScpPortability_IT_03333334444444444433221
#define ScpPortability_IT_03333334444444444433221
#define INLINE __inline
#ifndef NULL
#define NULL 0
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
typedef int BOOLEAN;
typedef int BOOL;
typedef unsigned char INT8U;
typedef signed char INT8S;
typedef unsigned short int INT16U;
typedef signed short int INT16S;
typedef unsigned int INT32U;
typedef signed int INT32S;
typedef unsigned char BYTE;
typedef unsigned short int WORD;
typedef unsigned int DWORD;
typedef unsigned __int64 QWORD;
typedef float FP;
typedef int Fixed;
typedef int INT32;
typedef unsigned __int64 UINT64;
typedef unsigned int UINT32;
typedef unsigned short int UINT16;
typedef unsigned char UINT8;
typedef unsigned int SIZE_T;
typedef void *PVOID;
typedef char *PCHAR;
typedef BYTE *PBYTE;
typedef WORD *PWORD;
typedef DWORD *PDWORD;
typedef QWORD *PQWORD;
typedef
union
{
struct
{
DWORD B0:8;
DWORD B1:8;
DWORD B2:8;
DWORD B3:8;
} F;
DWORD A;
} DWBYU;
typedef
union
{
struct
{
DWORD B0:8;
DWORD B1:8;
DWORD unused2:8;
DWORD unused3:8;
} F;
WORD A;
} WBYU;
typedef
union
{
struct
{
DWORD BL:4;
DWORD BH:4;
DWORD unused2:8;
DWORD unused3:8;
DWORD unused4:8;
} F;
DWORD A:8;
} HBBU;
typedef
union
{
struct
{
UINT32 Lo;
UINT32 Hi;
} F;
UINT64 A;
} U32X2_U64;
typedef
union
{
struct
{
UINT32 S0:4;
UINT32 S1:4;
UINT32 S2:4;
UINT32 S3:4;
UINT32 S4:4;
UINT32 S5:4;
UINT32 S6:4;
UINT32 S7:4;
} F;
UINT32 A;
} U4X8_U32;
typedef
union
{
struct
{
UINT32 Lo:4;
UINT32 Hi:4;
} F;
UINT8 A;
} U4X2_U8;
typedef
union
{
struct
{
UINT32 S0:8;
UINT32 S1:8;
UINT32 S2:8;
UINT32 S3:8;
UINT32 S4:8;
UINT32 S5:8;
UINT32 S6:8;
UINT32 S7:8;
} F;
UINT64 A;
} U8X8_U64;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -