use an enum for aggregate segments
This commit is contained in:
parent
faa084cca9
commit
8ca73af85a
3 changed files with 22 additions and 15 deletions
11
all.h
11
all.h
|
@ -425,9 +425,14 @@ struct Typ {
|
|||
ulong size;
|
||||
int align;
|
||||
|
||||
struct {
|
||||
uint isflt:1;
|
||||
uint ispad:1;
|
||||
struct Seg {
|
||||
enum {
|
||||
Spad,
|
||||
Sint,
|
||||
Sflt,
|
||||
Styp,
|
||||
};
|
||||
uint type:2;
|
||||
uint len:30;
|
||||
} seg[NSeg+1];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue