summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-20 08:16:43 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-20 08:16:43 +0000
commit1b79b5be82ac6baa5be2c4483ab44143493069d5 (patch)
treeb06b14a3b0c17cbfe8c40bd22cf7f0ae2e7ccd1f /pack.c
parentdc4d4b3923cbb832f69abdc0df6d9ee0ea38cae1 (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
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pack.c b/pack.c
index e63c2325e6..f9a907196f 100644
--- a/pack.c
+++ b/pack.c
@@ -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