set bitfield to union header.mark
This commit is contained in:
parent
b5b30de05a
commit
62f0a50faf
|
@ -2,15 +2,15 @@
|
|||
#define GC_H__
|
||||
|
||||
enum pic_gc_mark {
|
||||
PIC_GC_MARK,
|
||||
PIC_GC_UNMARK
|
||||
PIC_GC_UNMARK = 0,
|
||||
PIC_GC_MARK
|
||||
};
|
||||
|
||||
union header {
|
||||
struct {
|
||||
union header *ptr;
|
||||
size_t size;
|
||||
enum pic_gc_mark mark;
|
||||
enum pic_gc_mark mark : 1;
|
||||
} s;
|
||||
long alignment[2];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue