00001 /********************************************************************** 00002 00003 ruby/version.h - 00004 00005 $Author: akr $ 00006 created at: Wed May 13 12:56:56 JST 2009 00007 00008 Copyright (C) 1993-2009 Yukihiro Matsumoto 00009 Copyright (C) 2000 Network Applied Communication Laboratory, Inc. 00010 Copyright (C) 2000 Information-technology Promotion Agency, Japan 00011 00012 **********************************************************************/ 00013 00014 /* 00015 * This file contains only 00016 * - never-changable informations, and 00017 * - interfaces accessible from extension libraries. 00018 * 00019 * Never try to check RUBY_VERSION_CODE etc in extension libraries, 00020 * check the features with mkmf.rb instead. 00021 */ 00022 00023 #ifndef RUBY_VERSION_H 00024 #define RUBY_VERSION_H 1 00025 00026 /* The origin. */ 00027 #define RUBY_AUTHOR "Yukihiro Matsumoto" 00028 #define RUBY_BIRTH_YEAR 1993 00029 #define RUBY_BIRTH_MONTH 2 00030 #define RUBY_BIRTH_DAY 24 00031 00032 #ifdef RUBY_EXTERN 00033 #if defined(__cplusplus) 00034 extern "C" { 00035 #if 0 00036 } /* satisfy cc-mode */ 00037 #endif 00038 #endif 00039 /* 00040 * Interfaces from extension libraries. 00041 * 00042 * Before using these infos, think thrice whether they are really 00043 * necessary or not, and if the answer was yes, think twice a week 00044 * later again. 00045 */ 00046 RUBY_EXTERN const char ruby_version[]; 00047 RUBY_EXTERN const char ruby_release_date[]; 00048 RUBY_EXTERN const char ruby_platform[]; 00049 RUBY_EXTERN const int ruby_patchlevel; 00050 RUBY_EXTERN const char ruby_description[]; 00051 RUBY_EXTERN const char ruby_copyright[]; 00052 RUBY_EXTERN const char ruby_engine[]; 00053 #if defined(__cplusplus) 00054 #if 0 00055 { /* satisfy cc-mode */ 00056 #endif 00057 } /* extern "C" { */ 00058 #endif 00059 #endif 00060 00061 #endif 00062