1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
akr 2008-09-23 08:03:41 +00:00
parent ab279b4085
commit 75b10ac696
4 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,11 @@
Tue Sep 23 17:02:47 2008 Tanaka Akira <akr@fsij.org>
* debug.h (ruby_set_debug_option): declared.
* main.c: include debug.h.
* common.mk (main.$(OBJEXT)): dependency updated.
Tue Sep 23 16:59:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* hash.c (ENVMATCH, ENVNMATCH): reduced same code.

View file

@ -477,7 +477,7 @@ hash.$(OBJEXT): {$(VPATH)}hash.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h
inits.$(OBJEXT): {$(VPATH)}inits.c $(RUBY_H_INCLUDES)
io.$(OBJEXT): {$(VPATH)}io.c $(RUBY_H_INCLUDES) {$(VPATH)}io.h \
{$(VPATH)}util.h $(VM_CORE_H_INCLUDES) $(ENCODING_H_INCLUDES)
main.$(OBJEXT): {$(VPATH)}main.c $(RUBY_H_INCLUDES) {$(VPATH)}vm.h
main.$(OBJEXT): {$(VPATH)}main.c $(RUBY_H_INCLUDES) {$(VPATH)}debug.h {$(VPATH)}node.h
marshal.$(OBJEXT): {$(VPATH)}marshal.c $(RUBY_H_INCLUDES) \
{$(VPATH)}io.h $(ENCODING_H_INCLUDES) {$(VPATH)}util.h
math.$(OBJEXT): {$(VPATH)}math.c $(RUBY_H_INCLUDES)

View file

@ -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 */

1
main.c
View file

@ -11,6 +11,7 @@
#undef RUBY_EXPORT
#include "ruby.h"
#include "debug.h"
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif