aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-26 10:59:27 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-26 10:59:27 +0000
commitcfaf65847ba0ea7a1bfeee8c40b8c1416cbaebb9 (patch)
tree5704820d15803a3973b5ec867d53ff8328d9fed6 /internal.h
parentd4b26a44f8a1c03bb903ba9de0e2eceef505c9ec (diff)
downloadruby-cfaf65847ba0ea7a1bfeee8c40b8c1416cbaebb9.tar.gz
* numeric.c (int_abs): Integer#{abs,magnitude} moved from Fixnum and Bignum.
* internal.h (rb_big_abs): Declared. * bignum.c (rb_big_abs): Don't define Bignum#{abs,magnitude}. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index a9f50a5cdc..5f79d4eb4b 100644
--- a/internal.h
+++ b/internal.h
@@ -778,6 +778,7 @@ size_t rb_big_size(VALUE);
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);
/* class.c */
VALUE rb_class_boot(VALUE);