# HG changeset patch # User Bram Moolenaar # Date 1607630404 -3600 # Node ID 19575087e85966c859789f1b3621c9836067a6f6 # Parent de81343419b4659e5674dabc8da2e6ec11020176 patch 8.2.2126: Ruby: missing function prototype Commit: https://github.com/vim/vim/commit/0e12140550a63bb1e45771edb89b941959440cfe Author: Bram Moolenaar 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. diff --git a/src/if_ruby.c b/src/if_ruby.c --- 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 diff --git a/src/version.c b/src/version.c --- 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,