ruby-changes:19059
From: tadf <ko1@a...>
Date: Sat, 12 Mar 2011 01:27:31 +0900 (JST)
Subject: [ruby-changes:19059] Ruby:r31098 (trunk): * ext/date/date_core.c: changed some directives.
tadf 2011-03-12 01:27:25 +0900 (Sat, 12 Mar 2011) New Revision: 31098 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31098 Log: * ext/date/date_core.c: changed some directives. Modified files: trunk/ChangeLog trunk/ext/date/date_core.c trunk/ext/date/lib/date.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 31097) +++ ChangeLog (revision 31098) @@ -1,3 +1,7 @@ +Sat Mar 12 01:26:24 2011 Tadayoshi Funaba <tadf@d...> + + * ext/date/date_core.c: changed some directives. + Sat Mar 12 01:16:02 2011 Tadayoshi Funaba <tadf@d...> * ext/date/date_core.c, ext/date/lib/*: moved rdoc descriptions. Index: ext/date/date_core.c =================================================================== --- ext/date/date_core.c (revision 31097) +++ ext/date/date_core.c (revision 31098) @@ -209,7 +209,7 @@ return 0; } -#if 0 +#ifndef NDEBUG static int find_fdom(int y, int m, double sg, long *rjd, int *ns) { @@ -344,7 +344,7 @@ *rd = 7; } -#if 0 +#ifndef NDEBUG static void weeknum_to_jd(int y, int w, int d, int f, double sg, long *rjd, int *ns) { @@ -372,7 +372,7 @@ *rd = MOD(j, 7); } -#if 0 +#ifndef NDEBUG static void nth_kday_to_jd(int y, int m, int n, int k, double sg, long *rjd, int *ns) { @@ -392,7 +392,7 @@ } #endif -#if 0 +#ifndef NDEBUG inline static int jd_to_wday(long jd); static void Index: ext/date/lib/date.rb =================================================================== --- ext/date/lib/date.rb (revision 31097) +++ ext/date/lib/date.rb (revision 31098) @@ -1216,7 +1216,7 @@ def new_start_r(sg=self.class::ITALY) self.class.new_r!(ajd, offset, sg) end # :nodoc: - private :start_r, :new_start_r + private :new_start_r # Create a copy of this Date object that uses the Italian/Catholic # Day of Calendar Reform. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/