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

3
iseq.h
View file

@ -11,6 +11,7 @@
**********************************************************************/
#include "internal/gc.h"
#include "shape.h"
#include "vm_core.h"
RUBY_EXTERN const int ruby_api_version[];
@ -325,6 +326,8 @@ VALUE rb_iseq_defined_string(enum defined_type type);
/* vm.c */
VALUE rb_iseq_local_variables(const rb_iseq_t *iseq);
attr_index_t rb_estimate_iv_count(VALUE klass, const rb_iseq_t * initialize_iseq);
RUBY_SYMBOL_EXPORT_END
#endif /* RUBY_ISEQ_H */