Skip to content

Commit 0b81359

Browse files
committed
Stop exposing rb_shape_frozen_shape_p
1 parent becc45f commit 0b81359

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

shape.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ get_next_shape_internal(rb_shape_t *shape, ID id, enum shape_type shape_type, bo
588588
return res;
589589
}
590590

591-
bool
591+
static inline bool
592592
rb_shape_frozen_shape_p(rb_shape_t *shape)
593593
{
594594
return SHAPE_FL_FROZEN & shape->flags;

shape.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ bool rb_shape_id_too_complex_p(shape_id_t shape_id);
162162

163163
void rb_shape_set_shape(VALUE obj, rb_shape_t *shape);
164164
rb_shape_t *RB_OBJ_SHAPE(VALUE obj);
165-
bool rb_shape_frozen_shape_p(rb_shape_t *shape);
166165
shape_id_t rb_shape_transition_frozen(VALUE obj);
167166
shape_id_t rb_shape_transition_complex(VALUE obj);
168167
bool rb_shape_transition_remove_ivar(VALUE obj, ID id, VALUE *removed);

0 commit comments

Comments
 (0)