Remove dependancy of vm_core.h on shape.h

so that now shape can happily include gc.h
This commit is contained in:
Matt Valentine-House 2023-02-17 14:14:53 +00:00
parent d91a82850a
commit 879cda98a4
Notes: git 2023-04-06 10:07:41 +00:00
5 changed files with 8 additions and 5 deletions

View file

@ -10,6 +10,8 @@
/* per-object */
#include "shape.h"
struct gen_ivtbl {
#if !SHAPE_IN_BASIC_FLAGS
uint16_t shape_id;
@ -20,7 +22,6 @@ struct gen_ivtbl {
int rb_ivar_generic_ivtbl_lookup(VALUE obj, struct gen_ivtbl **);
#include "shape.h"
#if !SHAPE_IN_BASIC_FLAGS
shape_id_t rb_generic_shape_id(VALUE obj);
#endif