[ruby-cvs:52780] akr:r45634 (trunk): * numeric.c (rb_num2long): Returns a long.

akr at ruby-lang.org akr at ruby-lang.org
Sat Apr 19 00:46:33 JST 2014


akr	2014-04-19 00:46:32 +0900 (Sat, 19 Apr 2014)

  New Revision: 45634

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45634

  Log:
    * numeric.c (rb_num2long): Returns a long.
      (rb_num2ulong): Returns a unsigned long.
    
    * bignum.c (rb_big2long): Returns a long.
      (rb_big2ulong): Returns a unsigned long.
    
    * include/ruby/intern.h: Follow above changes.
    
    * include/ruby/ruby.h: Follow above changes.
      (rb_num2long_inline): No need to cast.
      (rb_num2ulong_inline): Ditto.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/include/ruby/intern.h
    trunk/include/ruby/ruby.h
    trunk/numeric.c


More information about the ruby-cvs mailing list