diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-26 09:34:32 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-26 09:34:32 +0000 |
commit | b9d64f433b694cf1f88c828cb69ddbe3886f8996 () | |
tree | 4fc21cf36091b2886de117379449208fcf58eb68 /version.c | |
parent | 0d9c33d14be362e51eb189472351a1f78299b4b9 (diff) |
Sun Nov 26 16:36:46 2006 URABE Shyouhei <[email protected]>
* version.h: addition of RUBY_LEVEL. * version.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | version.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -17,6 +17,7 @@ const char ruby_version[] = RUBY_VERSION; const char ruby_release_date[] = RUBY_RELEASE_DATE; const char ruby_platform[] = RUBY_PLATFORM; void Init_version(void) @@ -28,12 +29,13 @@ Init_version(void) rb_define_global_const("RUBY_VERSION", v); rb_define_global_const("RUBY_RELEASE_DATE", d); rb_define_global_const("RUBY_PLATFORM", p); } void ruby_show_version(void) { - printf("ruby %s (%s) [%s]\n", RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM); fflush(stdout); } |