summaryrefslogtreecommitdiff
path: root/include/ruby/ractor.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-09-28 16:51:09 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-10-05 14:18:23 +0900
commit2fa4715bf264f1c800ae058bd6d5240241e226eb (patch)
treeea79ec5231bf8b84dc1c39c55b8a1548bd8f03e1 /include/ruby/ractor.h
parente42c8c160d17e302f56fdc4af4d54043ed2499df (diff)
rb_ractor_shareable_p(): fix doxygen
My bad. The document is clearly broken. Maybe I pressed my delete key too much. [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4909
Diffstat (limited to 'include/ruby/ractor.h')
-rw-r--r--include/ruby/ractor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ruby/ractor.h b/include/ruby/ractor.h
index 47eac038c9..687ddcadec 100644
--- a/include/ruby/ractor.h
+++ b/include/ruby/ractor.h
@@ -241,8 +241,9 @@ RBIMPL_SYMBOL_EXPORT_END()
* extremely carefully implemented to be Ractor-safe; for instance integers
* have such property. This function can classify that.
*
- * @param[in] obj Arbitrary ruby object.
- * @
+ * @param[in] obj Arbitrary ruby object.
+ * @retval true `obj` is capable of shared across ractors.
+ * @retval false `obj` cannot travel across ractor boundaries.
*/
static inline bool
rb_ractor_shareable_p(VALUE obj)