1
0
Fork 0
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:
akr 2006-05-22 07:39:30 +00:00
parent 096ff284ca
commit 04cbb0925e

2
ruby.h
View file

@ -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) & \