diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-05-27 23:24:31 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:20:58 +0900 |
| commit | 00f5ddc9aeeab49d656044d14a03765bd6fdfc53 (patch) | |
| tree | d6e5b08a7b55bfa17a73d94911413f257503b35c /mrbgems/mruby-sprintf | |
| parent | dcd3e5907ca830f118bf7b55bbf1b1210a67385d (diff) | |
| download | mruby-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-sprintf')
| -rw-r--r-- | mrbgems/mruby-sprintf/src/sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c index bf7a4d725..0cf462ef7 100644 --- a/mrbgems/mruby-sprintf/src/sprintf.c +++ b/mrbgems/mruby-sprintf/src/sprintf.c @@ -763,7 +763,7 @@ retry: tmp = mrb_str_new(mrb, buf, 1); } else { - tmp = mrb_funcall(mrb, val, "chr", 0); + tmp = mrb_funcall_id(mrb, val, MRB_SYM(chr), 0); mrb_check_type(mrb, tmp, MRB_TT_STRING); } #endif |
