diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-12-01 21:29:46 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-12-01 21:29:46 -0800 |
| commit | da8405a0f7ce7d4566afdba2243bd59a5498dfb1 (patch) | |
| tree | 9a69acf656c2d74b48c85129867fa249094b65fa /mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | |
| parent | e981f0b45cb193e395ac446762b234e16d857712 (diff) | |
| parent | df780ae5e9cb12f527f01ce04137a1ad76c0b1c6 (diff) | |
| download | mruby-da8405a0f7ce7d4566afdba2243bd59a5498dfb1.tar.gz mruby-da8405a0f7ce7d4566afdba2243bd59a5498dfb1.zip | |
Merge pull request #1600 from take-cheeze/mrb_intern_lit
Proposal of mrb_intern_lit macro.
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 5a4114567..81eef7f82 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -384,7 +384,7 @@ main(int argc, char **argv) } else { /* no */ - if (!mrb_respond_to(mrb, result, mrb_intern(mrb, "inspect", 7))){ + if (!mrb_respond_to(mrb, result, mrb_intern_lit(mrb, "inspect"))){ result = mrb_any_to_s(mrb,result); } p(mrb, result, 1); |
