зеркало из https://github.com/github/ruby.git
* README.EXT: typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
dd9338bc66
Коммит
0d28ad1985
|
@ -125,9 +125,9 @@ casting macro will be of the form RXXXX for each data type; for
|
|||
instance, RARRAY(obj). See "ruby.h".
|
||||
|
||||
There are some accessing macros for structure members, for example
|
||||
`RSTRING_LEN(s)' to to get the size of the Ruby String object. The
|
||||
allocated region can be accessed by `RSTRING_PTR(str). For arrays, use
|
||||
`RARRAY_LEN(ary) and `RARRAY_PTR(ary) respectively.
|
||||
`RSTRING_LEN(str)' to get the size of the Ruby String object. The
|
||||
allocated region can be accessed by `RSTRING_PTR(str)'. For arrays,
|
||||
use `RARRAY_LEN(ary)' and `RARRAY_PTR(ary)' respectively.
|
||||
|
||||
Notice: Do not change the value of the structure directly, unless you
|
||||
are responsible for the result. This ends up being the cause of
|
||||
|
|
Загрузка…
Ссылка в новой задаче