ruby-changes:20427
From: tadf <ko1@a...>
Date: Sat, 9 Jul 2011 19:51:02 +0900 (JST)
Subject: [ruby-changes:20427] tadf:r32475 (trunk): * internal.h: added declarations.
tadf 2011-07-09 19:50:51 +0900 (Sat, 09 Jul 2011) New Revision: 32475 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32475 Log: * internal.h: added declarations. * complex.c: followed the above change. Modified files: trunk/ChangeLog trunk/complex.c trunk/internal.h Index: complex.c =================================================================== --- complex.c (revision 32474) +++ complex.c (revision 32475) @@ -486,7 +486,6 @@ } #define imp1(n) \ -extern VALUE rb_math_##n(VALUE x);\ inline static VALUE \ m_##n##_bang(VALUE x)\ {\ @@ -494,7 +493,6 @@ } #define imp2(n) \ -extern VALUE rb_math_##n(VALUE x, VALUE y);\ inline static VALUE \ m_##n##_bang(VALUE x, VALUE y)\ {\ Index: ChangeLog =================================================================== --- ChangeLog (revision 32474) +++ ChangeLog (revision 32475) @@ -1,3 +1,8 @@ +Sat Jul 9 19:48:31 2011 Tadayoshi Funaba <tadf@d...> + + * internal.h: added declarations. + * complex.c: followed the above change. + Sat Jul 9 17:24:41 2011 Tadayoshi Funaba <tadf@d...> * NEWS: bigdecimal is not a builtin. Index: internal.h =================================================================== --- internal.h (revision 32474) +++ internal.h (revision 32475) @@ -110,7 +110,15 @@ VALUE rb_get_load_path(void); /* math.c */ +VALUE rb_math_atan2(VALUE, VALUE); +VALUE rb_math_cos(VALUE); +VALUE rb_math_cosh(VALUE); +VALUE rb_math_exp(VALUE); +VALUE rb_math_hypot(VALUE, VALUE); VALUE rb_math_log(int argc, VALUE *argv); +VALUE rb_math_sin(VALUE); +VALUE rb_math_sinh(VALUE); +VALUE rb_math_sqrt(VALUE); /* newline.c */ void Init_newline(void); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/