diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-05-16 21:39:29 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:20:56 +0900 |
| commit | b941e918664af9390d4a61d6645dd2d1b9336c9d (patch) | |
| tree | 660b10bfb7186658250306d0d30ed9e29a3caf87 /mrbgems/mruby-method/src/method.c | |
| parent | 312f54b580797613207059a16164313dcb558f73 (diff) | |
| download | mruby-b941e918664af9390d4a61d6645dd2d1b9336c9d.tar.gz mruby-b941e918664af9390d4a61d6645dd2d1b9336c9d.zip | |
Use more `MRB_QSYM()`.
Diffstat (limited to 'mrbgems/mruby-method/src/method.c')
| -rw-r--r-- | mrbgems/mruby-method/src/method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-method/src/method.c b/mrbgems/mruby-method/src/method.c index 502494dd3..13584294f 100644 --- a/mrbgems/mruby-method/src/method.c +++ b/mrbgems/mruby-method/src/method.c @@ -322,7 +322,7 @@ mrb_search_method_owner(mrb_state *mrb, struct RClass *c, mrb_value obj, mrb_sym if (unbound) { goto name_error; } - if (!mrb_respond_to(mrb, obj, mrb_intern_lit(mrb, "respond_to_missing?"))) { + if (!mrb_respond_to(mrb, obj, MRB_QSYM(respond_to_missing_p))) { goto name_error; } ret = mrb_funcall(mrb, obj, "respond_to_missing?", 2, mrb_symbol_value(name), mrb_true_value()); |
