Project

General

Profile

« Previous | Next » 

Revision bb8abf62

Added by nobu (Nobuyoshi Nakada) over 10 years ago

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