diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-30 09:48:25 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-30 09:48:25 +0000 |
commit | 60712bdc10947b53508ff6f5ab064e5462776968 (patch) | |
tree | 20444740e2fce4c4f6dad0269f610b73cca646a6 /internal.h | |
parent | 82baf3973f6a691038c0d65d4f282a8a2485dc42 (diff) | |
download | ruby-60712bdc10947b53508ff6f5ab064e5462776968.tar.gz |
Define Integer#<= instead of Bignum#<=.
* numeric.c (int_le): Define Integer#<=.
* bignum.c (rb_big_le): Don't define Bignum#<=.
Renamed from big_le.
* internal.h (rb_big_le): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54841 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 08379cb7b7..e975838d3b 100644 --- a/internal.h +++ b/internal.h @@ -787,6 +787,7 @@ VALUE rb_big_abs(VALUE x); VALUE rb_big_size_m(VALUE big); VALUE rb_big_bit_length(VALUE big); VALUE rb_big_remainder(VALUE x, VALUE y); +VALUE rb_big_le(VALUE x, VALUE y); /* class.c */ VALUE rb_class_boot(VALUE); |