diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-05-18 14:41:00 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-05-18 14:41:00 +0900 |
| commit | fb60a2191adaec178a780ca19ba39d64bd87c3fe (patch) | |
| tree | 93914e2ebfb18dbdcb462ef214a54b890cfdfaf7 /src/print.c | |
| parent | 8846f75ecccf701009fb191207b64ef996544ad8 (diff) | |
| download | mruby-fb60a2191adaec178a780ca19ba39d64bd87c3fe.tar.gz mruby-fb60a2191adaec178a780ca19ba39d64bd87c3fe.zip | |
revise version description
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c index 35fde4896..f9034470b 100644 --- a/src/print.c +++ b/src/print.c @@ -73,3 +73,16 @@ mrb_init_print(mrb_state *mrb) mrb_define_method(mrb, krn, "__printstr__", mrb_printstr, ARGS_REQ(1)); mrb_define_method(mrb, krn, "p", p_m, ARGS_ANY()); /* 15.3.1.3.34 */ } + + +void +mrb_show_version(mrb_state *mrb) +{ + printf("mruby - Embeddable Ruby Copyright (c) 2010-2012 mruby developers\n"); +} + +void +mrb_show_copyright(mrb_state *mrb) +{ + printf("mruby - Copyright (c) 2010-2012 mruby developers\n"); +} |
