ddl/test/headerrepresentation/files/packing_header.h

32 lines
396 B
C
Raw Normal View History

2019-12-12 14:41:47 +01:00
#pragma pack(push, 4)
struct simple_struct1
{
tUInt8 a;
};
#pragma pack(pop)
#pragma pack(push, 1)
typedef struct
{
tUInt16 b;
} simple_struct2;
#pragma pack(pop)
#pragma pack(push, 2)
typedef struct simple_struct3
{
tUInt32 c;
} simple_struct4;
typedef struct
{
tUInt64 d;
} simple_struct5;
#pragma pack(pop)
#pragma pack(1)
typedef struct
{
tUInt64 e;
} simple_struct6;