mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Update internal methods not to be listed in backtraces.
- String#__lines - Array#__ary_eq - Array#__ary_cmp - Hash#__delete - Kernel#__case_eqq - Integer#__coerce_step_counter
This commit is contained in:
@@ -1184,6 +1184,7 @@ mrb_str_lines(mrb_state *mrb, mrb_value self)
|
||||
char *p = b, *t;
|
||||
char *e = b + RSTRING_LEN(self);
|
||||
|
||||
mrb->c->ci->mid = 0;
|
||||
result = mrb_ary_new(mrb);
|
||||
ai = mrb_gc_arena_save(mrb);
|
||||
while (p < e) {
|
||||
|
||||
Reference in New Issue
Block a user