ruby-changes:50557
From: nobu <ko1@a...>
Date: Fri, 9 Mar 2018 10:51:31 +0900 (JST)
Subject: [ruby-changes:50557] nobu:r62700 (trunk): complex.c: removed already unused macros
nobu 2018-03-09 10:51:25 +0900 (Fri, 09 Mar 2018) New Revision: 62700 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62700 Log: complex.c: removed already unused macros Modified files: trunk/complex.c Index: complex.c =================================================================== --- complex.c (revision 62699) +++ complex.c (revision 62700) @@ -65,20 +65,6 @@ f_##n(VALUE x, VALUE y)\ https://github.com/ruby/ruby/blob/trunk/complex.c#L65 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/