ruby-changes:8436
From: usa <ko1@a...>
Date: Mon, 27 Oct 2008 20:08:14 +0900 (JST)
Subject: [ruby-changes:8436] Ruby:r19967 (trunk): * ext/mathn/complex/complex.c: no need to define rb_cComplex because
usa 2008-10-27 20:07:37 +0900 (Mon, 27 Oct 2008) New Revision: 19967 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19967 Log: * ext/mathn/complex/complex.c: no need to define rb_cComplex because it's already defined at $(srcdir)/complex.c. * ext/mathn/rational/rational.c: no need to define rb_cRational because it's already defined at $(srcdir)/rational.c. Modified files: trunk/ChangeLog trunk/ext/mathn/complex/complex.c trunk/ext/mathn/rational/rational.c Index: ChangeLog =================================================================== --- ChangeLog (revision 19966) +++ ChangeLog (revision 19967) @@ -1,3 +1,11 @@ +Mon Oct 27 20:03:05 2008 NAKAMURA Usaku <usa@r...> + + * ext/mathn/complex/complex.c: no need to define rb_cComplex because + it's already defined at $(srcdir)/complex.c. + + * ext/mathn/rational/rational.c: no need to define rb_cRational because + it's already defined at $(srcdir)/rational.c. + Mon Oct 27 15:58:25 2008 Nobuyoshi Nakada <nobu@r...> * ruby.c (load_file): preserves $.. [ruby-dev:36937] Index: ext/mathn/complex/complex.c =================================================================== --- ext/mathn/complex/complex.c (revision 19966) +++ ext/mathn/complex/complex.c (revision 19967) @@ -24,7 +24,9 @@ #define ONE INT2FIX(1) #define TWO INT2FIX(2) +#if 0 VALUE rb_cComplex; +#endif static ID id_abs, id_abs2, id_arg, id_cmp, id_conj, id_convert, id_denominator, id_divmod, id_equal_p, id_expt, id_floor, id_hash, Index: ext/mathn/rational/rational.c =================================================================== --- ext/mathn/rational/rational.c (revision 19966) +++ ext/mathn/rational/rational.c (revision 19967) @@ -30,7 +30,9 @@ #define ONE INT2FIX(1) #define TWO INT2FIX(2) +#if 0 VALUE rb_cRational; +#endif static ID id_abs, id_cmp, id_convert, id_equal_p, id_expt, id_floor, id_format, id_hash, id_idiv, id_inspect, id_integer_p, id_negate, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/