diff options
author | 卜部昌平 <[email protected]> | 2021-09-28 16:51:09 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2021-10-05 14:18:23 +0900 |
commit | 2fa4715bf264f1c800ae058bd6d5240241e226eb (patch) | |
tree | ea79ec5231bf8b84dc1c39c55b8a1548bd8f03e1 /include/ruby | |
parent | e42c8c160d17e302f56fdc4af4d54043ed2499df (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')
-rw-r--r-- | include/ruby/ractor.h | 5 |
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) |