Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
version.h
Go to the documentation of this file.
1#ifndef RUBY_VERSION_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RUBY_VERSION_H 1
23/* The origin. */
24#define RUBY_AUTHOR "Yukihiro Matsumoto"
25#define RUBY_BIRTH_YEAR 1993
26#define RUBY_BIRTH_MONTH 2
27#define RUBY_BIRTH_DAY 24
28
29/* API version */
30#define RUBY_API_VERSION_MAJOR 3
31#define RUBY_API_VERSION_MINOR 0
32#define RUBY_API_VERSION_TEENY 0
33#define RUBY_API_VERSION_CODE (RUBY_API_VERSION_MAJOR*10000+RUBY_API_VERSION_MINOR*100+RUBY_API_VERSION_TEENY)
34
35#ifdef RUBY_EXTERN
36/* Internal note: this file could be included from verconf.mk _before_
37 * generating config.h, on Windows. The #ifdef above is to trick such
38 * situation. */
40
41/*
42 * Interfaces from extension libraries.
43 *
44 * Before using these infos, think thrice whether they are really
45 * necessary or not, and if the answer was yes, think twice a week
46 * later again.
47 */
56
58#endif
59
60#endif
#define RUBY_EXTERN
Definition: dllexport.h:36
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
const char ruby_description[]
Definition: version.c:43
const int ruby_api_version[3]
Definition: version.c:26
const char ruby_engine[]
Definition: version.c:46
const char ruby_platform[]
Definition: version.c:41
const char ruby_version[]
Definition: version.c:38
const char ruby_copyright[]
Definition: version.c:45
const char ruby_release_date[]
Definition: version.c:40
const int ruby_patchlevel
Definition: version.c:42
#define const
Definition: strftime.c:108