Mark "mapping_buffer" as write barrier protected
It doesn't have any reference so it can be marked as protected.
This commit is contained in:
parent
08c529be90
commit
c6b90e5e9c
Notes:
git
2023-02-03 18:11:04 +00:00
3
string.c
3
string.c
@ -7314,7 +7314,8 @@ mapping_buffer_free(void *p)
|
|||||||
|
|
||||||
static const rb_data_type_t mapping_buffer_type = {
|
static const rb_data_type_t mapping_buffer_type = {
|
||||||
"mapping_buffer",
|
"mapping_buffer",
|
||||||
{0, mapping_buffer_free,}
|
{0, mapping_buffer_free,},
|
||||||
|
0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED
|
||||||
};
|
};
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user