ruby-changes:30315
From: akr <ko1@a...>
Date: Sun, 4 Aug 2013 07:15:40 +0900 (JST)
Subject: [ruby-changes:30315] akr:r42367 (trunk): * README.EXT, README.EXT.ja: Mention rb_integer_pack and
akr 2013-08-04 07:15:26 +0900 (Sun, 04 Aug 2013) New Revision: 42367 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42367 Log: * README.EXT, README.EXT.ja: Mention rb_integer_pack and rb_integer_unpack. Modified files: trunk/ChangeLog trunk/README.EXT trunk/README.EXT.ja Index: README.EXT =================================================================== --- README.EXT (revision 42366) +++ README.EXT (revision 42367) @@ -1060,6 +1060,10 @@ NUM2SSIZET(value), SSIZET2NUM(ssize) :: https://github.com/ruby/ruby/blob/trunk/README.EXT#L1060 Numeric <-> ssize_t +rb_integer_pack(value, words, numwords, wordsize, nails, flags), rb_integer_unpack(words, numwords, wordsize, nails, flags) :: + + Numeric <-> Arbitrary size integer buffer + NUM2DBL(value) :: Numeric -> double Index: ChangeLog =================================================================== --- ChangeLog (revision 42366) +++ ChangeLog (revision 42367) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Aug 4 07:14:49 2013 Tanaka Akira <akr@f...> + + * README.EXT, README.EXT.ja: Mention rb_integer_pack and + rb_integer_unpack. + Sun Aug 4 01:54:45 2013 Tanaka Akira <akr@f...> * bignum.c (BARY_TRUNC): New macro. Index: README.EXT.ja =================================================================== --- README.EXT.ja (revision 42366) +++ README.EXT.ja (revision 42367) @@ -1108,6 +1108,7 @@ Data_Get_Struct(data, type, sval) :: https://github.com/ruby/ruby/blob/trunk/README.EXT.ja#L1108 NUM2OFFT(value), OFFT2NUM(off) NUM2SIZET(value), SIZET2NUM(size) NUM2SSIZET(value), SSIZET2NUM(ssize) + rb_integer_pack(value, words, numwords, wordsize, nails, flags), rb_integer_unpack(words, numwords, wordsize, nails, flags) NUM2DBL(value) rb_float_new(f) StringValue(value) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/