From: Bram Moolenaar Date: Fri, 25 Jun 2010 02:29:11 +0000 (+0200) Subject: Fix build problem with Ruby on Windows. (Cesar Romani) X-Git-Tag: v7.3~298 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba52cde53d8eeb0bd8949ab0acc47a56f87e7963;p=vim Fix build problem with Ruby on Windows. (Cesar Romani) --- diff --git a/src/if_ruby.c b/src/if_ruby.c index 4fd54e285..4e1ce4280 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -208,12 +208,12 @@ static void ruby_vim_init(void); * Pointers for dynamic link */ static VALUE (*dll_rb_assoc_new) (VALUE, VALUE); -static VALUE *dll_rb_cFalseClass; -static VALUE *dll_rb_cFixnum; -static VALUE *dll_rb_cNilClass; +VALUE *dll_rb_cFalseClass; +VALUE *dll_rb_cFixnum; +VALUE *dll_rb_cNilClass; static VALUE *dll_rb_cObject; -static VALUE *dll_rb_cSymbol; -static VALUE *dll_rb_cTrueClass; +VALUE *dll_rb_cSymbol; +VALUE *dll_rb_cTrueClass; static void (*dll_rb_check_type) (VALUE,int); static VALUE (*dll_rb_class_path) (VALUE); static VALUE (*dll_rb_data_object_alloc) (VALUE, void*, RUBY_DATA_FUNC, RUBY_DATA_FUNC); @@ -287,11 +287,11 @@ static void (*ruby_init_stack)(VALUE*); #endif #ifdef RUBY19_OR_LATER -static SIGNED_VALUE rb_num2long_stub(VALUE x) +SIGNED_VALUE rb_num2long_stub(VALUE x) { return dll_rb_num2long(x); } -static VALUE rb_int2big_stub(SIGNED_VALUE x) +VALUE rb_int2big_stub(SIGNED_VALUE x) { return dll_rb_int2big(x); }