summaryrefslogtreecommitdiff
path: root/iseq.h
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2023-02-17 14:14:53 +0000
committerMatt Valentine-House <matt@eightbitraptor.com>2023-04-06 11:07:16 +0100
commit879cda98a4cdce91d736ea9ba81168effe090718 (patch)
tree22d5d0568c4a47c15912fd87c3c111abc5c16460 /iseq.h
parentd91a82850ac337c80807743bc0841369a8a1748c (diff)
downloadruby-879cda98a4cdce91d736ea9ba81168effe090718.tar.gz
Remove dependancy of vm_core.h on shape.h
so that now shape can happily include gc.h
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h3
1 files changed, 3 insertions, 0 deletions
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 */