summaryrefslogtreecommitdiff
path: root/ext/continuation/continuation.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-25 02:03:44 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-25 02:03:44 +0000
commit977d66ec993b0f1892fb3e4cd8ac1c41716daf85 (patch)
tree90e36b2fb912f657c8b94278961b938c805c6dd8 /ext/continuation/continuation.c
parentcfaf3d9a1aee75a51f63bda5ff447da2bfc4234f (diff)
* cont.c: separate Continuation and Fiber from core.
* ext/continuation/*, ext/fiber/*: ditto. * include/ruby/ruby.h: remove rb_cFiber. * include/ruby/intern.h: add the rb_fiber_new() declaration. * enumerator.c (next_init): fix to use rb_fiber_new(). * test/ruby/test_enumerator.rb: remove next? tests. * test/ruby/test_continuation.rb: add a require 'continuation'. * test/ruby/test_fiber.rb: add a require 'fiber'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/continuation/continuation.c')
-rw-r--r--ext/continuation/continuation.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/continuation/continuation.c b/ext/continuation/continuation.c
new file mode 100644
index 0000000..a1b43b5
--- /dev/null
+++ b/ext/continuation/continuation.c
@@ -0,0 +1,8 @@
+
+void Init_Continuation_body(void);
+
+void
+Init_continuation(void)
+{
+ Init_Continuation_body();
+}