mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.067
Problem: Ruby: Init_prelude is not always available. Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -231,7 +231,6 @@ static void ruby_vim_init(void);
|
|||||||
# define rb_enc_str_new dll_rb_enc_str_new
|
# define rb_enc_str_new dll_rb_enc_str_new
|
||||||
# define rb_intern2 dll_rb_intern2
|
# define rb_intern2 dll_rb_intern2
|
||||||
# define rb_const_remove dll_rb_const_remove
|
# define rb_const_remove dll_rb_const_remove
|
||||||
# define Init_prelude dll_Init_prelude
|
|
||||||
# define rb_sprintf dll_rb_sprintf
|
# define rb_sprintf dll_rb_sprintf
|
||||||
# define ruby_init_stack dll_ruby_init_stack
|
# define ruby_init_stack dll_ruby_init_stack
|
||||||
#endif
|
#endif
|
||||||
@@ -433,7 +432,6 @@ static struct
|
|||||||
{"rb_enc_str_new", (RUBY_PROC*)&dll_rb_enc_str_new},
|
{"rb_enc_str_new", (RUBY_PROC*)&dll_rb_enc_str_new},
|
||||||
{"rb_intern2", (RUBY_PROC*)&dll_rb_intern2},
|
{"rb_intern2", (RUBY_PROC*)&dll_rb_intern2},
|
||||||
{"rb_const_remove", (RUBY_PROC*)&dll_rb_const_remove},
|
{"rb_const_remove", (RUBY_PROC*)&dll_rb_const_remove},
|
||||||
{"Init_prelude", (RUBY_PROC*)&dll_Init_prelude},
|
|
||||||
{"rb_sprintf", (RUBY_PROC*)&dll_rb_sprintf},
|
{"rb_sprintf", (RUBY_PROC*)&dll_rb_sprintf},
|
||||||
{"ruby_init_stack", (RUBY_PROC*)&dll_ruby_init_stack},
|
{"ruby_init_stack", (RUBY_PROC*)&dll_ruby_init_stack},
|
||||||
#endif
|
#endif
|
||||||
@@ -675,7 +673,6 @@ static int ensure_ruby_initialized(void)
|
|||||||
/* This avoids the error "Encoding::ConverterNotFoundError: code
|
/* This avoids the error "Encoding::ConverterNotFoundError: code
|
||||||
* converter not found (UTF-16LE to ASCII-8BIT)". */
|
* converter not found (UTF-16LE to ASCII-8BIT)". */
|
||||||
rb_define_module("Gem");
|
rb_define_module("Gem");
|
||||||
Init_prelude();
|
|
||||||
rb_const_remove(rb_cObject, rb_intern2("TMP_RUBY_PREFIX", 15));
|
rb_const_remove(rb_cObject, rb_intern2("TMP_RUBY_PREFIX", 15));
|
||||||
#endif
|
#endif
|
||||||
ruby_vim_init();
|
ruby_vim_init();
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
67,
|
||||||
/**/
|
/**/
|
||||||
66,
|
66,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user