Ruby
1.9.3p448(2013-06-27revision41675)
Main Page
Modules
Data Structures
Files
File List
Globals
include
ruby
version.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
ruby/version.h -
4
5
$Author: nobu $
6
created at: Wed May 13 12:56:56 JST 2009
7
8
Copyright (C) 1993-2009 Yukihiro Matsumoto
9
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
10
Copyright (C) 2000 Information-technology Promotion Agency, Japan
11
12
**********************************************************************/
13
14
/*
15
* This file contains only
16
* - never-changable informations, and
17
* - interfaces accessible from extension libraries.
18
*
19
* Never try to check RUBY_VERSION_CODE etc in extension libraries,
20
* check the features with mkmf.rb instead.
21
*/
22
23
#ifndef RUBY_VERSION_H
24
#define RUBY_VERSION_H 1
25
26
/* The origin. */
27
#define RUBY_AUTHOR "Yukihiro Matsumoto"
28
#define RUBY_BIRTH_YEAR 1993
29
#define RUBY_BIRTH_MONTH 2
30
#define RUBY_BIRTH_DAY 24
31
32
/* API version */
33
#define RUBY_API_VERSION_MAJOR 1
34
#define RUBY_API_VERSION_MINOR 9
35
#define RUBY_API_VERSION_TEENY 1
36
#define RUBY_API_VERSION_CODE (RUBY_API_VERSION_MAJOR*10000+RUBY_API_VERSION_MINOR*100+RUBY_API_VERSION_TEENY)
37
38
#ifdef RUBY_EXTERN
39
#if defined(__cplusplus)
40
extern
"C"
{
41
#if 0
42
}
/* satisfy cc-mode */
43
#endif
44
#endif
45
46
#if defined __GNUC__ && __GNUC__ >= 4
47
#pragma GCC visibility push(default)
48
#endif
49
50
/*
51
* Interfaces from extension libraries.
52
*
53
* Before using these infos, think thrice whether they are really
54
* necessary or not, and if the answer was yes, think twice a week
55
* later again.
56
*/
57
RUBY_EXTERN
const
int
ruby_api_version
[3];
58
RUBY_EXTERN
const
char
ruby_version
[];
59
RUBY_EXTERN
const
char
ruby_release_date
[];
60
RUBY_EXTERN
const
char
ruby_platform
[];
61
RUBY_EXTERN
const
int
ruby_patchlevel
;
62
RUBY_EXTERN
const
char
ruby_description
[];
63
RUBY_EXTERN
const
char
ruby_copyright
[];
64
RUBY_EXTERN
const
char
ruby_engine
[];
65
66
#if defined __GNUC__ && __GNUC__ >= 4
67
#pragma GCC visibility pop
68
#endif
69
70
#if defined(__cplusplus)
71
#if 0
72
{
/* satisfy cc-mode */
73
#endif
74
}
/* extern "C" { */
75
#endif
76
#endif
77
78
#endif
79
Generated on Fri Jun 28 2013 02:34:40 for Ruby by
1.8.3