Enable write barriers on File::Stat
It holds no reference, so no changes needed.
This commit is contained in:
parent
faa4c2279a
commit
fe5ce1ee41
Notes:
git
2023-02-03 14:37:20 +00:00
2
file.c
2
file.c
@ -493,7 +493,7 @@ stat_memsize(const void *p)
|
|||||||
static const rb_data_type_t stat_data_type = {
|
static const rb_data_type_t stat_data_type = {
|
||||||
"stat",
|
"stat",
|
||||||
{NULL, RUBY_TYPED_DEFAULT_FREE, stat_memsize,},
|
{NULL, RUBY_TYPED_DEFAULT_FREE, stat_memsize,},
|
||||||
0, 0, RUBY_TYPED_FREE_IMMEDIATELY
|
0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED
|
||||||
};
|
};
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user