Rename rb_field_get -> rb_obj_field_get

To be consistent with `rb_obj_field_set`.
This commit is contained in:
Jean Boussier 2025-05-10 15:39:33 +02:00
parent 585598623d
commit d9502a8386
Notes: git 2025-05-10 14:56:46 +00:00
3 changed files with 3 additions and 3 deletions

View file

@ -1299,7 +1299,7 @@ gen_fields_tbl_count(VALUE obj, const struct gen_fields_tbl *fields_tbl)
}
VALUE
rb_field_get(VALUE obj, rb_shape_t *target_shape)
rb_obj_field_get(VALUE obj, rb_shape_t *target_shape)
{
RUBY_ASSERT(!SPECIAL_CONST_P(obj));
RUBY_ASSERT(!rb_shape_obj_too_complex_p(obj));