mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
2
ruby.h
2
ruby.h
|
@ -429,7 +429,7 @@ struct RStruct {
|
|||
} as;
|
||||
};
|
||||
#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) \
|
||||
((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \
|
||||
(RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \
|
||||
|
|
Loading…
Reference in a new issue