From bdd6d8746f0a07b2c0cc3a6b387bf594569c0bb7 Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS Date: Tue, 31 Aug 2021 20:30:35 +0900 Subject: Replace RBOOL macro --- ractor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ractor.rb') 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 -- cgit v1.2.1