Ruby 2.0.0p353(2013-11-22revision43784)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

version.h
Go to the documentation of this file.
1 #define RUBY_VERSION "2.0.0"
2 #define RUBY_RELEASE_DATE "2013-11-22"
3 #define RUBY_PATCHLEVEL 353
4
5 #define RUBY_RELEASE_YEAR 2013
6 #define RUBY_RELEASE_MONTH 11
7 #define RUBY_RELEASE_DAY 22
8
9 #include "ruby/version.h"
10
11 #if !defined RUBY_LIB_VERSION && defined RUBY_LIB_VERSION_STYLE
12 # if RUBY_LIB_VERSION_STYLE == 3
13 # define RUBY_LIB_VERSION STRINGIZE(RUBY_API_VERSION_MAJOR)"."STRINGIZE(RUBY_API_VERSION_MINOR)"."STRINGIZE(RUBY_API_VERSION_TEENY)
14 # elif RUBY_LIB_VERSION_STYLE == 2
15 # define RUBY_LIB_VERSION STRINGIZE(RUBY_API_VERSION_MAJOR)"."STRINGIZE(RUBY_API_VERSION_MINOR)
16 # endif
17 #endif
18
19 #if RUBY_PATCHLEVEL == -1
20 #define RUBY_PATCHLEVEL_STR "dev"
21 #else
22 #define RUBY_PATCHLEVEL_STR "p"STRINGIZE(RUBY_PATCHLEVEL)
23 #endif
24
25 #ifndef RUBY_REVISION
26 # include "revision.h"
27 #endif
28 # ifndef RUBY_REVISION
29 # define RUBY_REVISION 0
30 #endif
31
32 #if RUBY_REVISION
33 # ifdef RUBY_BRANCH_NAME
34 # define RUBY_REVISION_STR " "RUBY_BRANCH_NAME" "STRINGIZE(RUBY_REVISION)
35 # else
36 # define RUBY_REVISION_STR " revision "STRINGIZE(RUBY_REVISION)
37 # endif
38 #else
39 # define RUBY_REVISION_STR ""
40 #endif
41
42 # define RUBY_DESCRIPTION \
43 "ruby "RUBY_VERSION \
44 RUBY_PATCHLEVEL_STR \
45 " ("RUBY_RELEASE_DATE \
46 RUBY_REVISION_STR") " \
47 "["RUBY_PLATFORM"]"
48 # define RUBY_COPYRIGHT \
49 "ruby - Copyright (C) " \
50 STRINGIZE(RUBY_BIRTH_YEAR)"-" \
51 STRINGIZE(RUBY_RELEASE_YEAR)" " \
52 RUBY_AUTHOR
revision.h
version.h