Mercurial > vim
comparison src/if_ruby.c @ 23160:19575087e859 v8.2.2126
patch 8.2.2126: Ruby: missing function prototype
Commit: https://github.com/vim/vim/commit/0e12140550a63bb1e45771edb89b941959440cfe
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Dec 2020 21:00:04 +0100 |
parents | 55f8b7da27f3 |
children | f719577ddae6 |
comparison
equal
deleted
inserted
replaced
23159:de81343419b4 | 23160:19575087e859 |
---|---|
508 # if RUBY_VERSION == 21 | 508 # if RUBY_VERSION == 21 |
509 static void (*dll_rb_gc_writebarrier_unprotect_promoted)(VALUE); | 509 static void (*dll_rb_gc_writebarrier_unprotect_promoted)(VALUE); |
510 # else | 510 # else |
511 static void (*dll_rb_gc_writebarrier_unprotect)(VALUE obj); | 511 static void (*dll_rb_gc_writebarrier_unprotect)(VALUE obj); |
512 # endif | 512 # endif |
513 # endif | |
514 | |
515 # if RUBY_VERSION >= 26 | |
516 void rb_ary_detransient_stub(VALUE x); | |
513 # endif | 517 # endif |
514 | 518 |
515 # if (RUBY_VERSION >= 19) && !defined(PROTO) | 519 # if (RUBY_VERSION >= 19) && !defined(PROTO) |
516 # if RUBY_VERSION >= 22 | 520 # if RUBY_VERSION >= 22 |
517 long | 521 long |