mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Introduce clang-format (#240)
This commit is contained in:

committed by
GitHub

parent
e928fc9425
commit
b449da1fa3
@@ -51,17 +51,17 @@ typedef MxU8 MxBool;
|
||||
|
||||
// Must be union with struct for match.
|
||||
typedef union {
|
||||
struct {
|
||||
MxU8 bit0: 1;
|
||||
MxU8 bit1: 1;
|
||||
MxU8 bit2: 1;
|
||||
MxU8 bit3: 1;
|
||||
MxU8 bit4: 1;
|
||||
MxU8 bit5: 1;
|
||||
MxU8 bit6: 1;
|
||||
MxU8 bit7: 1;
|
||||
};
|
||||
// BYTE all; // ?
|
||||
struct {
|
||||
MxU8 bit0 : 1;
|
||||
MxU8 bit1 : 1;
|
||||
MxU8 bit2 : 1;
|
||||
MxU8 bit3 : 1;
|
||||
MxU8 bit4 : 1;
|
||||
MxU8 bit5 : 1;
|
||||
MxU8 bit6 : 1;
|
||||
MxU8 bit7 : 1;
|
||||
};
|
||||
// BYTE all; // ?
|
||||
} flag_bitfield;
|
||||
|
||||
#endif // MXTYPE_H
|
||||
|
Reference in New Issue
Block a user