summaryrefslogtreecommitdiff
path: root/ractor.rb
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2021-08-31 20:30:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-09-05 23:01:27 +0900
commitbdd6d8746f0a07b2c0cc3a6b387bf594569c0bb7 (patch)
treef11d32da65e227763d598d765765a76ddace1a0a /ractor.rb
parent8f752c95d20134bcc0b5394f1cea723a40f1ac8c (diff)
Replace RBOOL macro
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4791
Diffstat (limited to 'ractor.rb')
-rw-r--r--ractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor.rb b/ractor.rb
index de7c9a93a7..1b8cd118fb 100644
--- a/ractor.rb
+++ b/ractor.rb
@@ -768,7 +768,7 @@ class Ractor
# See also the "Shareable and unshareable objects" section in the Ractor class docs.
def self.shareable? obj
__builtin_cexpr! %q{
- rb_ractor_shareable_p(obj) ? Qtrue : Qfalse;
+ RBOOL(rb_ractor_shareable_p(obj));
}
end