1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/continuation/continuation.c
nobu 3c45a56746 continuation.c: quiet static-linked-ext
* ext/continuation/continuation.c (Init_continuation): start
  quietly if statically linked.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-27 19:58:04 +00:00

13 lines
215 B
C

#include "ruby/ruby.h"
void ruby_Init_Continuation_body(void);
void
Init_continuation(void)
{
#ifndef RUBY_EXPORT
rb_warn("callcc is obsolete; use Fiber instead");
#endif
ruby_Init_Continuation_body();
}