17 #define EXIT_SUCCESS 0 20 #define PRINT(type) puts(ruby_##type) 21 #define MKSTR(type) rb_obj_freeze(rb_usascii_str_new_static(ruby_##type, sizeof(ruby_##type)-1)) 22 #define MKINT(name) INT2FIX(ruby_##name) 44 VALUE ruby_engine_name;
90 #ifdef RUBY_LAST_COMMIT_TITLE 91 fputs(
"last_commit=" RUBY_LAST_COMMIT_TITLE, stdout);
93 #ifdef HAVE_MALLOC_CONF 94 if (malloc_conf) printf(
"malloc_conf=%s\n", malloc_conf);
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
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.
const int ruby_patchlevel
const char ruby_version[]
const char ruby_release_date[]
const int ruby_api_version[]
const char ruby_platform[]
void ruby_set_script_name(VALUE name)
Sets the current script name to this value.
#define RUBY_RELEASE_DATE
#define RUBY_API_VERSION_MINOR
const char ruby_description[]