summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-11-26 18:10:42 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-14 19:19:16 +0900
commit332317472779554f991ffa5bad74c1255828cc21 (patch)
treea917cb5ec6dfb0e37d64b331b26be10c33303f7f /vm.c
parent89e489d51d164cf22bce3a7580e5695da22fb347 (diff)
Support shareable_constant_value: literal
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3681
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index bc57caf..c618b79 100644
--- a/vm.c
+++ b/vm.c
@@ -995,6 +995,7 @@ collect_outer_variable_names(ID id, VALUE val, void *ptr)
}
VALUE rb_ractor_error_class(void);
+VALUE rb_ractor_make_shareable(VALUE obj);
static const rb_env_t *
env_copy(const VALUE *src_ep, VALUE read_only_variables)