Get rid of inconsistent dll linkages against vcpkg readline
This commit is contained in:
parent
0a2e4a8f0c
commit
730b0099fd
@ -78,7 +78,7 @@ static ID id_special_prefixes;
|
|||||||
#ifndef HAVE_RL_USERNAME_COMPLETION_FUNCTION
|
#ifndef HAVE_RL_USERNAME_COMPLETION_FUNCTION
|
||||||
# define rl_username_completion_function username_completion_function
|
# define rl_username_completion_function username_completion_function
|
||||||
#else
|
#else
|
||||||
char *rl_username_completion_function(const char *, int);
|
RUBY_EXTERN char *rl_username_completion_function(const char *, int);
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_RL_COMPLETION_MATCHES
|
#ifndef HAVE_RL_COMPLETION_MATCHES
|
||||||
# define rl_completion_matches completion_matches
|
# define rl_completion_matches completion_matches
|
||||||
@ -689,7 +689,7 @@ readline_s_insert_text(VALUE self, VALUE str)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_RL_DELETE_TEXT)
|
#if defined(HAVE_RL_DELETE_TEXT)
|
||||||
int rl_delete_text(int, int);
|
RUBY_EXTERN int rl_delete_text(int, int);
|
||||||
static const char *
|
static const char *
|
||||||
str_subpos(const char *ptr, const char *end, long beg, long *sublen, rb_encoding *enc)
|
str_subpos(const char *ptr, const char *end, long beg, long *sublen, rb_encoding *enc)
|
||||||
{
|
{
|
||||||
@ -1148,7 +1148,7 @@ readline_s_get_screen_size(VALUE self)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_RL_VI_EDITING_MODE
|
#ifdef HAVE_RL_VI_EDITING_MODE
|
||||||
int rl_vi_editing_mode(int, int);
|
RUBY_EXTERN int rl_vi_editing_mode(int, int);
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* Readline.vi_editing_mode -> nil
|
* Readline.vi_editing_mode -> nil
|
||||||
@ -1187,7 +1187,7 @@ readline_s_vi_editing_mode_p(VALUE self)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_RL_EMACS_EDITING_MODE
|
#ifdef HAVE_RL_EMACS_EDITING_MODE
|
||||||
int rl_emacs_editing_mode(int, int);
|
RUBY_EXTERN int rl_emacs_editing_mode(int, int);
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* Readline.emacs_editing_mode -> nil
|
* Readline.emacs_editing_mode -> nil
|
||||||
@ -1672,7 +1672,7 @@ readline_s_get_filename_quote_characters(VALUE self)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_RL_REFRESH_LINE
|
#ifdef HAVE_RL_REFRESH_LINE
|
||||||
int rl_refresh_line(int, int);
|
RUBY_EXTERN int rl_refresh_line(int, int);
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* Readline.refresh_line -> nil
|
* Readline.refresh_line -> nil
|
||||||
@ -1919,7 +1919,7 @@ username_completion_proc_call(VALUE self, VALUE str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_RL_CLEAR_SIGNALS
|
#ifdef HAVE_RL_CLEAR_SIGNALS
|
||||||
int rl_clear_signals(void);
|
RUBY_EXTERN int rl_clear_signals(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef rb_intern
|
#undef rb_intern
|
||||||
|
Loading…
x
Reference in New Issue
Block a user