mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* 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
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			215 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			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();
 | 
						|
}
 |