From 7600f69a8e7955fc2ba3ef83d0c9fa019114216e Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Mon, 21 Dec 2020 02:20:57 +0900 Subject: [PATCH] rename to rb_ractor_make_shareable_copy() from rb_ractor_make_copy_shareable(). --- ractor.c | 2 +- ractor.rb | 2 +- 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{