summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-10 20:50:34 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-10 20:50:34 +0100
commit0e12140550a63bb1e45771edb89b941959440cfe (patch)
tree66e41368fd295eace270f145d91388e3e01ebe28 /src/if_ruby.c
parent8f1bf2ef785e48a4ca08e014b7713fdee2824631 (diff)
downloadvim-git-0e12140550a63bb1e45771edb89b941959440cfe.tar.gz
patch 8.2.2126: Ruby: missing function prototypev8.2.2126
Problem: Ruby: missing function prototype. Solution: Add the prototype.
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r--src/if_ruby.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 1619205e3..6300142b3 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