changeset 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 de81343419b4
children b916b68741e3
files src/if_ruby.c src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
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
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2126,
+/**/
     2125,
 /**/
     2124,