diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-18 10:49:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-18 17:21:45 +0900 |
commit | 091e3522d709160ebb4cb58794b10b3ab08f163b (patch) | |
tree | 9b6f6d82c115d860d925d5b985bbf036b869bcb0 /ext | |
parent | 007946c27d7445e25569be58e255f7bb08e8bd75 (diff) | |
download | ruby-091e3522d709160ebb4cb58794b10b3ab08f163b.tar.gz |
fiddle: use the old rb_ary_tmp_new() alias
Fiddle is a gem and has the external upstream which supports older
versions of Ruby.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/fiddle/closure.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fiddle/closure.c b/ext/fiddle/closure.c index 6770162b94..83fa752b6d 100644 --- a/ext/fiddle/closure.c +++ b/ext/fiddle/closure.c @@ -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; |