17 #define EXIT_SUCCESS 0 20 #define PRINT(type) puts(ruby_##type) 21 #define MKSTR(type) rb_obj_freeze(rb_usascii_str_new(ruby_##type, sizeof(ruby_##type)-1)) void rb_define_global_const(const char *, VALUE)
void Init_version(void)
Defines platform-depended Ruby-level constants.
const char ruby_copyright[]
#define RUBY_API_VERSION_TEENY
#define RUBY_RELEASE_DATE
void ruby_show_version(void)
Prints the version information of the CRuby interpreter to stdout.
#define RUBY_API_VERSION_MAJOR
void ruby_show_copyright(void)
Prints the copyright notice of the CRuby interpreter to stdout and exits this process successfully...
const int ruby_patchlevel
const char ruby_version[]
const char ruby_release_date[]
const int ruby_api_version[]
const char ruby_platform[]
#define RUBY_API_VERSION_MINOR
static void version(void)
const char ruby_description[]