diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-29 23:16:55 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-29 23:16:55 +0000 |
commit | eee95e67b9794c3c4d3a583b413377c12bcb565d (patch) | |
tree | 36a81003cc2637ede074257c1c1b40d9c414a00f /include/ruby | |
parent | 2a4c4f7b0c147585119036c43c1d04f73621e510 (diff) | |
download | ruby-eee95e67b9794c3c4d3a583b413377c12bcb565d.tar.gz |
enclose RHASH_XXX macros by parenthesis.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/ruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 63cb7b417e..1b22e3dcb4 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -483,8 +483,8 @@ struct RHash { VALUE ifnone; }; #define RHASH_TBL(h) rb_hash_tbl(h) -#define RHASH_ITER_LEV(h) RHASH(h)->iter_lev -#define RHASH_IFNONE(h) RHASH(h)->ifnone +#define RHASH_ITER_LEV(h) (RHASH(h)->iter_lev) +#define RHASH_IFNONE(h) (RHASH(h)->ifnone) #define RHASH_SIZE(h) (RHASH(h)->ntbl ? RHASH(h)->ntbl->num_entries : 0) #define RHASH_EMPTY_P(h) (RHASH_SIZE(h) == 0) |