@@ -121,26 +121,26 @@ frame_depth(VALUE self)
121121
122122// iseq
123123
124- const struct rb_iseq * rb_iseqw_to_iseq (VALUE iseqw );
124+ const rb_iseq_t * rb_iseqw_to_iseq (VALUE iseqw );
125125
126126#ifdef HAVE_RB_ISEQ_TYPE
127- VALUE rb_iseq_type (const struct rb_iseq * );
127+ VALUE rb_iseq_type (const rb_iseq_t * );
128128
129129static VALUE
130130iseq_type (VALUE iseqw )
131131{
132- const struct rb_iseq * iseq = rb_iseqw_to_iseq (iseqw );
132+ const rb_iseq_t * iseq = rb_iseqw_to_iseq (iseqw );
133133 return rb_iseq_type (iseq );
134134}
135135#endif
136136
137137#ifdef HAVE_RB_ISEQ_PARAMETERS
138- VALUE rb_iseq_parameters (const struct rb_iseq * , int is_proc );
138+ VALUE rb_iseq_parameters (const rb_iseq_t * , int is_proc );
139139
140140static VALUE
141141iseq_parameters_symbols (VALUE iseqw )
142142{
143- const struct rb_iseq * iseq = rb_iseqw_to_iseq (iseqw );
143+ const rb_iseq_t * iseq = rb_iseqw_to_iseq (iseqw );
144144 VALUE params = rb_iseq_parameters (iseq , 0 );
145145 VALUE ary = rb_ary_new ();
146146
@@ -167,12 +167,12 @@ iseq_parameters_symbols(VALUE iseqw)
167167#endif
168168
169169#ifdef HAVE_RB_ISEQ_CODE_LOCATION
170- void rb_iseq_code_location (const struct rb_iseq * , int * first_lineno , int * first_column , int * last_lineno , int * last_column );
170+ void rb_iseq_code_location (const rb_iseq_t * , int * first_lineno , int * first_column , int * last_lineno , int * last_column );
171171
172172static VALUE
173173iseq_first_line (VALUE iseqw )
174174{
175- const struct rb_iseq * iseq = rb_iseqw_to_iseq (iseqw );
175+ const rb_iseq_t * iseq = rb_iseqw_to_iseq (iseqw );
176176 int line ;
177177 rb_iseq_code_location (iseq , & line , NULL , NULL , NULL );
178178 return INT2NUM (line );
@@ -181,7 +181,7 @@ iseq_first_line(VALUE iseqw)
181181static VALUE
182182iseq_last_line (VALUE iseqw )
183183{
184- const struct rb_iseq * iseq = rb_iseqw_to_iseq (iseqw );
184+ const rb_iseq_t * iseq = rb_iseqw_to_iseq (iseqw );
185185 int line ;
186186 rb_iseq_code_location (iseq , NULL , NULL , & line , NULL );
187187 return INT2NUM (line );
0 commit comments