git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2008-08-23 16:06:48 +00:00
parent 9c24ab3d9d
commit 1b82d027d4

View file

@ -240,7 +240,7 @@ Fri Aug 22 04:33:56 2008 Tanaka Akira <akr@fsij.org>
Fri Aug 22 03:19:41 2008 Tanaka Akira <akr@fsij.org> Fri Aug 22 03:19:41 2008 Tanaka Akira <akr@fsij.org>
* include/ruby/ruby.h (NUM2LONG): make it inline function to evaluete * include/ruby/ruby.h (NUM2LONG): make it inline function to evaluate
the argument only once. the argument only once.
`t = Object.new; def t.*(x) p x; 0 end; p Time.at(0, t)' did print x `t = Object.new; def t.*(x) p x; 0 end; p Time.at(0, t)' did print x
twice. twice.