summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
-rw-r--r--internal.h3
1 files changed, 3 insertions, 0 deletions
@@ -77,8 +77,11 @@ void rb_obj_info_dump(VALUE obj);
void rb_obj_info_dump_loc(VALUE obj, const char *file, int line, const char *func);
/* debug.c */
void ruby_debug_breakpoint(void);
PRINTF_ARGS(void ruby_debug_printf(const char*, ...), 1, 2);
// show obj data structure without any side-effect
#define rp(obj) rb_obj_info_dump_loc((VALUE)(obj), __FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING)