diff options
Diffstat (limited to 'README.EXT')
-rw-r--r-- | README.EXT | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.EXT b/README.EXT index 3a37db4e11..4504e98bdc 100644 --- a/README.EXT +++ b/README.EXT @@ -115,7 +115,7 @@ can be cast to retrieve the pointer to the struct. The casting macro will be of the form RXXXX for each data type; for instance, RARRAY(obj). See "ruby.h". -For example, `RSTRING(size)->len' is the way to get the size of the +For example, `RSTRING(str)->len' is the way to get the size of the Ruby String object. The allocated region can be accessed by `RSTRING(str)->ptr'. For arrays, use `RARRAY(ary)->len' and `RARRAY(ary)->ptr' respectively. |