aboutsummaryrefslogtreecommitdiffstats
path: root/complex.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-09 01:51:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-09 01:51:25 +0000
commit205fdf32acb19cc7b6a5cd25d2e8356f7b2091c2 (patch)
tree697cfb1e239b6c14e77d8d352e1cab59c899f119 /complex.c
parent98b8b3da864d8c86c491f428cb8a89f081e37d61 (diff)
downloadruby-205fdf32acb19cc7b6a5cd25d2e8356f7b2091c2.tar.gz
complex.c: removed already unused macros
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62700 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 43f2964545..4f6a5fa243 100644
--- a/complex.c
+++ b/complex.c
@@ -65,20 +65,6 @@ f_##n(VALUE x, VALUE y)\
return rb_funcall(x, id_##n, 1, y);\
}
-#define math1(n) \
-inline static VALUE \
-m_##n(VALUE x)\
-{\
- return rb_funcall(rb_mMath, id_##n, 1, x);\
-}
-
-#define math2(n) \
-inline static VALUE \
-m_##n(VALUE x, VALUE y)\
-{\
- return rb_funcall(rb_mMath, id_##n, 2, x, y);\
-}
-
#define PRESERVE_SIGNEDZERO
inline static VALUE