diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-14 23:59:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-14 23:59:23 +0000 |
commit | bb8abf62d3cb783b6b8ffeffb67c5ff519332c20 (patch) | |
tree | 056ff384515a4d220ef0e5b7216a4a3d7d9d0101 /lib/weakref.rb | |
parent | 994460c4db639d098ec72ca54b3442f5ea05336f (diff) |
gc.h: evaluate the macro argument only once
* gc.h (RUBY_MARK_UNLESS_NULL): evaluate the argument only once
to get rid of inadvertent side effects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/weakref.rb')
0 files changed, 0 insertions, 0 deletions