mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Add a shorthand for ruby_debug_print_node
This commit is contained in:
parent
da23f8fe1a
commit
0c990994c7
1 changed files with 6 additions and 0 deletions
6
debug.c
6
debug.c
|
@ -155,6 +155,12 @@ ruby_debug_print_node(int level, int debug_level, const char *header, const NODE
|
|||
return (NODE *)node;
|
||||
}
|
||||
|
||||
void
|
||||
ruby_debug_print_n(const NODE *node)
|
||||
{
|
||||
ruby_debug_print_node(0, 1, "", node);
|
||||
}
|
||||
|
||||
void
|
||||
ruby_debug_breakpoint(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue