Refactor the last references to rb_shape_t
rb_shape_t
The type isn't opaque because Ruby isn't often compiled with LTO, so for optimization purpose it's better to allow as much inlining as possible.
However ideally only shape.c and shape.h should deal with the actual struct, and everything else should just deal with opaque shape_id_t.
shape.c
shape.h
shape_id_t
Refactor the last references to
rb_shape_t
The type isn't opaque because Ruby isn't often compiled with LTO,
so for optimization purpose it's better to allow as much inlining
as possible.
However ideally only
shape.c
andshape.h
should deal withthe actual struct, and everything else should just deal with opaque
shape_id_t
.