mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* eval.c (rb_call0): check event_hooks instead of trace_func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									2342d9078b
								
							
						
					
					
						commit
						9606249e46
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,7 @@
 | 
			
		|||
Tue Mar 22 22:40:18 2005  Shugo Maeda  <shugo@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* eval.c (rb_call0): check event_hooks instead of trace_func.
 | 
			
		||||
 | 
			
		||||
Tue Mar 22 17:30:44 2005  Shugo Maeda  <shugo@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* eval.c (rb_add_event_hook): new function to add a hook function for
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								eval.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								eval.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -5731,7 +5731,7 @@ rb_call0(klass, recv, id, oid, argc, argv, body, nosuper)
 | 
			
		|||
		    }
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (trace_func) {
 | 
			
		||||
		if (event_hooks) {
 | 
			
		||||
		    EXEC_EVENT_HOOK(RUBY_EVENT_CALL, b2, recv, id, klass);
 | 
			
		||||
		    hook_return = 1;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue