summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-05-27 23:24:31 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:20:58 +0900
commit00f5ddc9aeeab49d656044d14a03765bd6fdfc53 (patch)
treed6e5b08a7b55bfa17a73d94911413f257503b35c /mrbgems/mruby-bin-debugger
parentdcd3e5907ca830f118bf7b55bbf1b1210a67385d (diff)
downloadmruby-00f5ddc9aeeab49d656044d14a03765bd6fdfc53.tar.gz
mruby-00f5ddc9aeeab49d656044d14a03765bd6fdfc53.zip
Use `mrb_funcall_id()` extensively.
Except for support files e.g. `mruby-test/driver.c`, which are not target of symbol collection via `rake gensym`.
Diffstat (limited to 'mrbgems/mruby-bin-debugger')
-rw-r--r--mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c b/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c
index e8702f4df..f3fefc712 100644
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c
@@ -67,7 +67,7 @@ mrb_debug_eval(mrb_state *mrb, mrb_debug_context *dbg, const char *expr, size_t
recv = dbg->regs[0];
- v = mrb_funcall(mrb, recv, "instance_eval", 1, ruby_code);
+ v = mrb_funcall_id(mrb, recv, MRB_SYM(instance_eval), 1, ruby_code);
}
if (exc) {