[前][次][番号順一覧][スレッド一覧]

ruby-changes:2868

From: ko1@a...
Date: 20 Dec 2007 17:17:01 +0900
Subject: [ruby-changes:2868] duerst - Ruby:r14359 (trunk): Thu Dec 20 17:15:15 2007 Martin Duerst <duerst@i...>

duerst	2007-12-20 17:16:43 +0900 (Thu, 20 Dec 2007)

  New Revision: 14359

  Modified files:
    trunk/ChangeLog
    trunk/pack.c

  Log:
    Thu Dec 20 17:15:15 2007  Martin Duerst  <duerst@i...>
    
    * pack.c: Slight change to documentation ('character' ->
      'byte (C char)'). [ruby-core:13126], see also [ruby-core:13998].
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14359&r2=14358
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/pack.c?r1=14359&r2=14358

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14358)
+++ ChangeLog	(revision 14359)
@@ -1,3 +1,8 @@
+Thu Dec 20 17:15:15 2007  Martin Duerst  <duerst@i...>
+
+	* pack.c: Slight change to documentation ('character' ->
+	  'byte (C char)'). [ruby-core:13126], see also [ruby-core:13998].
+
 Thu Dec 20 17:07:54 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* common.mk (enc.mk): depends on rbconfig.rb.
Index: pack.c
===================================================================
--- pack.c	(revision 14358)
+++ pack.c	(revision 14359)
@@ -399,8 +399,8 @@
  *       a     |  arbitrary binary string (null padded, count is width)
  *       B     |  Bit string (descending bit order)
  *       b     |  Bit string (ascending bit order)
- *       C     |  Unsigned char
- *       c     |  Char
+ *       C     |  Unsigned byte (C unsigned char)
+ *       c     |  Byte (C char)
  *       D, d  |  Double-precision float, native format
  *       E     |  Double-precision float, little-endian byte order
  *       e     |  Single-precision float, little-endian byte order
@@ -1185,9 +1185,9 @@
  *     -------+---------+-----------------------------------------
  *       b    | String  | extract bits from each character (lsb first)
  *     -------+---------+-----------------------------------------
- *       C    | Fixnum  | extract a character as an unsigned integer
+ *       C    | Fixnum  | extract a byte (C char) as an unsigned integer
  *     -------+---------+-----------------------------------------
- *       c    | Fixnum  | extract a character as an integer
+ *       c    | Fixnum  | extract a byte (C char) as an integer
  *     -------+---------+-----------------------------------------
  *       d,D  | Float   | treat sizeof(double) characters as
  *            |         | a native double

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]