Merge pull request #32 from cremno/use-rb_funcall2-instead-of-rb_funcallv
use `rb_funcall2` instead of `rb_funcallv`
This commit is contained in:
		
						commit
						ad63c962c6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -212,7 +212,7 @@ RB_METHOD(_kernelCaller)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* RMXP does this, not sure if specific or 1.8 related */
 | 
						/* RMXP does this, not sure if specific or 1.8 related */
 | 
				
			||||||
	VALUE args[] = { rb_str_new_cstr(":in `<main>'"), rb_str_new_cstr("") };
 | 
						VALUE args[] = { rb_str_new_cstr(":in `<main>'"), rb_str_new_cstr("") };
 | 
				
			||||||
	rb_funcallv(rb_ary_entry(trace, len-1), rb_intern("gsub!"), 2, args);
 | 
						rb_funcall2(rb_ary_entry(trace, len-1), rb_intern("gsub!"), 2, args);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return trace;
 | 
						return trace;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue