summaryrefslogtreecommitdiff
path: root/include/ruby/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/version.h')
-rw-r--r--include/ruby/version.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/ruby/version.h b/include/ruby/version.h
index b41b64fe66..32b09b3f52 100644
--- a/include/ruby/version.h
+++ b/include/ruby/version.h
@@ -29,12 +29,6 @@
#define RUBY_BIRTH_MONTH 2
#define RUBY_BIRTH_DAY 24
-/* API version */
-#define RUBY_API_VERSION_MAJOR 2
-#define RUBY_API_VERSION_MINOR 0
-#define RUBY_API_VERSION_TEENY 0
-#define RUBY_API_VERSION_CODE (RUBY_API_VERSION_MAJOR*10000+RUBY_API_VERSION_MINOR*100+RUBY_API_VERSION_TEENY)
-
#ifdef RUBY_EXTERN
#if defined(__cplusplus)
extern "C" {
@@ -42,11 +36,6 @@ extern "C" {
} /* satisfy cc-mode */
#endif
#endif
-
-#if defined __GNUC__ && __GNUC__ >= 4
-#pragma GCC visibility push(default)
-#endif
-
/*
* Interfaces from extension libraries.
*
@@ -54,7 +43,6 @@ extern "C" {
* necessary or not, and if the answer was yes, think twice a week
* later again.
*/
-RUBY_EXTERN const int ruby_api_version[3];
RUBY_EXTERN const char ruby_version[];
RUBY_EXTERN const char ruby_release_date[];
RUBY_EXTERN const char ruby_platform[];
@@ -62,11 +50,6 @@ RUBY_EXTERN const int ruby_patchlevel;
RUBY_EXTERN const char ruby_description[];
RUBY_EXTERN const char ruby_copyright[];
RUBY_EXTERN const char ruby_engine[];
-
-#if defined __GNUC__ && __GNUC__ >= 4
-#pragma GCC visibility pop
-#endif
-
#if defined(__cplusplus)
#if 0
{ /* satisfy cc-mode */