summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-09-05 10:54:06 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 18:20:19 +0900
commita4c5824e59c66a1132f38e1faf21926ddef58ca6 (patch)
tree11d160beb57f060eea6a042d405bbb8cac189002 /mrbgems/mruby-bin-debugger
parentafcf19b727aeca5932689b28777863815fe145cf (diff)
downloadmruby-a4c5824e59c66a1132f38e1faf21926ddef58ca6.tar.gz
mruby-a4c5824e59c66a1132f38e1faf21926ddef58ca6.zip
Restore old function names for compatibility; ref #5070
- `mrb_check_intern()` to return `mrb_value` - `mrb_intern_check()` to return `mrb_sym` [NEW] Other new functions: - `mrb_intern_check_cstr()` - `mrb_intern_check_str()`
Diffstat (limited to 'mrbgems/mruby-bin-debugger')
-rw-r--r--mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c b/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c
index 859f42bbd..fbc5a5ee4 100644
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c
@@ -151,7 +151,7 @@ compare_break_method(mrb_state *mrb, mrb_debug_breakpoint *bp, struct RClass *cl
}
sc = mrb_class_get(mrb, method_p->class_name);
- ssym = mrb_check_intern_cstr(mrb, method_p->method_name);
+ ssym = mrb_intern_check_cstr(mrb, method_p->method_name);
m = mrb_method_search_vm(mrb, &sc, ssym);
if (MRB_METHOD_UNDEF_P(m)) {
return MRB_DEBUG_OK;