[ruby-cvs:52134] akr:r44989 (trunk): * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.

akr at ruby-lang.org akr at ruby-lang.org
Sun Feb 16 06:17:35 JST 2014


akr	2014-02-16 06:17:34 +0900 (Sun, 16 Feb 2014)

  New Revision: 44989

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44989

  Log:
    * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.
      (BIGNUM_EMBED_LEN_NUMBITS): Renamed from RBIGNUM_EMBED_LEN_NUMBITS.
      (BIGNUM_EMBED_LEN_MAX): Renamed from RBIGNUM_EMBED_LEN_MAX.
      (BIGNUM_SIGN_BIT): Renamed from RBIGNUM_SIGN_BIT.
      (BIGNUM_SIGN): Renamed from RBIGNUM_SIGN.
      (BIGNUM_SET_SIGN): Renamed from RBIGNUM_SET_SIGN.
      (BIGNUM_POSITIVE_P): Renamed from RBIGNUM_POSITIVE_P.
      (BIGNUM_NEGATIVE_P): Renamed from RBIGNUM_NEGATIVE_P.
      (BIGNUM_EMBED_FLAG): Renamed from RBIGNUM_EMBED_FLAG.
      (BIGNUM_EMBED_LEN_MASK): Renamed from RBIGNUM_EMBED_LEN_MASK.
      (BIGNUM_EMBED_LEN_SHIFT): Renamed from RBIGNUM_EMBED_LEN_SHIFT.
      (BIGNUM_LEN): Renamed from RBIGNUM_LEN.
      (RBIGNUM_DIGITS): Renamed from RBIGNUM_DIGITS.
      (BIGNUM_LENINT): Renamed from RBIGNUM_LENINT.
    
    * bignum.c: Follow the above change.
    
    * gc.c: Ditto.
    
    * marshal.c: Ditto.
    
    * math.c: Ditto.
    
    * numeric.c: Ditto.
    
    * random.c: Ditto.
    
    * rational.c: Ditto.
    
    * sprintf.c: Ditto.
    
    * ext/-test-/bignum/bigzero.c: Ditto.
    
    * ext/-test-/bignum/intpack.c: Ditto.
    
    * ext/bigdecimal/bigdecimal.c: Ditto.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/ext/-test-/bignum/bigzero.c
    trunk/ext/-test-/bignum/intpack.c
    trunk/ext/bigdecimal/bigdecimal.c
    trunk/gc.c
    trunk/internal.h
    trunk/marshal.c
    trunk/math.c
    trunk/numeric.c
    trunk/random.c
    trunk/rational.c
    trunk/sprintf.c


More information about the ruby-cvs mailing list