summaryrefslogtreecommitdiff
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
commit38b240156c829fe4e13b8ee4a2bdd0d28c77b334 (patch)
tree697cfb1e239b6c14e77d8d352e1cab59c899f119 /complex.c
parent2697ae451d67547ed601bce8e05b9779123142de (diff)
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