зеркало из https://github.com/github/ruby.git
* 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:
Родитель
4993a1a814
Коммит
63d5d7f53a
|
@ -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>
|
||||
|
||||
* 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;
|
||||
|
||||
#define NOEX_SAFE(n) ((int)((n) >> 8) & 0x0F)
|
||||
#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(n, s) (((s) << 8) | (n) | (ruby_running ? 0 : NOEX_BASIC))
|
||||
#define NOEX_WITH_SAFE(n) NOEX_WITH((n), rb_safe_level())
|
||||
|
||||
/* method data type */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче