summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-01-12 17:11:48 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-09-10 20:00:06 +0900
commit73d2bf97c1b93bb45d9c0edda02dde43165fc0da (patch)
tree3dedc777a4d84c300fe9ba3b853e4ca69c2fa9d9 /symbol.c
parent178ce745975134b87aacb3d42e383011e4350ed4 (diff)
downloadruby-73d2bf97c1b93bb45d9c0edda02dde43165fc0da.tar.gz
include/ruby/internal/symbol.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/symbol.c b/symbol.c
index c515437d16..528ab2d640 100644
--- a/symbol.c
+++ b/symbol.c
@@ -1053,17 +1053,6 @@ rb_is_attrset_sym(VALUE sym)
return is_attrset_sym(sym);
}
-/**
- * Returns ID for the given name if it is interned already, or 0.
- *
- * \param namep the pointer to the name object
- * \return the ID for *namep
- * \pre the object referred by \p namep must be a Symbol or
- * a String, or possible to convert with to_str method.
- * \post the object referred by \p namep is a Symbol or a
- * String if non-zero value is returned, or is a String
- * if 0 is returned.
- */
ID
rb_check_id(volatile VALUE *namep)
{
@@ -1097,18 +1086,6 @@ rb_check_id(volatile VALUE *namep)
return lookup_str_id(name);
}
-/**
- * Returns Symbol for the given name if it is interned already, or
- * nil.
- *
- * \param namep the pointer to the name object
- * \return the Symbol for *namep
- * \pre the object referred by \p namep must be a Symbol or
- * a String, or possible to convert with to_str method.
- * \post the object referred by \p namep is a Symbol or a
- * String if non-nil value is returned, or is a String
- * if nil is returned.
- */
VALUE
rb_check_symbol(volatile VALUE *namep)
{