aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-28 11:58:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-28 18:35:03 +0900
commit40e7aefebad412bde50fa9bdadcc8405f7605355 (patch)
tree33a440e64dfe2d20e01bb30da6a89e8ab1f0318c /bignum.c
parentb948b1a4e1f8a4a697bbc76873d728afcdc1694a (diff)
downloadruby-40e7aefebad412bde50fa9bdadcc8405f7605355.tar.gz
Remove obsolete Fixnum and Bignum
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bignum.c b/bignum.c
index f83fbe2c14..841ed78665 100644
--- a/bignum.c
+++ b/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