From f83b14af247c56083fa19f2f0ca47ba4088b324f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Fri, 18 Dec 2020 14:24:07 +0900 Subject: include/ruby/internal/interpreter.h: add doxygen Must not be a bad idea to improve documents. [ci skip] In fact many functions declared in the header file are already documented more or less. They were just copy & pasted, with applying some style updates. --- ruby.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index 54e788a9ec..be83c954aa 100644 --- a/ruby.c +++ b/ruby.c @@ -2436,11 +2436,6 @@ external_str_new_cstr(const char *p) #endif } -/*! Sets the current script name to this value. - * - * This is similar to $0 = name in Ruby level but also affects - * Method#location and others. - */ void ruby_script(const char *name) { @@ -2524,7 +2519,6 @@ debug_setter(VALUE val, ID id, VALUE *dmy) *rb_ruby_debug_ptr() = val; } -/*! Defines built-in variables */ void ruby_prog_init(void) { @@ -2625,13 +2619,6 @@ fill_standard_fds(void) } } -/*! Initializes the process for libruby. - * - * This function assumes this process is ruby(1) and it has just started. - * Usually programs that embed CRuby interpreter may not call this function, - * and may do their own initialization. - * argc and argv cannot be NULL. - */ void ruby_sysinit(int *argc, char ***argv) { -- cgit v1.2.3