mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* debug.h: constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									eae8a9143f
								
							
						
					
					
						commit
						78ce3ea1ed
					
				
					 2 changed files with 9 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,6 @@
 | 
			
		|||
Fri Jun 29 16:57:22 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
Fri Jun 29 17:10:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* debug.h: constified.
 | 
			
		||||
 | 
			
		||||
	* debug.c (ruby_set_debug_option): separated from main.c.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										12
									
								
								debug.h
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								debug.h
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -10,8 +10,8 @@
 | 
			
		|||
 | 
			
		||||
**********************************************************************/
 | 
			
		||||
 | 
			
		||||
#ifndef _DEBUG_H_INCLUDED_
 | 
			
		||||
#define _DEBUG_H_INCLUDED_
 | 
			
		||||
#ifndef RUBY_DEBUG_H
 | 
			
		||||
#define RUBY_DEBUG_H
 | 
			
		||||
 | 
			
		||||
#include "ruby/ruby.h"
 | 
			
		||||
#include "ruby/node.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -23,11 +23,11 @@
 | 
			
		|||
 | 
			
		||||
#define bp()     ruby_debug_breakpoint()
 | 
			
		||||
 | 
			
		||||
VALUE ruby_debug_print_value(int level, int debug_level, char *header, VALUE v);
 | 
			
		||||
ID    ruby_debug_print_id(int level, int debug_level, char *header, ID id);
 | 
			
		||||
NODE *ruby_debug_print_node(int level, int debug_level, char *header, NODE *node);
 | 
			
		||||
VALUE ruby_debug_print_value(int level, int debug_level, const char *header, VALUE v);
 | 
			
		||||
ID    ruby_debug_print_id(int level, int debug_level, const char *header, ID id);
 | 
			
		||||
NODE *ruby_debug_print_node(int level, int debug_level, const char *header, const NODE *node);
 | 
			
		||||
void  ruby_debug_print_indent(int level, int debug_level, int indent_level);
 | 
			
		||||
void  ruby_debug_breakpoint(void);
 | 
			
		||||
void  ruby_debug_gc_check_func(void);
 | 
			
		||||
 | 
			
		||||
#endif /* _DEBUG_H_INCLUDED_ */
 | 
			
		||||
#endif /* RUBY_DEBUG_H */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue