Skip to content
Newer
Older
100644 84 lines (72 sloc) 2.03 KB
9595725 update copyrights to 2011
Laurent Sansonetti authored Jan 15, 2011
1 /*
2 * This file is covered by the Ruby license. See COPYING for more details.
7d7d3e8 @ferrous26 Change ownership to The MacRuby Team and update copyrights
ferrous26 authored Apr 22, 2012
3 *
4 * Copyright (C) 2012, The MacRuby Team. All rights reserved.
9595725 update copyrights to 2011
Laurent Sansonetti authored Jan 15, 2011
5 * Copyright (C) 2007-2011, Apple Inc. All rights reserved.
6 * Copyright (C) 1993-2007 Yukihiro Matsumoto
7 */
8
9c1d230 committing experimental branch content
Laurent Sansonetti authored Mar 11, 2009
9 #define RUBY_ENGINE "macruby"
f814013 @ferrous26 Bump version to 0.13
ferrous26 authored May 31, 2012
10 #define MACRUBY_VERSION "0.13"
9c1d230 committing experimental branch content
Laurent Sansonetti authored Mar 11, 2009
11
4f57531 Macruby is not serving Ruby 1.9.2!
Thibault Martin-Lagardette authored Jun 3, 2010
12 #define RUBY_VERSION "1.9.2"
9c1d230 committing experimental branch content
Laurent Sansonetti authored Mar 11, 2009
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
7d7d3e8 @ferrous26 Change ownership to The MacRuby Team and update copyrights
ferrous26 authored Apr 22, 2012
35 #define RUBY_AUTHOR "The MacRuby Team"
36 #define RUBY_BIRTH_YEAR 2012
9c1d230 committing experimental branch content
Laurent Sansonetti authored Mar 11, 2009
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
a6a5d3e started to trim out the static library
Laurent Sansonetti authored Jun 16, 2010
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 \
9c1d230 committing experimental branch content
Laurent Sansonetti authored Mar 11, 2009
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.