diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-10 08:21:07 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-10 08:21:07 +0000 |
| commit | b88714dc096f539d09092124fe089d0a52bf5133 (patch) | |
| tree | 0d2a03b24ab9e397b3168909702b0121a287147b /README.EXT | |
| parent | b7ec4cf720c236d2d5d129ddf96edd062116819f (diff) | |
| download | ruby-b88714dc096f539d09092124fe089d0a52bf5133.tar.gz ruby-b88714dc096f539d09092124fe089d0a52bf5133.tar.xz ruby-b88714dc096f539d09092124fe089d0a52bf5133.zip | |
* eval.c (return_jump): set return value to the return
destination. separated from localjump_destination().
* eval.c (break_jump): break innermost loop (or thread or proc).
* eval.c (rb_yield_0): set exit_value for block break.
* eval.c (eval): Only print backtrace if generating the backtrace
doesn't generate an exception. [ruby-core:02621]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 3a37db4e1..4504e98bd 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. |
