ruby-changes:68258
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Tue, 5 Oct 2021 14:18:43 +0900 (JST)
Subject: [ruby-changes:68258] 2fa4715bf2 (master): rb_ractor_shareable_p(): fix doxygen
https://git.ruby-lang.org/ruby.git/commit/?id=2fa4715bf2 From 2fa4715bf264f1c800ae058bd6d5240241e226eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Tue, 28 Sep 2021 16:51:09 +0900 Subject: rb_ractor_shareable_p(): fix doxygen My bad. The document is clearly broken. Maybe I pressed my delete key too much. [ci skip] --- include/ruby/ractor.h | 5 +++-- 1 file 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() https://github.com/ruby/ruby/blob/trunk/include/ruby/ractor.h#L241 * 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) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/