From 0e12140550a63bb1e45771edb89b941959440cfe Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 10 Dec 2020 20:50:34 +0100 Subject: patch 8.2.2126: Ruby: missing function prototype Problem: Ruby: missing function prototype. Solution: Add the prototype. --- src/if_ruby.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/if_ruby.c') 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 -- cgit v1.2.3