mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove dependancy of vm_core.h on shape.h
so that now shape can happily include gc.h
This commit is contained in:
parent
d91a82850a
commit
879cda98a4
Notes:
git
2023-04-06 10:07:41 +00:00
5 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue