comparison src/if_ruby.c @ 3931:b23f583e132e v7.3.721

updated for version 7.3.721 Problem: Ruby interface defines local functions globally. Solution: Make the functions static.
author Bram Moolenaar <bram@vim.org>
date Tue, 20 Nov 2012 16:59:14 +0100
parents 5309996ddced
children d08f05285dd1
comparison
equal deleted inserted replaced
3930:7a7d5fd1b491 3931:b23f583e132e
334 static void (*ruby_init_stack)(VALUE*); 334 static void (*ruby_init_stack)(VALUE*);
335 static void* (*ruby_process_options)(int, char**); 335 static void* (*ruby_process_options)(int, char**);
336 #endif 336 #endif
337 337
338 #ifdef RUBY19_OR_LATER 338 #ifdef RUBY19_OR_LATER
339 SIGNED_VALUE rb_num2long_stub(VALUE x) 339 static SIGNED_VALUE rb_num2long_stub(VALUE x)
340 { 340 {
341 return dll_rb_num2long(x); 341 return dll_rb_num2long(x);
342 } 342 }
343 VALUE rb_int2big_stub(SIGNED_VALUE x) 343 static VALUE rb_int2big_stub(SIGNED_VALUE x)
344 { 344 {
345 return dll_rb_int2big(x); 345 return dll_rb_int2big(x);
346 } 346 }
347 #endif 347 #endif
348 348