diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-02 07:48:29 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-02 07:48:29 +0000 |
commit | 6b3ef2249cc6d03b9e153a1bbfb24eb12d4032a5 (patch) | |
tree | 11d43bf13048e34b30b13588f07255fc5099747a /vms/vmsruby_private.h | |
parent | 66d4a354a874fb8539e0e421a684c34d8890ad22 (diff) | |
download | ruby-6b3ef2249cc6d03b9e153a1bbfb24eb12d4032a5.tar.gz |
* cont.c (Fiber#pass): rename to Fiber#yield. Block parameter
of fiber body receive first yield values.
e.g.: Fiber.new{|x| p x}.yield(:ok) #=> :ok
* cont.c: rename rb_context_t#retval to rb_context_t#value.
* test/ruby/test_fiber.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vms/vmsruby_private.h')
0 files changed, 0 insertions, 0 deletions