Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 76 lines (65 sloc) 1.823 kB
9c1d230 committing experimental branch content
Laurent Sansonetti authored
1 #define RUBY_ENGINE "macruby"
96115bd prepare 0.7.1 release
Laurent Sansonetti authored
2 #define MACRUBY_VERSION "0.7.1"
9c1d230 committing experimental branch content
Laurent Sansonetti authored
3
4f57531 Macruby is not serving Ruby 1.9.2!
Thibault Martin-Lagardette authored
4 #define RUBY_VERSION "1.9.2"
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
a6a5d3e started to trim out the static library
Laurent Sansonetti authored
60 #if MACRUBY_STATIC
61 # define MACRUBY_NAME "MacRuby-static"
62 #else
63 # define MACRUBY_NAME "MacRuby"
64 #endif
65
66 #define RUBY_DESCRIPTION \
67 MACRUBY_NAME " " MACRUBY_VERSION \
68 " (ruby "RUBY_VERSION \
9c1d230 committing experimental branch content
Laurent Sansonetti authored
69 ") ["RUBY_PLATFORM", "RUBY_ARCH"]"
70
71 #define RUBY_COPYRIGHT \
72 "MacRuby - Copyright (C) " \
73 STRINGIZE(RUBY_BIRTH_YEAR)"-" \
74 STRINGIZE(RUBY_RELEASE_YEAR)" " \
75 RUBY_AUTHOR
Something went wrong with that request. Please try again.