Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

version.c File Reference

#include "ruby.h"
#include "version.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void Init_version ()
void ruby_show_version ()
void ruby_show_copyright ()

Variables

const char ruby_version [] = RUBY_VERSION
const char ruby_release_date [] = RUBY_RELEASE_DATE
const char ruby_platform [] = RUBY_PLATFORM


Function Documentation

void Init_version void   
 

Definition at line 22 of file version.c.

References d, rb_define_global_const(), rb_obj_freeze(), rb_str_new2(), ruby_platform, ruby_release_date, ruby_version, v, and VALUE.

Referenced by rb_call_inits().

void ruby_show_copyright void   
 

Definition at line 45 of file version.c.

References exit, and RUBY_RELEASE_YEAR.

void ruby_show_version void   
 

Definition at line 39 of file version.c.

References RUBY_RELEASE_DATE, and RUBY_VERSION.


Variable Documentation

const char ruby_platform[] = RUBY_PLATFORM
 

Definition at line 19 of file version.c.

Referenced by Init_version().

const char ruby_release_date[] = RUBY_RELEASE_DATE
 

Definition at line 18 of file version.c.

Referenced by Init_version().

const char ruby_version[] = RUBY_VERSION
 

Definition at line 17 of file version.c.

Referenced by Init_version().


Generated on Sat Jan 22 14:30:06 2005 for Ruby by doxygen1.2.18