mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	proc.c: remove rb_f_lambda
* proc.c (rb_f_lambda): remove deprecated function, which has been unavailable from extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									9bc469b950
								
							
						
					
					
						commit
						35656631d7
					
				
					 2 changed files with 5 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Wed Nov  5 16:55:52 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* proc.c (rb_f_lambda): remove deprecated function, which has been
 | 
			
		||||
	  unavailable from extension libraries.
 | 
			
		||||
 | 
			
		||||
Wed Nov  5 16:26:58 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* include/ruby/intern.h (rb_clear_cache): mark as deprecated, not
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										7
									
								
								proc.c
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								proc.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -670,13 +670,6 @@ rb_block_clear_env_self(VALUE proc)
 | 
			
		|||
    return proc;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VALUE
 | 
			
		||||
rb_f_lambda(void)
 | 
			
		||||
{
 | 
			
		||||
    rb_warn("rb_f_lambda() is deprecated; use rb_block_proc() instead");
 | 
			
		||||
    return rb_block_lambda();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*  Document-method: ===
 | 
			
		||||
 *
 | 
			
		||||
 *  call-seq:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue