diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-26 11:47:14 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-26 11:47:14 +0000 |
commit | 8f045eddb2dcd171b98a4dd6b018441acf4b1048 (patch) | |
tree | 8c7291b6f8b3dc6e7d2e820bcfcb70ca8616fb56 /internal.h | |
parent | 05bd6f83690ccd9cec4728cd23a4a66c995abcc2 (diff) | |
download | ruby-8f045eddb2dcd171b98a4dd6b018441acf4b1048.tar.gz |
{Fixnum,Bignum}#size is unified into Integer.
* numeric.c (int_size): {Fixnum,Bignum}#size is unified into Integer.
* bignum.c (rb_big_size_m): Don't define Bignum#size.
* internal.h (rb_big_size_m): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index a2250d5649..c04a0c36e3 100644 --- a/internal.h +++ b/internal.h @@ -779,6 +779,7 @@ VALUE rb_integer_float_cmp(VALUE x, VALUE y); VALUE rb_integer_float_eq(VALUE x, VALUE y); VALUE rb_cstr_parse_inum(const char *str, ssize_t len, char **endp, int base); VALUE rb_big_abs(VALUE x); +VALUE rb_big_size_m(VALUE big); VALUE rb_big_bit_length(VALUE big); /* class.c */ |