From: Bram Moolenaar Date: Thu, 10 Dec 2020 19:50:34 +0000 (+0100) Subject: patch 8.2.2126: Ruby: missing function prototype X-Git-Tag: v8.2.2126 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=0e12140550a63bb1e45771edb89b941959440cfe;p=thirdparty%2Fvim.git patch 8.2.2126: Ruby: missing function prototype Problem: Ruby: missing function prototype. Solution: Add the prototype. --- diff --git a/src/if_ruby.c b/src/if_ruby.c index 1619205e31..6300142b3c 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -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 diff --git a/src/version.c b/src/version.c index 0a98c78ad3..491ea90042 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2126, /**/ 2125, /**/