diff src/if_ruby.c @ 23160:19575087e859 v8.2.2126

patch 8.2.2126: Ruby: missing function prototype Commit: https://github.com/vim/vim/commit/0e12140550a63bb1e45771edb89b941959440cfe Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 10 20:50:34 2020 +0100 patch 8.2.2126: Ruby: missing function prototype Problem: Ruby: missing function prototype. Solution: Add the prototype.
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Dec 2020 21:00:04 +0100
parents 55f8b7da27f3
children f719577ddae6
line wrap: on
line diff
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -512,6 +512,10 @@ static void (*dll_rb_gc_writebarrier_unp
 #  endif
 # endif
 
+# if RUBY_VERSION >= 26
+void rb_ary_detransient_stub(VALUE x);
+# endif
+
 # if (RUBY_VERSION >= 19) && !defined(PROTO)
 #  if RUBY_VERSION >= 22
     long