2003-12-25 04:54:08 +00:00
|
|
|
#define RUBY_VERSION "1.9.0"
|
* array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,
enumerator.c (enumerator_allocate), eval_jump.c, file.c, hash.c,
io.c, load.c, pack.c, proc.c, random.c, re.c, ruby.c, st.c,
string.c, thread.c, thread_pthread.c, time.c, util.c, variable.c,
vm.c, gc.c:
allocated memory objects by xmalloc (ruby_xmalloc) should be
freed by xfree (ruby_xfree).
* ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,
ext/gdbm/gdbm.c, ext/json/ext/parser/parser.c,
ext/json/ext/parser/unicode.c, ext/openssl/ossl_cipher.c,
ext/openssl/ossl_hmac.c, ext/openssl/ossl_pkey_ec.c,
ext/sdbm/init.c, ext/strscan/strscan.c, ext/zlib/zlib.c:
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08 10:01:40 +00:00
|
|
|
#define RUBY_RELEASE_DATE "2008-06-08"
|
2003-12-25 04:54:08 +00:00
|
|
|
#define RUBY_VERSION_CODE 190
|
* array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,
enumerator.c (enumerator_allocate), eval_jump.c, file.c, hash.c,
io.c, load.c, pack.c, proc.c, random.c, re.c, ruby.c, st.c,
string.c, thread.c, thread_pthread.c, time.c, util.c, variable.c,
vm.c, gc.c:
allocated memory objects by xmalloc (ruby_xmalloc) should be
freed by xfree (ruby_xfree).
* ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,
ext/gdbm/gdbm.c, ext/json/ext/parser/parser.c,
ext/json/ext/parser/unicode.c, ext/openssl/ossl_cipher.c,
ext/openssl/ossl_hmac.c, ext/openssl/ossl_pkey_ec.c,
ext/sdbm/init.c, ext/strscan/strscan.c, ext/zlib/zlib.c:
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08 10:01:40 +00:00
|
|
|
#define RUBY_RELEASE_CODE 20080608
|
2006-11-26 09:34:32 +00:00
|
|
|
#define RUBY_PATCHLEVEL 0
|
2002-12-24 08:53:56 +00:00
|
|
|
|
|
|
|
#define RUBY_VERSION_MAJOR 1
|
2003-12-25 04:54:08 +00:00
|
|
|
#define RUBY_VERSION_MINOR 9
|
|
|
|
#define RUBY_VERSION_TEENY 0
|
2007-12-31 16:04:11 +00:00
|
|
|
#define RUBY_RELEASE_YEAR 2008
|
2008-06-01 03:23:50 +00:00
|
|
|
#define RUBY_RELEASE_MONTH 6
|
* array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,
enumerator.c (enumerator_allocate), eval_jump.c, file.c, hash.c,
io.c, load.c, pack.c, proc.c, random.c, re.c, ruby.c, st.c,
string.c, thread.c, thread_pthread.c, time.c, util.c, variable.c,
vm.c, gc.c:
allocated memory objects by xmalloc (ruby_xmalloc) should be
freed by xfree (ruby_xfree).
* ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,
ext/gdbm/gdbm.c, ext/json/ext/parser/parser.c,
ext/json/ext/parser/unicode.c, ext/openssl/ossl_cipher.c,
ext/openssl/ossl_hmac.c, ext/openssl/ossl_pkey_ec.c,
ext/sdbm/init.c, ext/strscan/strscan.c, ext/zlib/zlib.c:
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08 10:01:40 +00:00
|
|
|
#define RUBY_RELEASE_DAY 8
|
2004-06-23 16:29:16 +00:00
|
|
|
|
2007-05-01 08:45:28 +00:00
|
|
|
#ifdef RUBY_EXTERN
|
2004-06-23 16:29:16 +00:00
|
|
|
RUBY_EXTERN const char ruby_version[];
|
|
|
|
RUBY_EXTERN const char ruby_release_date[];
|
|
|
|
RUBY_EXTERN const char ruby_platform[];
|
2006-11-26 09:34:32 +00:00
|
|
|
RUBY_EXTERN const int ruby_patchlevel;
|
2007-12-22 12:28:22 +00:00
|
|
|
RUBY_EXTERN const char ruby_description[];
|
|
|
|
RUBY_EXTERN const char ruby_copyright[];
|
2007-05-01 08:45:28 +00:00
|
|
|
#endif
|
2007-12-22 12:28:22 +00:00
|
|
|
|
|
|
|
#define RUBY_AUTHOR "Yukihiro Matsumoto"
|
|
|
|
#define RUBY_BIRTH_YEAR 1993
|
|
|
|
#define RUBY_BIRTH_MONTH 2
|
|
|
|
#define RUBY_BIRTH_DAY 24
|
|
|
|
|
|
|
|
#ifndef RUBY_REVISION
|
|
|
|
#include "revision.h"
|
|
|
|
#endif
|
|
|
|
#ifndef RUBY_REVISION
|
|
|
|
#define RUBY_REVISION 0
|
|
|
|
#endif
|
|
|
|
|
2007-12-23 15:56:41 +00:00
|
|
|
#if RUBY_VERSION_TEENY > 0 && RUBY_PATCHLEVEL < 5000 && !RUBY_REVISION
|
2007-12-22 12:28:22 +00:00
|
|
|
#define RUBY_RELEASE_STR "patchlevel"
|
|
|
|
#define RUBY_RELEASE_NUM RUBY_PATCHLEVEL
|
|
|
|
#else
|
|
|
|
#ifdef RUBY_BRANCH_NAME
|
|
|
|
#define RUBY_RELEASE_STR RUBY_BRANCH_NAME
|
|
|
|
#else
|
|
|
|
#define RUBY_RELEASE_STR "revision"
|
|
|
|
#endif
|
|
|
|
#define RUBY_RELEASE_NUM RUBY_REVISION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
# define RUBY_DESCRIPTION \
|
|
|
|
"ruby "RUBY_VERSION \
|
2008-05-19 05:33:45 +00:00
|
|
|
" ("RUBY_RELEASE_DATE" " \
|
2007-12-22 12:28:22 +00:00
|
|
|
RUBY_RELEASE_STR" " \
|
|
|
|
STRINGIZE(RUBY_RELEASE_NUM)") " \
|
|
|
|
"["RUBY_PLATFORM"]"
|
2008-04-24 08:20:56 +00:00
|
|
|
# define RUBY_COPYRIGHT \
|
2007-12-22 12:28:22 +00:00
|
|
|
"ruby - Copyright (C) " \
|
|
|
|
STRINGIZE(RUBY_BIRTH_YEAR)"-" \
|
|
|
|
STRINGIZE(RUBY_RELEASE_YEAR)" " \
|
|
|
|
RUBY_AUTHOR
|