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

Stop including node.h from vm_debug.h only for NODE

This commit is contained in:
Nobuyoshi Nakada 2021-11-21 11:58:15 +09:00
parent d2cb4cc073
commit cbfd5249d4
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -12,7 +12,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "node.h"
RUBY_SYMBOL_EXPORT_BEGIN
@ -21,9 +20,11 @@ RUBY_SYMBOL_EXPORT_BEGIN
#define dpi(i) ruby_debug_print_id(-1, 0, "", (i))
#define dpn(n) ruby_debug_print_node(-1, 0, "", (n))
struct RNode;
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);
struct RNode *ruby_debug_print_node(int level, int debug_level, const char *header, const struct RNode *node);
int ruby_debug_print_indent(int level, int debug_level, int indent_level);
void ruby_debug_gc_check_func(void);
void ruby_set_debug_option(const char *str);