diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-20 08:16:43 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-20 08:16:43 +0000 |
commit | 1b79b5be82ac6baa5be2c4483ab44143493069d5 (patch) | |
tree | b06b14a3b0c17cbfe8c40bd22cf7f0ae2e7ccd1f | |
parent | dc4d4b3923cbb832f69abdc0df6d9ee0ea38cae1 (diff) |
Thu Dec 20 17:15:15 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
* pack.c: Slight change to documentation ('character' ->
'byte (C char)'). [ruby-core:13126], see also [ruby-core:13998].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pack.c | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Thu Dec 20 17:15:15 2007 Martin Duerst <duerst@it.aoyama.ac.jp> + + * 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@ruby-lang.org> * common.mk (enc.mk): depends on rbconfig.rb. @@ -399,8 +399,8 @@ static unsigned long utf8_to_uv(const char*,long*); * 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 @@ infected_str_new(const char *ptr, long len, VALUE str) * -------+---------+----------------------------------------- * 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 |