Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 70 lines (60 sloc) 1.717 kb
9c1d230 committing experimental branch content
Laurent Sansonetti authored
1 #define RUBY_ENGINE "macruby"
5384d6d trunk is now 0.6
Laurent Sansonetti authored
2 #define MACRUBY_VERSION "0.6"
9c1d230 committing experimental branch content
Laurent Sansonetti authored
3
aed6282 revert the RUBY_VERSION change because we don't implement some 1.9.2-onl...
Laurent Sansonetti authored
4 #define RUBY_VERSION "1.9.0"
9c1d230 committing experimental branch content
Laurent Sansonetti authored
5 #define RUBY_RELEASE_DATE "2008-06-03"
6 #define RUBY_VERSION_CODE 190
7 #define RUBY_RELEASE_CODE 20080603
8 #define RUBY_PATCHLEVEL 0
9
10 #define RUBY_VERSION_MAJOR 1
11 #define RUBY_VERSION_MINOR 9
12 #define RUBY_VERSION_TEENY 0
13 #define RUBY_RELEASE_YEAR 2008
14 #define RUBY_RELEASE_MONTH 6
15 #define RUBY_RELEASE_DAY 3
16
17 #ifdef RUBY_EXTERN
18 RUBY_EXTERN const int ruby_version_code;
19 RUBY_EXTERN const char ruby_version[];
20 RUBY_EXTERN const char ruby_release_date[];
21 RUBY_EXTERN const char ruby_platform[];
22 RUBY_EXTERN const int ruby_patchlevel;
23 RUBY_EXTERN const char ruby_description[];
24 RUBY_EXTERN const char ruby_copyright[];
25 #endif
26
27 #define RUBY_AUTHOR "Apple Inc."
28 #define RUBY_BIRTH_YEAR 2007
29
30 #ifndef RUBY_REVISION
31 # define RUBY_REVISION 0
32 #endif
33
34 #if RUBY_VERSION_TEENY > 0 && RUBY_PATCHLEVEL < 5000 && !RUBY_REVISION
35 #define RUBY_RELEASE_STR "patchlevel"
36 #define RUBY_RELEASE_NUM RUBY_PATCHLEVEL
37 #else
38 #ifdef RUBY_BRANCH_NAME
39 #define RUBY_RELEASE_STR RUBY_BRANCH_NAME
40 #else
41 #define RUBY_RELEASE_STR "revision"
42 #endif
43 #define RUBY_RELEASE_NUM RUBY_REVISION
44 #endif
45
46 #if defined(__LP64__)
47 # if BYTE_ORDER == BIG_ENDIAN
48 # define RUBY_ARCH "ppc64"
49 # else
50 # define RUBY_ARCH "x86_64"
51 # endif
52 #else
53 # if BYTE_ORDER == BIG_ENDIAN
54 # define RUBY_ARCH "ppc"
55 # else
56 # define RUBY_ARCH "i386"
57 # endif
58 #endif
59
60 #define RUBY_DESCRIPTION \
5f97877 better description
Laurent Sansonetti authored
61 "MacRuby version " MACRUBY_VERSION \
9c1d230 committing experimental branch content
Laurent Sansonetti authored
62 " (ruby "RUBY_VERSION \
63 ") ["RUBY_PLATFORM", "RUBY_ARCH"]"
64
65 #define RUBY_COPYRIGHT \
66 "MacRuby - Copyright (C) " \
67 STRINGIZE(RUBY_BIRTH_YEAR)"-" \
68 STRINGIZE(RUBY_RELEASE_YEAR)" " \
69 RUBY_AUTHOR
Something went wrong with that request. Please try again.