Rename rb_ary_tmp_new to rb_ary_hidden_new

rb_ary_tmp_new suggests that the array is temporary in some way, but
that's not true, it just creates an array that's hidden and not on the
transient heap. This commit renames it to rb_ary_hidden_new.
This commit is contained in:
Peter Zhu 2022-07-25 10:40:45 -04:00
parent 3f70aa6504
commit efb91ff19b
Notes: git 2022-07-26 22:12:36 +09:00
23 changed files with 59 additions and 61 deletions

View file

@ -754,7 +754,7 @@ szqueue_ptr(VALUE obj)
static VALUE
ary_buf_new(void)
{
return rb_ary_tmp_new(1);
return rb_ary_hidden_new(1);
}
static VALUE