[ruby-cvs:62558] nobu:r55394 (trunk): Integer unification macro

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Jun 13 20:34:56 JST 2016


nobu	2016-06-13 20:34:56 +0900 (Mon, 13 Jun 2016)

  New Revision: 55394

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55394

  Log:
    Integer unification macro
    
    * include/ruby/ruby.h (RUBY_INTEGER_UNIFICATION): macro to tell if
      Integer is integrated.  [ruby-core:75718][Bug #12427]
    * include/ruby/backward.h, internal.h (rb_cFixnum, rb_cBignum):
      fallback to rb_cInteger.
    * bignum.c, numeric.c, ext/json/generator/generator.{c,h}: use the
      macro.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/ext/json/generator/generator.c
    trunk/ext/json/generator/generator.h
    trunk/include/ruby/backward.h
    trunk/include/ruby/ruby.h
    trunk/internal.h
    trunk/numeric.c


More information about the ruby-cvs mailing list