1
0
forked from aniani/vim

patch 8.1.1531: clipboard type name is inconsistent

Problem:    Clipboard type name is inconsistent.
Solution:   Rename VimClipboard to Clipboard_T.
This commit is contained in:
Bram Moolenaar
2019-06-14 21:36:54 +02:00
parent f42397c395
commit 0554fa478d
19 changed files with 112 additions and 111 deletions

View File

@@ -6460,7 +6460,7 @@ x11_export_final_selection(void)
#endif
void
clip_free_selection(VimClipboard *cbd)
clip_free_selection(Clipboard_T *cbd)
{
yankreg_T *y_ptr = y_current;
@@ -6477,7 +6477,7 @@ clip_free_selection(VimClipboard *cbd)
* Get the selected text and put it in register '*' or '+'.
*/
void
clip_get_selection(VimClipboard *cbd)
clip_get_selection(Clipboard_T *cbd)
{
yankreg_T *old_y_previous, *old_y_current;
pos_T old_cursor;
@@ -6542,7 +6542,7 @@ clip_yank_selection(
int type,
char_u *str,
long len,
VimClipboard *cbd)
Clipboard_T *cbd)
{
yankreg_T *y_ptr;
@@ -6562,7 +6562,7 @@ clip_yank_selection(
* Returns the motion type, or -1 for failure.
*/
int
clip_convert_selection(char_u **str, long_u *len, VimClipboard *cbd)
clip_convert_selection(char_u **str, long_u *len, Clipboard_T *cbd)
{
char_u *p;
int lnum;