summaryrefslogtreecommitdiffstats
path: root/debug.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-29 08:10:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-29 08:10:16 +0000
commit18840ce0173d720cb85c20e801ceaf2a7329c9f8 (patch)
tree18cc6df3f6d9a2cf9d3b00d6e41c4eb1a84309e8 /debug.h
parent1fcd892931d1397d2299669f377311ffb475d1dd (diff)
downloadruby-18840ce0173d720cb85c20e801ceaf2a7329c9f8.tar.gz
ruby-18840ce0173d720cb85c20e801ceaf2a7329c9f8.tar.xz
ruby-18840ce0173d720cb85c20e801ceaf2a7329c9f8.zip
* debug.h: constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/debug.h b/debug.h
index 6cf681d57..8020cfa56 100644
--- a/debug.h
+++ b/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 */