Skip to content

Commit

Permalink
fiddle: use the old rb_ary_tmp_new() alias
Browse files Browse the repository at this point in the history
Fiddle is a gem and has the external upstream which supports older
versions of Ruby.
  • Loading branch information
nobu committed Oct 18, 2022
1 parent 007946c commit 091e352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/fiddle/closure.c
Expand Up @@ -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;
Expand Down

0 comments on commit 091e352

Please sign in to comment.