diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-15 14:54:39 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-15 14:54:39 +0000 |
commit | d1d95056a3252858b383078c45a38cda696bb1a4 (patch) | |
tree | 90348cf9db1eb17140ee3c732b4c637ceed0e69d /internal.h | |
parent | 0a267b79f62aac02628b02d27c716cfa8c2d67dc (diff) | |
download | ruby-d1d95056a3252858b383078c45a38cda696bb1a4.tar.gz |
rename rb_rational_add -> rb_rational_plus
* rational.c (rb_rational_plus): rename from rb_rational_add
to be aligned with rb_fix_plus.
* array.c (rb_ary_sum): ditto.
* internal.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h index 77fad73f72..96f110ffbe 100644 --- a/internal.h +++ b/internal.h @@ -1204,7 +1204,7 @@ rb_pid_t rb_fork_ruby(int *status); void rb_last_status_clear(void); /* rational.c */ -VALUE rb_rational_add(VALUE self, VALUE other); +VALUE rb_rational_plus(VALUE self, VALUE other); VALUE rb_lcm(VALUE x, VALUE y); VALUE rb_rational_reciprocal(VALUE x); VALUE rb_cstr_to_rat(const char *, int); |