summaryrefslogtreecommitdiff
path: root/ractor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ractor.h')
-rw-r--r--ractor.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ractor.h b/ractor.h
index 1afd91b77c..50c16ff451 100644
--- a/ractor.h
+++ b/ractor.h
@@ -121,12 +121,17 @@ struct rb_ractor_struct {
struct list_node vmlr_node;
-
VALUE r_stdin;
VALUE r_stdout;
VALUE r_stderr;
VALUE verbose;
VALUE debug;
+
+ // gc.c rb_objspace_reachable_objects_from
+ struct gc_mark_func_data_struct {
+ void *data;
+ void (*mark_func)(VALUE v, void *data);
+ } *mfd;
}; // rb_ractor_t is defined in vm_core.h
rb_ractor_t *rb_ractor_main_alloc(void);