rename to rb_ractor_make_shareable_copy()

from rb_ractor_make_copy_shareable().
This commit is contained in:
Koichi Sasada 2020-12-21 02:20:57 +09:00
parent 9c73c75624
commit 7600f69a8e
2 changed files with 2 additions and 2 deletions

View File

@ -2440,7 +2440,7 @@ rb_ractor_make_shareable(VALUE obj)
} }
VALUE VALUE
rb_ractor_make_copy_shareable(VALUE obj) rb_ractor_make_shareable_copy(VALUE obj)
{ {
VALUE copy = ractor_copy(obj); VALUE copy = ractor_copy(obj);
rb_obj_traverse(copy, rb_obj_traverse(copy,

View File

@ -748,7 +748,7 @@ class Ractor
def self.make_shareable obj, copy: false def self.make_shareable obj, copy: false
if copy if copy
__builtin_cexpr! %q{ __builtin_cexpr! %q{
rb_ractor_make_copy_shareable(obj); rb_ractor_make_shareable_copy(obj);
} }
else else
__builtin_cexpr! %q{ __builtin_cexpr! %q{