Merge pull request #23 from omasanori/iso-c-mark
Define the type of marking flags as unsigned int.
This commit is contained in:
commit
1f51e8bde2
|
@ -9,16 +9,14 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum pic_gc_mark {
|
#define PIC_GC_UNMARK 0
|
||||||
PIC_GC_UNMARK = 0,
|
#define PIC_GC_MARK 1
|
||||||
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 : 1;
|
unsigned int mark : 1;
|
||||||
} s;
|
} s;
|
||||||
long alignment[2];
|
long alignment[2];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue