diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-12-18 14:24:07 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-09-10 20:00:06 +0900 |
commit | f83b14af247c56083fa19f2f0ca47ba4088b324f (patch) | |
tree | 8a14c57d3e3da3112ff1e9bfe627aa8c2857a944 /ruby.c | |
parent | 03fd22a170977f23b6c75981c41b3b90b4704975 (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -2436,11 +2436,6 @@ external_str_new_cstr(const char *p) #endif } -/*! Sets the current script name to this value. - * - * This is similar to <code>$0 = name</code> in Ruby level but also affects - * <code>Method#location</code> 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) { |