]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.2126: Ruby: missing function prototype v8.2.2126
authorBram Moolenaar <Bram@vim.org>
Thu, 10 Dec 2020 19:50:34 +0000 (20:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 10 Dec 2020 19:50:34 +0000 (20:50 +0100)
Problem:    Ruby: missing function prototype.
Solution:   Add the prototype.

src/if_ruby.c
src/version.c

index 1619205e31a039b7b8dde7eded2f13615ab04327..6300142b3cd9d7c3d82605d1abc2ce10a82bd187 100644 (file)
@@ -512,6 +512,10 @@ static void (*dll_rb_gc_writebarrier_unprotect)(VALUE obj);
 #  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
index 0a98c78ad344c7bc8b4e52bf857df71177d94285..491ea90042c2ee0871a7d39332033392b92112e6 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2126,
 /**/
     2125,
 /**/