summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-21 06:07:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-21 06:07:21 +0000
commitf4c2b33eac26978e4de66d7d8c4cdd8007d98839 (patch)
tree2f0c8894426b63e1b1f53006871eebfb3bfc7db7 /complex.c
parent556a1352e4d1f44f900c83027f1e888b0ae7cdb1 (diff)
complex.c: remove deprecated functions
* complex.c (rb_complex_set_real, rb_complex_set_imag): remove functions deprecated at 2.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/complex.c b/complex.c
index 4737891270..3965f3dd2d 100644
--- a/complex.c
+++ b/complex.c
@@ -1447,20 +1447,6 @@ rb_Complex(VALUE x, VALUE y)
}
VALUE
-rb_complex_set_real(VALUE cmp, VALUE r)
-{
- RCOMPLEX_SET_REAL(cmp, r);
- return cmp;
-}
-
-VALUE
-rb_complex_set_imag(VALUE cmp, VALUE i)
-{
- RCOMPLEX_SET_IMAG(cmp, i);
- return cmp;
-}
-
-VALUE
rb_complex_abs(VALUE cmp)
{
return nucomp_abs(cmp);