diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-17 16:37:41 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-17 16:37:41 +0000 |
commit | e56d2c385aac51298b34edf3fe4fddde512aec1b (patch) | |
tree | 1fe3a1e04ba6de9c6e528f77cd4477c4ffe7c65e /NEWS | |
parent | fb8f7259c3435ac01ff9ac2718d325e7c309336b (diff) | |
download | ruby-e56d2c385aac51298b34edf3fe4fddde512aec1b.tar.gz |
* 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -133,6 +133,9 @@ with all sufficient information, see the ChangeLog file. * struct RBignum is hidden. [Feature #6083] Use rb_integer_pack and rb_integer_unpack instead. +* struct RRational is hidden. [Feature #9513] + Use rb_rational_num and rb_rational_den instead. + * rb_big_new and rb_big_resize takes a size_t instead of long. * rb_num2long returns a long instead of SIGNED_VALUE. |