diff options
| author | Jun Hiroe <[email protected]> | 2013-07-14 00:39:21 +0900 |
|---|---|---|
| committer | Jun Hiroe <[email protected]> | 2013-07-14 00:39:21 +0900 |
| commit | 3cf1a9beaefd48b353139a98b4437de98432fdbc (patch) | |
| tree | b34e9f56452cd35b22062dd70cf2671dd39f4b0b /mrbgems/mruby-bin-mirb/tools | |
| parent | 5b3d531d794c94c08c808a7d50309bdebe20bf56 (diff) | |
| download | mruby-3cf1a9beaefd48b353139a98b4437de98432fdbc.tar.gz mruby-3cf1a9beaefd48b353139a98b4437de98432fdbc.zip | |
Replace mrb_intern() with mrb_intern2() or mrb_intern_cstr().
Diffstat (limited to 'mrbgems/mruby-bin-mirb/tools')
| -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); |
