diff options
author | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-26 11:50:55 +0000 |
---|---|---|
committer | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-26 11:50:55 +0000 |
commit | 262245b0c1a3d5d823fd36c2b688121649fd9e18 (patch) | |
tree | 96adea93dd39df1e5e6cd7d22fe9120bfbefc90e /ext/continuation | |
parent | 307198a3c3ecd79b8b52c4cf7d405922e48964cc (diff) | |
download | bundler-262245b0c1a3d5d823fd36c2b688121649fd9e18.tar.gz |
* ext/continuation/continuation.c (Init_continuation): obsolete callcc.
first step of [Feature #10548].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/continuation')
-rw-r--r-- | ext/continuation/continuation.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/continuation/continuation.c b/ext/continuation/continuation.c index ae69b66cd8..71b52db539 100644 --- a/ext/continuation/continuation.c +++ b/ext/continuation/continuation.c @@ -1,8 +1,11 @@ +#include "ruby/ruby.h" + void ruby_Init_Continuation_body(void); void Init_continuation(void) { + rb_warn("callcc is obsolete; use Fiber instead"); ruby_Init_Continuation_body(); } |