mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
add rb_iseq_type()
to return iseq type in Symbol
It is shorthand `ISeq#to_a[9]`.
This commit is contained in:
parent
52b1c76534
commit
89a02d8932
Notes:
git
2021-12-19 05:16:57 +09:00
2 changed files with 54 additions and 36 deletions
1
iseq.h
1
iseq.h
|
@ -198,6 +198,7 @@ const rb_iseq_t *rb_iseqw_to_iseq(VALUE iseqw);
|
|||
|
||||
VALUE rb_iseq_absolute_path(const rb_iseq_t *iseq); /* obsolete */
|
||||
int rb_iseq_from_eval_p(const rb_iseq_t *iseq);
|
||||
VALUE rb_iseq_type(const rb_iseq_t *iseq);
|
||||
VALUE rb_iseq_label(const rb_iseq_t *iseq);
|
||||
VALUE rb_iseq_base_label(const rb_iseq_t *iseq);
|
||||
VALUE rb_iseq_first_lineno(const rb_iseq_t *iseq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue