From 0e12140550a63bb1e45771edb89b941959440cfe Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 10 Dec 2020 20:50:34 +0100 Subject: [PATCH] patch 8.2.2126: Ruby: missing function prototype Problem: Ruby: missing function prototype. Solution: Add the prototype. --- src/if_ruby.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) 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, /**/ -- 2.47.2