mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	move function declarations from insns.def to internal.h
Just avoid being loose. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									a1ba5b6a64
								
							
						
					
					
						commit
						22444ae9b1
					
				
					 3 changed files with 3 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -375,7 +375,6 @@ tostring
 | 
			
		|||
(VALUE val, VALUE str)
 | 
			
		||||
(VALUE val)
 | 
			
		||||
{
 | 
			
		||||
    VALUE rb_obj_as_string_result(VALUE str, VALUE obj);
 | 
			
		||||
    val = rb_obj_as_string_result(str, val);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -399,8 +398,6 @@ toregexp
 | 
			
		|||
(VALUE val)
 | 
			
		||||
// attr rb_snum_t sp_inc = 1 - cnt;
 | 
			
		||||
{
 | 
			
		||||
    VALUE rb_reg_new_ary(VALUE ary, int options);
 | 
			
		||||
    VALUE rb_ary_tmp_new_from_values(VALUE, long, const VALUE *);
 | 
			
		||||
    const VALUE ary = rb_ary_tmp_new_from_values(0, cnt, STACK_ADDR_FROM_TOP(cnt));
 | 
			
		||||
    val = rb_reg_new_ary(ary, (int)opt);
 | 
			
		||||
    rb_ary_clear(ary);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1083,6 +1083,7 @@ VALUE rb_ary_aref2(VALUE ary, VALUE b, VALUE e);
 | 
			
		|||
size_t rb_ary_memsize(VALUE);
 | 
			
		||||
VALUE rb_to_array_type(VALUE obj);
 | 
			
		||||
VALUE rb_check_to_array(VALUE ary);
 | 
			
		||||
VALUE rb_ary_tmp_new_from_values(VALUE, long, const VALUE *);
 | 
			
		||||
#if defined(__GNUC__) && defined(HAVE_VA_ARGS_MACRO)
 | 
			
		||||
#define rb_ary_new_from_args(n, ...) \
 | 
			
		||||
    __extension__ ({ \
 | 
			
		||||
| 
						 | 
				
			
			@ -1735,6 +1736,7 @@ bool rb_reg_start_with_p(VALUE re, VALUE str);
 | 
			
		|||
void rb_backref_set_string(VALUE string, long pos, long len);
 | 
			
		||||
int rb_match_count(VALUE match);
 | 
			
		||||
int rb_match_nth_defined(int nth, VALUE match);
 | 
			
		||||
VALUE rb_reg_new_ary(VALUE ary, int options);
 | 
			
		||||
 | 
			
		||||
/* signal.c */
 | 
			
		||||
extern int ruby_enable_coredump;
 | 
			
		||||
| 
						 | 
				
			
			@ -1804,6 +1806,7 @@ VALUE rb_sym_proc_call(ID mid, int argc, const VALUE *argv, VALUE passed_proc);
 | 
			
		|||
VALUE rb_sym_to_proc(VALUE sym);
 | 
			
		||||
char *rb_str_to_cstr(VALUE str);
 | 
			
		||||
VALUE rb_str_eql(VALUE str1, VALUE str2);
 | 
			
		||||
VALUE rb_obj_as_string_result(VALUE str, VALUE obj);
 | 
			
		||||
 | 
			
		||||
/* symbol.c */
 | 
			
		||||
#ifdef RUBY_ENCODING_H
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								string.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								string.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1432,8 +1432,6 @@ str_shared_replace(VALUE str, VALUE str2)
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VALUE rb_obj_as_string_result(VALUE str, VALUE obj);
 | 
			
		||||
 | 
			
		||||
VALUE
 | 
			
		||||
rb_obj_as_string(VALUE obj)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue