summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 08:03:41 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 08:03:41 +0000
commit75b10ac6963531e60690064dbf2e40bd5cbd018e (patch)
tree7cd2e29871a8c1b940ed550a517dd6f0e5b4f354 /debug.h
parentab279b4085b19e94a69c09b95677a7937dea680f (diff)
* debug.h (ruby_set_debug_option): declared.
* main.c: include debug.h. * common.mk (main.$(OBJEXT)): dependency updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index 5c4b19a78b..107ece9ec4 100644
--- a/debug.h
+++ b/debug.h
@@ -29,4 +29,8 @@ int ruby_debug_print_indent(int level, int debug_level, int indent_level);
void ruby_debug_breakpoint(void);
void ruby_debug_gc_check_func(void);
+#ifdef RUBY_DEBUG_ENV
+void ruby_set_debug_option(const char *str);
+#endif
+
#endif /* RUBY_DEBUG_H */