summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-14 02:21:51 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-14 02:21:51 +0000
commitf8601bd903d6c9f288fc39cc9f277c1275291ff3 (patch)
tree3898a86583c86fe193605119783d52a9b0ef2610 /version.c
parente9e603145f48f352b08541187a7c4d528f8a6399 (diff)
downloadruby-f8601bd903d6c9f288fc39cc9f277c1275291ff3.tar.gz
* eval.c: Add doxygen comments.
* ruby.c: ditto. * thread_pthread.c: ditto * version.c: ditto. * vm_core.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r--version.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/version.c b/version.c
index 26c3b0d5a4..26e275a2e4 100644
--- a/version.c
+++ b/version.c
@@ -96,6 +96,7 @@ const char ruby_initial_load_paths[] =
#endif
"";
+/*! Defines platform-depended Ruby-level constants */
void
Init_version(void)
{
@@ -134,6 +135,7 @@ Init_version(void)
rb_define_global_const("RUBY_ENGINE", ruby_engine_name = MKSTR(engine));
}
+/*! Prints the version information of the CRuby interpreter to stdout. */
void
ruby_show_version(void)
{
@@ -141,6 +143,9 @@ ruby_show_version(void)
fflush(stdout);
}
+/*! Prints the copyright notice of the CRuby interpreter to stdout and \em exits
+ * this process successfully.
+ */
void
ruby_show_copyright(void)
{