diff options
-rw-r--r-- | complex.c | 2 | ||||
-rw-r--r-- | rational.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -2209,6 +2209,8 @@ Init_Complex(void) */ rb_define_const(rb_cComplex, "I", f_complex_new_bang2(rb_cComplex, ZERO, ONE)); + + rb_provide("complex.so"); /* for backward compatibility */ } /* diff --git a/rational.c b/rational.c index e50497944f..23b4bb0864 100644 --- a/rational.c +++ b/rational.c @@ -2614,6 +2614,8 @@ Init_Rational(void) rb_define_method(rb_cString, "to_r", string_to_r, 0); rb_define_private_method(CLASS_OF(rb_cRational), "convert", nurat_s_convert, -1); + + rb_provide("rational.so"); /* for backward compatibility */ } /* |