Skip to content
This repository
Newer
Older
100644 83 lines (72 sloc) 2.082 kb
95957256 » Laurent Sansonetti
2011-01-15 update copyrights to 2011
1 /*
2 * This file is covered by the Ruby license. See COPYING for more details.
7d7d3e80 » ferrous26
2012-04-22 Change ownership to The MacRuby Team and update copyrights
3 *
4 * Copyright (C) 2012, The MacRuby Team. All rights reserved.
95957256 » Laurent Sansonetti
2011-01-15 update copyrights to 2011
5 * Copyright (C) 2007-2011, Apple Inc. All rights reserved.
6 * Copyright (C) 1993-2007 Yukihiro Matsumoto
7 */
8
9c1d2307 » Laurent Sansonetti
2009-03-11 committing experimental branch content
9 #define RUBY_ENGINE "macruby"
f814013d » ferrous26
2012-05-31 Bump version to 0.13
10 #define MACRUBY_VERSION "0.13"
9c1d2307 » Laurent Sansonetti
2009-03-11 committing experimental branch content
11
4f575319 » Thibault Martin-Lagardette
2010-06-03 Macruby is not serving Ruby 1.9.2!
12 #define RUBY_VERSION "1.9.2"
9c1d2307 » Laurent Sansonetti
2009-03-11 committing experimental branch content
13 #define RUBY_RELEASE_DATE "2008-06-03"
14 #define RUBY_VERSION_CODE 190
15 #define RUBY_RELEASE_CODE 20080603
16 #define RUBY_PATCHLEVEL 0
17
18 #define RUBY_VERSION_MAJOR 1
19 #define RUBY_VERSION_MINOR 9
20 #define RUBY_VERSION_TEENY 0
21 #define RUBY_RELEASE_YEAR 2008
22 #define RUBY_RELEASE_MONTH 6
23 #define RUBY_RELEASE_DAY 3
24
25 #ifdef RUBY_EXTERN
26 RUBY_EXTERN const int ruby_version_code;
27 RUBY_EXTERN const char ruby_version[];
28 RUBY_EXTERN const char ruby_release_date[];
29 RUBY_EXTERN const char ruby_platform[];
30 RUBY_EXTERN const int ruby_patchlevel;
31 RUBY_EXTERN const char ruby_description[];
32 RUBY_EXTERN const char ruby_copyright[];
33 #endif
34
7d7d3e80 » ferrous26
2012-04-22 Change ownership to The MacRuby Team and update copyrights
35 #define RUBY_AUTHOR "The MacRuby Team"
36 #define RUBY_BIRTH_YEAR 2012
9c1d2307 » Laurent Sansonetti
2009-03-11 committing experimental branch content
37
38 #ifndef RUBY_REVISION
39 # define RUBY_REVISION 0
40 #endif
41
42 #if RUBY_VERSION_TEENY > 0 && RUBY_PATCHLEVEL < 5000 && !RUBY_REVISION
43 #define RUBY_RELEASE_STR "patchlevel"
44 #define RUBY_RELEASE_NUM RUBY_PATCHLEVEL
45 #else
46 #ifdef RUBY_BRANCH_NAME
47 #define RUBY_RELEASE_STR RUBY_BRANCH_NAME
48 #else
49 #define RUBY_RELEASE_STR "revision"
50 #endif
51 #define RUBY_RELEASE_NUM RUBY_REVISION
52 #endif
53
54 #if defined(__LP64__)
55 # if BYTE_ORDER == BIG_ENDIAN
56 # define RUBY_ARCH "ppc64"
57 # else
58 # define RUBY_ARCH "x86_64"
59 # endif
60 #else
61 # if BYTE_ORDER == BIG_ENDIAN
62 # define RUBY_ARCH "ppc"
63 # else
64 # define RUBY_ARCH "i386"
65 # endif
66 #endif
67
a6a5d3e1 » Laurent Sansonetti
2010-06-16 started to trim out the static library
68 #if MACRUBY_STATIC
69 # define MACRUBY_NAME "MacRuby-static"
70 #else
71 # define MACRUBY_NAME "MacRuby"
72 #endif
73
74 #define RUBY_DESCRIPTION \
75 MACRUBY_NAME " " MACRUBY_VERSION \
76 " (ruby "RUBY_VERSION \
9c1d2307 » Laurent Sansonetti
2009-03-11 committing experimental branch content
77 ") ["RUBY_PLATFORM", "RUBY_ARCH"]"
78
79 #define RUBY_COPYRIGHT \
80 "MacRuby - Copyright (C) " \
81 STRINGIZE(RUBY_BIRTH_YEAR)"-" \
82 STRINGIZE(RUBY_RELEASE_YEAR)" " \
83 RUBY_AUTHOR
Something went wrong with that request. Please try again.