diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-02-03 11:27:49 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-09-10 20:00:06 +0900 |
commit | a2b8f61cba2fb4720acbed846ae0409b3a39b909 (patch) | |
tree | 1c9f4b330bf004a5f86907118cf21f1b553d1f89 /object.c | |
parent | 9c4aa94a199fbbf0dacb1b5e3530b1d8ccc65105 (diff) |
include/ruby/internal/core/rbasic.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -77,18 +77,6 @@ static VALUE rb_cFalseClass_to_s; /*! \endcond */ -/*! - * Make the object invisible from Ruby code. - * - * It is useful to let Ruby's GC manage your internal data structure -- - * The object keeps being managed by GC, but \c ObjectSpace.each_object - * never yields the object. - * - * Note that the object also lose a way to call a method on it. - * - * \param[in] obj a Ruby object - * \sa rb_obj_reveal - */ VALUE rb_obj_hide(VALUE obj) { @@ -98,14 +86,6 @@ rb_obj_hide(VALUE obj) return obj; } -/*! - * Make a hidden object visible again. - * - * It is the caller's responsibility to pass the right \a klass - * which \a obj originally used to belong to. - * - * \sa rb_obj_hide - */ VALUE rb_obj_reveal(VALUE obj, VALUE klass) { |