# HG changeset patch # User Bram Moolenaar # Date 1353427154 -3600 # Node ID b23f583e132e88ec98f2b449b7216642ba64a8a8 # Parent 7a7d5fd1b4916bc947a49c38cdf57bc9e5c979ee updated for version 7.3.721 Problem: Ruby interface defines local functions globally. Solution: Make the functions static. diff --git a/src/if_ruby.c b/src/if_ruby.c --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -336,11 +336,11 @@ static void* (*ruby_process_options)(int #endif #ifdef RUBY19_OR_LATER -SIGNED_VALUE rb_num2long_stub(VALUE x) +static SIGNED_VALUE rb_num2long_stub(VALUE x) { return dll_rb_num2long(x); } -VALUE rb_int2big_stub(SIGNED_VALUE x) +static VALUE rb_int2big_stub(SIGNED_VALUE x) { return dll_rb_int2big(x); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -726,6 +726,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 721, +/**/ 720, /**/ 719,