1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Expand tabs [ci skip]

[Misc #18891]
This commit is contained in:
Takashi Kokubun 2022-07-21 09:23:58 -07:00
parent 3ff53c8e04
commit 5b21e94beb
Notes: git 2022-07-22 01:42:33 +09:00
158 changed files with 38285 additions and 37251 deletions

View file

@ -8,13 +8,13 @@ callback(const rb_debug_inspector_t *dbg_context, void *data)
long i, len = RARRAY_LEN(locs);
VALUE binds = rb_ary_new();
for (i = 0; i < len; ++i) {
VALUE entry = rb_ary_new();
rb_ary_push(binds, entry);
rb_ary_push(entry, rb_debug_inspector_frame_self_get(dbg_context, i));
rb_ary_push(entry, rb_debug_inspector_frame_binding_get(dbg_context, i));
rb_ary_push(entry, rb_debug_inspector_frame_class_get(dbg_context, i));
rb_ary_push(entry, rb_debug_inspector_frame_iseq_get(dbg_context, i));
rb_ary_push(entry, rb_ary_entry(locs, i));
VALUE entry = rb_ary_new();
rb_ary_push(binds, entry);
rb_ary_push(entry, rb_debug_inspector_frame_self_get(dbg_context, i));
rb_ary_push(entry, rb_debug_inspector_frame_binding_get(dbg_context, i));
rb_ary_push(entry, rb_debug_inspector_frame_class_get(dbg_context, i));
rb_ary_push(entry, rb_debug_inspector_frame_iseq_get(dbg_context, i));
rb_ary_push(entry, rb_ary_entry(locs, i));
}
return binds;
}