Anonymous structures in StructureUnion
Posted: Mon Feb 10, 2014 7:30 pm
Please add аnonymous structures in StructureUnion.
For example, there is a structure LARGE_INTEGER.Translated to PB, looks so.But PB not support this syntax, and it is necessary to add a new structure, which is inconvenient.
More would be great if you add bitfields in structures.
For example, there is a structure LARGE_INTEGER.
Code: Select all
typedef union _LARGE_INTEGER {
struct {
DWORD LowPart;
LONG HighPart;
};
LONGLONG QuadPart;
} LARGE_INTEGER, *PLARGE_INTEGER;
Code: Select all
Structure LARGE_INTEGER
StructureUnion
Structure
LowPart.l
HighPart.l
EndStructure
QuadPart.q
EndStructureUnion
EndStructure
Code: Select all
Structure LARGE_INTEGER_
LowPart.l
HighPart.l
EndStructure
Structure LARGE_INTEGER
StructureUnion
x.LARGE_INTEGER_
QuadPart.q
EndStructureUnion
EndStructure