diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-25 04:29:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-25 04:29:11 +0200 |
commit | ba52cde53d8eeb0bd8949ab0acc47a56f87e7963 (patch) | |
tree | 7e49bb804c0a2453b35c349919fd703674eed319 /src | |
parent | e242b8353563ffc1c462bb615fc2c3d7ee7c870a (diff) | |
download | vim-ba52cde53d8eeb0bd8949ab0acc47a56f87e7963.zip |
Fix build problem with Ruby on Windows. (Cesar Romani)
Diffstat (limited to 'src')
-rw-r--r-- | src/if_ruby.c | 14 |
1 files changed, 7 insertions, 7 deletions
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); } |