ruby-changes:32912
From: akr <ko1@a...>
Date: Sun, 16 Feb 2014 07:48:51 +0900 (JST)
Subject: [ruby-changes:32912] akr:r44991 (trunk): * ext/bigdecimal/bigdecimal.c (BIGNUM_ZERO_P): Unused macro removed.
akr 2014-02-16 07:48:43 +0900 (Sun, 16 Feb 2014) New Revision: 44991 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44991 Log: * ext/bigdecimal/bigdecimal.c (BIGNUM_ZERO_P): Unused macro removed. Modified files: trunk/ChangeLog trunk/ext/bigdecimal/bigdecimal.c Index: ChangeLog =================================================================== --- ChangeLog (revision 44990) +++ ChangeLog (revision 44991) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Feb 16 07:48:20 2014 Tanaka Akira <akr@f...> + + * ext/bigdecimal/bigdecimal.c (BIGNUM_ZERO_P): Unused macro removed. + Sun Feb 16 06:12:23 2014 Tanaka Akira <akr@f...> * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO. Index: ext/bigdecimal/bigdecimal.c =================================================================== --- ext/bigdecimal/bigdecimal.c (revision 44990) +++ ext/bigdecimal/bigdecimal.c (revision 44991) @@ -86,10 +86,6 @@ static ID id_eq; https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L86 #define DBLE_FIG (DBL_DIG+1) /* figure of double */ #endif -#ifndef BIGNUM_ZERO_P -# define BIGNUM_ZERO_P(x) rb_bigzero_p(x) -#endif - #ifndef RRATIONAL_ZERO_P # define RRATIONAL_ZERO_P(x) (FIXNUM_P(RRATIONAL(x)->num) && \ FIX2LONG(RRATIONAL(x)->num) == 0) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/