[ruby-cvs:56590] mrkn:r49440 (trunk): * ext/bigdecimal/bigdecimal.c (rb_rational_num): add fallback function

mrkn at ruby-lang.org mrkn at ruby-lang.org
Thu Jan 29 23:34:45 JST 2015


mrkn	2015-01-29 23:34:43 +0900 (Thu, 29 Jan 2015)

  New Revision: 49440

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

  Log:
    * ext/bigdecimal/bigdecimal.c (rb_rational_num): add fallback function
      for rubies lower than 2.2.0.
    
    * ext/bigdecimal/bigdecimal.c (rb_rational_den): ditto.
    
    * ext/bigdecimal/extconf.rb: check the existences of struct RRational,
      rb_rational_num, and rb_rational_den.
    
    * ext/bigdecimal/bigdecimal.bundle: bump version.

  Modified files:
    trunk/ChangeLog
    trunk/ext/bigdecimal/bigdecimal.c
    trunk/ext/bigdecimal/bigdecimal.gemspec
    trunk/ext/bigdecimal/extconf.rb


More information about the ruby-cvs mailing list