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