diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-14 08:28:44 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-14 08:28:44 +0000 |
commit | f677aae7bc778df3cb1a63ca9313ddb51481d274 (patch) | |
tree | e334a638ad065a55631d8cfc033deae2c968b824 /version.c | |
parent | 0cafe9e4cdc7658e80f6678e2785ebbb8623ca4e (diff) | |
download | ruby-f677aae7bc778df3cb1a63ca9313ddb51481d274.tar.gz |
* version.c (Init_version): add RUBY_ENGINE constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r-- | version.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,7 @@ const char ruby_platform[] = RUBY_PLATFORM; const int ruby_patchlevel = RUBY_PATCHLEVEL; const char ruby_description[] = RUBY_DESCRIPTION; const char ruby_copyright[] = RUBY_COPYRIGHT; +const char ruby_engine[] = "ruby"; void Init_version(void) @@ -33,6 +34,7 @@ Init_version(void) rb_define_global_const("RUBY_REVISION", INT2FIX(RUBY_REVISION)); rb_define_global_const("RUBY_DESCRIPTION", MKSTR(description)); rb_define_global_const("RUBY_COPYRIGHT", MKSTR(copyright)); + rb_define_global_const("RUBY_ENGINE", MKSTR(engine)); } void |