summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-23 21:08:19 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-23 21:08:19 (GMT)
commit89339af9c19c28eaa9e2814fb75aa09768971f0e (patch)
tree12665d8e36b58d3d44b4e6d305fade4cc7ab79c2 /version.c
parent0d5b1718c2f5fdbcd7f06aec6f6ac0fbac5a81ac (diff)
* include/ruby/version.h (RUBY_API_VERSION_*): renamed and moved
from version.h. [ruby-dev:42103] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r--version.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/version.c b/version.c
index a0008ef..c007470 100644
--- a/version.c
+++ b/version.c
@@ -50,6 +50,11 @@
#define RUBY_VENDOR_THIN_ARCHLIB RUBY_VENDOR_LIB2 "/"RUBY_THINARCH
#endif
+const int ruby_api_version[] = {
+ RUBY_API_VERSION_MAJOR,
+ RUBY_API_VERSION_MINOR,
+ RUBY_API_VERSION_TEENY,
+};
const char ruby_version[] = RUBY_VERSION;
const char ruby_release_date[] = RUBY_RELEASE_DATE;
const char ruby_platform[] = RUBY_PLATFORM;