initial commit for github
This commit is contained in:
commit
60968612de
370 changed files with 68427 additions and 0 deletions
31
test/headerrepresentation/files/packing_header.h
Normal file
31
test/headerrepresentation/files/packing_header.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
#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;
|
Loading…
Add table
Add a link
Reference in a new issue