diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-14 05:57:48 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-14 05:57:48 -0700 |
| commit | ebae4dffdff1a5bcc4922fcd257ef2526f68fd77 (patch) | |
| tree | 854be37ce02e87961932578470765638d8cb8fc9 /mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | |
| parent | 8cb31d9f99f1bf38621e4dd8c2a275196b43e6a9 (diff) | |
| parent | 3cf1a9beaefd48b353139a98b4437de98432fdbc (diff) | |
| download | mruby-ebae4dffdff1a5bcc4922fcd257ef2526f68fd77.tar.gz mruby-ebae4dffdff1a5bcc4922fcd257ef2526f68fd77.zip | |
Merge pull request #1375 from suzukaze/replace-mrb_intern
Replace mrb_intern() with mrb_intern2() or mrb_intern_cstr().
Diffstat (limited to 'mrbgems/mruby-bin-mirb/tools/mirb/mirb.c')
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c index 5e3e123c6..7f2fcf282 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -346,7 +346,7 @@ main(int argc, char **argv) } else { /* no */ - if (!mrb_respond_to(mrb,result,mrb_intern(mrb,"inspect"))){ + if (!mrb_respond_to(mrb, result, mrb_intern2(mrb, "inspect", 7))){ result = mrb_any_to_s(mrb,result); } p(mrb, result, 1); |
