mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
307198a3c3
commit
262245b0c1
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Nov 26 20:47:28 2014 Masaya Tarui <tarui@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/continuation/continuation.c (Init_continuation): obsolete callcc.
|
||||||
|
first step of [Feature #10548].
|
||||||
|
|
||||||
Wed Nov 26 19:57:54 2014 Koichi Sasada <ko1@atdot.net>
|
Wed Nov 26 19:57:54 2014 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* test/ruby/test_gc.rb (test_latest_gc_info): do test separately
|
* test/ruby/test_gc.rb (test_latest_gc_info): do test separately
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
|
|
||||||
|
#include "ruby/ruby.h"
|
||||||
|
|
||||||
void ruby_Init_Continuation_body(void);
|
void ruby_Init_Continuation_body(void);
|
||||||
|
|
||||||
void
|
void
|
||||||
Init_continuation(void)
|
Init_continuation(void)
|
||||||
{
|
{
|
||||||
|
rb_warn("callcc is obsolete; use Fiber instead");
|
||||||
ruby_Init_Continuation_body();
|
ruby_Init_Continuation_body();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue