1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include
akr 9ee7875162 * include/ruby/ruby.h (NUM2LONG): make it inline function to evaluete
the argument only once.
  `t = Object.new; def t.*(x) p x; 0 end; p Time.at(0, t)' did print x
  twice.
  (NUM2INT): ditto.
  (NUM2LL): ditto.
  (INT2NUM): make it inline function.
  (LONG2NUM): ditto.
  (UINT2NUM): ditto.
  (ULONG2NUM): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-21 18:49:13 +00:00
..
ruby * include/ruby/ruby.h (NUM2LONG): make it inline function to evaluete 2008-08-21 18:49:13 +00:00
ruby.h * include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that 2008-07-12 13:30:46 +00:00
rubyio.h * include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that 2008-07-12 13:30:46 +00:00
rubysig.h * include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that 2008-07-12 13:30:46 +00:00