ruby-changes:61417
From: Koichi <ko1@a...>
Date: Fri, 29 May 2020 13:57:55 +0900 (JST)
Subject: [ruby-changes:61417] 6ba2d3e4c6 (master): export debug utility functions
https://git.ruby-lang.org/ruby.git/commit/?id=6ba2d3e4c6 From 6ba2d3e4c6958a214e13ac07c7bdb160b9c3f21f Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Fri, 29 May 2020 11:19:44 +0900 Subject: export debug utility functions diff --git a/internal.h b/internal.h index 01daa1d..da0dab5 100644 --- a/internal.h +++ b/internal.h @@ -77,8 +77,11 @@ void rb_obj_info_dump(VALUE obj); https://github.com/ruby/ruby/blob/trunk/internal.h#L77 void rb_obj_info_dump_loc(VALUE obj, const char *file, int line, const char *func); /* debug.c */ + +RUBY_SYMBOL_EXPORT_BEGIN void ruby_debug_breakpoint(void); PRINTF_ARGS(void ruby_debug_printf(const char*, ...), 1, 2); +RUBY_SYMBOL_EXPORT_END // show obj data structure without any side-effect #define rp(obj) rb_obj_info_dump_loc((VALUE)(obj), __FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/