Project

General

Profile

« Previous | Next » 

Revision 95512f27

Added by nobu (Nobuyoshi Nakada) over 13 years ago

ruby.h: rb_num2ulong_inline

  • include/ruby/ruby.h (NUM2ULONG): optimize by inline as well as
    NUM2LONG, and cast to unsigned long explicitly for the platforms
    where SIZEOF_VALUE is larger than SIZEOF_LONG.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e