diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-16 12:59:26 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-16 12:59:26 +0000 |
commit | 50794b32227e0615a8468f8203e12d180b57442c (patch) | |
tree | 0712afabc1cc64d14cd216f7f36e2e61842ee5cd /ChangeLog | |
parent | ecabbf1bf606305bb553100700e1edb487604ecc (diff) | |
download | ruby-50794b32227e0615a8468f8203e12d180b57442c.tar.gz |
* bignum.c (bary_2comp): Extracted from get2comp.
(integer_unpack_num_bdigits): Extracted from
rb_integer_unpack_internal.
(bary_unpack_internal): Renamed from bary_unpack and support
INTEGER_PACK_2COMP.
(bary_unpack): New function to validate arguments and invoke
bary_unpack_internal.
(rb_integer_unpack_internal): Removed.
(rb_integer_unpack): Invoke bary_unpack_internal.
(rb_integer_unpack_2comp): Removed.
* internal.h (rb_integer_unpack_2comp): Removed.
* pack.c: Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,20 @@ +Sun Jun 16 21:41:39 2013 Tanaka Akira <akr@fsij.org> + + * bignum.c (bary_2comp): Extracted from get2comp. + (integer_unpack_num_bdigits): Extracted from + rb_integer_unpack_internal. + (bary_unpack_internal): Renamed from bary_unpack and support + INTEGER_PACK_2COMP. + (bary_unpack): New function to validate arguments and invoke + bary_unpack_internal. + (rb_integer_unpack_internal): Removed. + (rb_integer_unpack): Invoke bary_unpack_internal. + (rb_integer_unpack_2comp): Removed. + + * internal.h (rb_integer_unpack_2comp): Removed. + + * pack.c: Follow the above change. + Sun Jun 16 18:41:42 2013 Tanaka Akira <akr@fsij.org> * internal.h (INTEGER_PACK_2COMP): Defined. |