From 01009fdb7cdd3f7477c511d5077e32498ee03e69 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 14 Aug 2008 08:28:44 +0000 Subject: * version.c (Init_version): add RUBY_ENGINE constant. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index d68931b93..4e8bec7f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 14 17:27:07 2008 Yukihiro Matsumoto + + * version.c (Init_version): add RUBY_ENGINE constant. + Thu Aug 14 15:34:10 2008 Tanaka Akira * transcode.c (rb_econv_conv): new function. it don't consume input diff --git a/version.c b/version.c index 3a1d1fc3f..53edf0257 100644 --- a/version.c +++ b/version.c @@ -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 -- cgit