mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* method.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4993a1a814
commit
63d5d7f53a
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jan 20 06:03:17 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* method.h: parenthesize macro arguments.
|
||||||
|
|
||||||
Wed Jan 19 13:16:05 2011 Eric Hodel <drbrain@segment7.net>
|
Wed Jan 19 13:16:05 2011 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
* lib/rubygems/commands/sources_command.rb: Finish removing code,
|
* lib/rubygems/commands/sources_command.rb: Finish removing code,
|
||||||
|
|
4
method.h
4
method.h
|
@ -26,8 +26,8 @@ typedef enum {
|
||||||
} rb_method_flag_t;
|
} rb_method_flag_t;
|
||||||
|
|
||||||
#define NOEX_SAFE(n) ((int)((n) >> 8) & 0x0F)
|
#define NOEX_SAFE(n) ((int)((n) >> 8) & 0x0F)
|
||||||
#define NOEX_WITH(n, s) ((s << 8) | (n) | (ruby_running ? 0 : NOEX_BASIC))
|
#define NOEX_WITH(n, s) (((s) << 8) | (n) | (ruby_running ? 0 : NOEX_BASIC))
|
||||||
#define NOEX_WITH_SAFE(n) NOEX_WITH(n, rb_safe_level())
|
#define NOEX_WITH_SAFE(n) NOEX_WITH((n), rb_safe_level())
|
||||||
|
|
||||||
/* method data type */
|
/* method data type */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue