Skip to content
Newer
Older
100644 74 lines (66 sloc) 1.82 KB
511dc44 initial import
Laurent Sansonetti authored Feb 25, 2008
1 #define RUBY_VERSION "1.9.0"
26d0e1f merge with ruby trunk r16762 + better/faster objc-like dispatcher
Laurent Sansonetti authored Jun 5, 2008
2 #define RUBY_RELEASE_DATE "2008-06-03"
511dc44 initial import
Laurent Sansonetti authored Feb 25, 2008
3 #define RUBY_VERSION_CODE 190
26d0e1f merge with ruby trunk r16762 + better/faster objc-like dispatcher
Laurent Sansonetti authored Jun 5, 2008
4 #define RUBY_RELEASE_CODE 20080603
511dc44 initial import
Laurent Sansonetti authored Feb 25, 2008
5 #define RUBY_PATCHLEVEL 0
6
7 #define RUBY_VERSION_MAJOR 1
8 #define RUBY_VERSION_MINOR 9
9 #define RUBY_VERSION_TEENY 0
10 #define RUBY_RELEASE_YEAR 2008
26d0e1f merge with ruby trunk r16762 + better/faster objc-like dispatcher
Laurent Sansonetti authored Jun 5, 2008
11 #define RUBY_RELEASE_MONTH 6
12 #define RUBY_RELEASE_DAY 3
511dc44 initial import
Laurent Sansonetti authored Feb 25, 2008
13
14 #ifdef RUBY_EXTERN
15 RUBY_EXTERN const int ruby_version_code;
16 RUBY_EXTERN const char ruby_version[];
17 RUBY_EXTERN const char ruby_release_date[];
18 RUBY_EXTERN const char ruby_platform[];
19 RUBY_EXTERN const int ruby_patchlevel;
20 RUBY_EXTERN const char ruby_description[];
21 RUBY_EXTERN const char ruby_copyright[];
22 #endif
23
24 #define RUBY_AUTHOR "Yukihiro Matsumoto"
25 #define RUBY_BIRTH_YEAR 1993
26 #define RUBY_BIRTH_MONTH 2
27 #define RUBY_BIRTH_DAY 24
28
29 #ifndef RUBY_REVISION
30 /*#include "revision.h"*/
31 #endif
32 #ifndef RUBY_REVISION
33 #define RUBY_REVISION 0
34 #endif
35
36 #if RUBY_VERSION_TEENY > 0 && RUBY_PATCHLEVEL < 5000 && !RUBY_REVISION
37 #define RUBY_RELEASE_STR "patchlevel"
38 #define RUBY_RELEASE_NUM RUBY_PATCHLEVEL
39 #else
40 #ifdef RUBY_BRANCH_NAME
41 #define RUBY_RELEASE_STR RUBY_BRANCH_NAME
42 #else
43 #define RUBY_RELEASE_STR "revision"
44 #endif
45 #define RUBY_RELEASE_NUM RUBY_REVISION
46 #endif
47
48 #if WITH_OBJC
4a2b903 merging lrz_unstable branch
Laurent Sansonetti authored Aug 21, 2008
49 # define RUBY_ENGINE "macruby"
511dc44 initial import
Laurent Sansonetti authored Feb 25, 2008
50 #else
4a2b903 merging lrz_unstable branch
Laurent Sansonetti authored Aug 21, 2008
51 # define RUBY_ENGINE "ruby"
511dc44 initial import
Laurent Sansonetti authored Feb 25, 2008
52 #endif
53
54 #if WITH_OBJC
d70a752 we are 0.3 now
Laurent Sansonetti authored Jun 11, 2008
55 # define MACRUBY_VERSION 0.3
511dc44 initial import
Laurent Sansonetti authored Feb 25, 2008
56 # define RUBY_DESCRIPTION \
57 "MacRuby version " STRINGIZE(MACRUBY_VERSION) \
58 " (ruby "RUBY_VERSION \
01e2bdc do not show the (broken) upstream revision number in the version string
Laurent Sansonetti authored Mar 11, 2008
59 " "RUBY_RELEASE_DATE")" \
60 " ["RUBY_PLATFORM"]"
511dc44 initial import
Laurent Sansonetti authored Feb 25, 2008
61 #else
62 # define RUBY_DESCRIPTION \
63 "ruby "RUBY_VERSION \
64 " ("RUBY_RELEASE_DATE" " \
65 RUBY_RELEASE_STR" " \
66 STRINGIZE(RUBY_RELEASE_NUM)") " \
67 "["RUBY_PLATFORM"]"
68 #endif
69 # define RUBY_COPYRIGHT \
70 "ruby - Copyright (C) " \
71 STRINGIZE(RUBY_BIRTH_YEAR)"-" \
72 STRINGIZE(RUBY_RELEASE_YEAR)" " \
73 RUBY_AUTHOR
Something went wrong with that request. Please try again.