diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-29 08:10:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-29 08:10:16 +0000 |
commit | 78ce3ea1edb66003bdc8c92ca699e2e08434ae76 (patch) | |
tree | 18cc6df3f6d9a2cf9d3b00d6e41c4eb1a84309e8 /debug.h | |
parent | eae8a9143f04d6598b564787a45f03b27111cf9d (diff) | |
download | ruby-78ce3ea1edb66003bdc8c92ca699e2e08434ae76.tar.gz |
* debug.h: constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 */ |