From 38b240156c829fe4e13b8ee4a2bdd0d28c77b334 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 9 Mar 2018 01:51:25 +0000 Subject: complex.c: removed already unused macros git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- complex.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'complex.c') 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 -- cgit v1.2.3