From 879cda98a4cdce91d736ea9ba81168effe090718 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Fri, 17 Feb 2023 14:14:53 +0000 Subject: Remove dependancy of vm_core.h on shape.h so that now shape can happily include gc.h --- iseq.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'iseq.h') diff --git a/iseq.h b/iseq.h index fafa5a518e..96d19029a1 100644 --- a/iseq.h +++ b/iseq.h @@ -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 */ -- cgit v1.2.1