mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove obsolete Fixnum and Bignum
This commit is contained in:
parent
b948b1a4e1
commit
40e7aefeba
Notes:
git
2021-12-28 18:35:22 +09:00
4 changed files with 20 additions and 26 deletions
4
bignum.c
4
bignum.c
|
@ -7169,10 +7169,6 @@ rb_int_powm(int const argc, VALUE * const argv, VALUE const num)
|
|||
void
|
||||
Init_Bignum(void)
|
||||
{
|
||||
/* An obsolete class, use Integer */
|
||||
rb_define_const(rb_cObject, "Bignum", rb_cInteger);
|
||||
rb_deprecate_constant(rb_cObject, "Bignum");
|
||||
|
||||
rb_define_method(rb_cInteger, "coerce", rb_int_coerce, 1);
|
||||
|
||||
#ifdef USE_GMP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue