diff options
author | Matt Valentine-House <[email protected]> | 2023-02-17 14:14:53 +0000 |
---|---|---|
committer | Matt Valentine-House <[email protected]> | 2023-04-06 11:07:16 +0100 |
commit | 879cda98a4cdce91d736ea9ba81168effe090718 (patch) | |
tree | 22d5d0568c4a47c15912fd87c3c111abc5c16460 /iseq.h | |
parent | d91a82850ac337c80807743bc0841369a8a1748c (diff) |
Remove dependancy of vm_core.h on shape.h
so that now shape can happily include gc.h
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7393
Diffstat (limited to 'iseq.h')
-rw-r--r-- | iseq.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |