summaryrefslogtreecommitdiffstats
path: root/enum.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-21 18:51:39 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-21 18:51:39 +0000
commitbb71c0e99060462478408a3d9ae428674e5ee013 (patch)
tree778e478e788a5284ebdb9798c7193233be428ac3 /enum.c
parentc99478310d6ca0037f0d1f5a66d04bd8d463308a (diff)
downloadruby-bb71c0e99060462478408a3d9ae428674e5ee013.tar.gz
ruby-bb71c0e99060462478408a3d9ae428674e5ee013.tar.xz
ruby-bb71c0e99060462478408a3d9ae428674e5ee013.zip
* cont.c: add Fiber#resume and Fiber.yield.
and Fiber::Core class to realize Coroutine. * include/ruby/intern.h: declare rb_fiber_yield(), rb_fiber_resume(), * enumerator.c: use above api. * test/ruby/test_fiber.rb: fix and add tests for above changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
0 files changed, 0 insertions, 0 deletions