diff options
author | Matt Valentine-House <matt@eightbitraptor.com> | 2023-02-17 14:14:53 +0000 |
---|---|---|
committer | Matt Valentine-House <matt@eightbitraptor.com> | 2023-04-06 11:07:16 +0100 |
commit | 879cda98a4cdce91d736ea9ba81168effe090718 (patch) | |
tree | 22d5d0568c4a47c15912fd87c3c111abc5c16460 /variable.h | |
parent | d91a82850ac337c80807743bc0841369a8a1748c (diff) | |
download | ruby-879cda98a4cdce91d736ea9ba81168effe090718.tar.gz |
Remove dependancy of vm_core.h on shape.h
so that now shape can happily include gc.h
Diffstat (limited to 'variable.h')
-rw-r--r-- | variable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/variable.h b/variable.h index 314ac82df0..5c0366de32 100644 --- a/variable.h +++ b/variable.h @@ -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 |