commit | 0e12140550a63bb1e45771edb89b941959440cfe | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 10 20:50:34 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 10 20:50:34 2020 +0100 |
tree | 66e41368fd295eace270f145d91388e3e01ebe28 | |
parent | 8f1bf2ef785e48a4ca08e014b7713fdee2824631 [diff] [blame] |
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 1619205..6300142 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c
@@ -512,6 +512,10 @@ # 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