[ruby-cvs:53122] akr:r45976 (trunk): * include/ruby/ruby.h: Hide Rational internal.

akr at ruby-lang.org akr at ruby-lang.org
Sun May 18 01:37:43 JST 2014


akr	2014-05-18 01:37:41 +0900 (Sun, 18 May 2014)

  New Revision: 45976

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

  Log:
    * include/ruby/ruby.h: Hide Rational internal.
      (RRational): Moved to internal.h
      (RRATIONAL): Ditto.
      (RRATIONAL_SET_NUM): Moved to rational.c.
      (RRATIONAL_SET_DEN): Ditto.
    
    * rational.c (rb_rational_num): New function.
      (rb_rational_den): Ditto.
    
    * include/ruby/intern.h (rb_rational_num): Declared.
      (rb_rational_den): Ditto.
    
    *  ext/bigdecimal/bigdecimal.c: Follow the above change.
    
    * ext/date/date_core.c: Ditto.
    
      [ruby-core:60665] [Feature #9513]

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/ext/bigdecimal/bigdecimal.c
    trunk/ext/date/date_core.c
    trunk/include/ruby/intern.h
    trunk/include/ruby/ruby.h
    trunk/internal.h
    trunk/rational.c


More information about the ruby-cvs mailing list