ruby-changes:42823
From: yui-knk <ko1@a...>
Date: Tue, 3 May 2016 22:15:38 +0900 (JST)
Subject: [ruby-changes:42823] yui-knk:r54897 (trunk): * internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG
yui-knk 2016-05-03 23:12:02 +0900 (Tue, 03 May 2016) New Revision: 54897 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54897 Log: * internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG instead of duplicated undef RCOMPLEX_SET_REAL. Modified files: trunk/ChangeLog trunk/internal.h Index: ChangeLog =================================================================== --- ChangeLog (revision 54896) +++ ChangeLog (revision 54897) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue May 3 23:13:16 2016 Yuichiro Kaneko <yui-knk@r...> + + * internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG + instead of duplicated undef RCOMPLEX_SET_REAL. + Tue May 3 22:55:07 2016 Yuichiro Kaneko <yui-knk@r...> * complex.c (rb_complex_set_imag): Fix to properly set imag Index: internal.h =================================================================== --- internal.h (revision 54896) +++ internal.h (revision 54897) @@ -554,7 +554,7 @@ struct RComplex { https://github.com/ruby/ruby/blob/trunk/internal.h#L554 #ifdef RCOMPLEX_SET_REAL /* shortcut macro for internal only */ #undef RCOMPLEX_SET_REAL -#undef RCOMPLEX_SET_REAL +#undef RCOMPLEX_SET_IMAG #define RCOMPLEX_SET_REAL(cmp, r) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r)) #define RCOMPLEX_SET_IMAG(cmp, i) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i)) #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/