summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
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 26c3b0d..26e275a 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)
{