parenthesize RSTRUCT_EMBED_LEN_SHIFT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
096ff284ca
commit
04cbb0925e
2
ruby.h
2
ruby.h
@ -429,7 +429,7 @@ struct RStruct {
|
|||||||
} as;
|
} as;
|
||||||
};
|
};
|
||||||
#define RSTRUCT_EMBED_LEN_MASK (FL_USER2|FL_USER1)
|
#define RSTRUCT_EMBED_LEN_MASK (FL_USER2|FL_USER1)
|
||||||
#define RSTRUCT_EMBED_LEN_SHIFT FL_USHIFT+1
|
#define RSTRUCT_EMBED_LEN_SHIFT (FL_USHIFT+1)
|
||||||
#define RSTRUCT_LEN(st) \
|
#define RSTRUCT_LEN(st) \
|
||||||
((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \
|
((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \
|
||||||
(RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \
|
(RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user