diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-07-17 23:41:02 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-07-17 23:41:02 +0900 |
| commit | cb8fe4400fc2424a71d58411fb720e4507287167 (patch) | |
| tree | 8e94895e54ef71828c05a96b8d436fb19cca0923 /src/print.c | |
| parent | 87daf837d602b0e7217fd0a684f2983c6c1a2c14 (diff) | |
| download | mruby-cb8fe4400fc2424a71d58411fb720e4507287167.tar.gz mruby-cb8fe4400fc2424a71d58411fb720e4507287167.zip | |
mrb_p() should return the argument
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 663db11df..1b199fb44 100644 --- a/src/print.c +++ b/src/print.c @@ -75,7 +75,7 @@ mrb_show_copyright(mrb_state *mrb) mrb_value mrb_p(mrb_state *mrb, mrb_value obj) { - return mrb_nil_value(); + return obj; } void |
