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

fiddle: use the old rb_ary_tmp_new() alias

Fiddle is a gem and has the external upstream which supports older
versions of Ruby.
This commit is contained in:
Nobuyoshi Nakada 2022-10-18 10:49:47 +09:00
parent 007946c27d
commit 091e3522d7
Notes: git 2022-10-18 08:22:07 +00:00

View file

@ -74,7 +74,7 @@ with_gvl_callback(void *ptr)
VALUE rbargs = rb_iv_get(self, "@args");
VALUE ctype = rb_iv_get(self, "@ctype");
int argc = RARRAY_LENINT(rbargs);
VALUE params = rb_ary_hidden_new(argc);
VALUE params = rb_ary_tmp_new(argc);
VALUE ret;
VALUE cPointer;
int i, type;