mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add parentheses for clarity
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
99638b5d1f
commit
3264042eb9
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ rb_long2int_inline(long n)
|
|||
|
||||
#define IMMEDIATE_P(x) ((VALUE)(x) & IMMEDIATE_MASK)
|
||||
|
||||
#define SYMBOL_P(x) (((VALUE)(x)&~(~(VALUE)0<<RUBY_SPECIAL_SHIFT))==SYMBOL_FLAG)
|
||||
#define SYMBOL_P(x) (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT))==SYMBOL_FLAG)
|
||||
#define ID2SYM(x) (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG)
|
||||
#define SYM2ID(x) RSHIFT((unsigned long)(x),RUBY_SPECIAL_SHIFT)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue