0
0
mirror of https://github.com/vim/vim.git synced 2025-09-09 22:23:37 -04:00

updated for version 7.3.721

Problem:    Ruby interface defines local functions globally.
Solution:   Make the functions static.
This commit is contained in:
Bram Moolenaar 2012-11-20 16:59:14 +01:00
parent 7c5f120410
commit c0d4759373
2 changed files with 4 additions and 2 deletions

View File

@ -336,11 +336,11 @@ static void* (*ruby_process_options)(int, char**);
#endif #endif
#ifdef RUBY19_OR_LATER #ifdef RUBY19_OR_LATER
SIGNED_VALUE rb_num2long_stub(VALUE x) static SIGNED_VALUE rb_num2long_stub(VALUE x)
{ {
return dll_rb_num2long(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); return dll_rb_int2big(x);
} }

View File

@ -725,6 +725,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
721,
/**/ /**/
720, 720,
/**/ /**/