mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
dc4d4b3923
commit
1b79b5be82
2 changed files with 9 additions and 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.
|
||||
|
|
8
pack.c
8
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
|
||||
|
|
Loading…
Add table
Reference in a new issue