git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-06-04 00:53:19 +00:00
Родитель dd9338bc66
Коммит 0d28ad1985
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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