summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ractor.c2
-rw-r--r--ractor.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ractor.c b/ractor.c
index d2d4ee2e38..be067d6113 100644
--- a/ractor.c
+++ b/ractor.c
@@ -2440,7 +2440,7 @@ rb_ractor_make_shareable(VALUE obj)
}
VALUE
-rb_ractor_make_copy_shareable(VALUE obj)
+rb_ractor_make_shareable_copy(VALUE obj)
{
VALUE copy = ractor_copy(obj);
rb_obj_traverse(copy,
diff --git a/ractor.rb b/ractor.rb
index 3622c661e6..12643e6e16 100644
--- a/ractor.rb
+++ b/ractor.rb
@@ -748,7 +748,7 @@ class Ractor
def self.make_shareable obj, copy: false
if copy
__builtin_cexpr! %q{
- rb_ractor_make_copy_shareable(obj);
+ rb_ractor_make_shareable_copy(obj);
}
else
__builtin_cexpr! %q{