mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 8.0.1319: can't build GUI on MS-Windows
Problem: Can't build GUI on MS-Windows. Solution: Don't define the balloon_split() function in a GUI-only build.
This commit is contained in:
@@ -2708,13 +2708,16 @@ balloon_show({expr}) *balloon_show()*
|
|||||||
|
|
||||||
When showing a balloon is not possible nothing happens, no
|
When showing a balloon is not possible nothing happens, no
|
||||||
error message.
|
error message.
|
||||||
{only available when compiled with the +balloon_eval feature}
|
{only available when compiled with the +balloon_eval or
|
||||||
|
+balloon_eval_term feature}
|
||||||
|
|
||||||
balloon_split({msg}) *balloon_split()*
|
balloon_split({msg}) *balloon_split()*
|
||||||
Split {msg} into lines to be displayed in a balloon. The
|
Split {msg} into lines to be displayed in a balloon. The
|
||||||
splits are made for the current window size and optimize to
|
splits are made for the current window size and optimize to
|
||||||
show debugger output.
|
show debugger output.
|
||||||
Returns a |List| with the split lines.
|
Returns a |List| with the split lines.
|
||||||
|
{only available when compiled with the +balloon_eval_term
|
||||||
|
feature}
|
||||||
|
|
||||||
*browse()*
|
*browse()*
|
||||||
browse({save}, {title}, {initdir}, {default})
|
browse({save}, {title}, {initdir}, {default})
|
||||||
|
@@ -61,8 +61,10 @@ static void f_atan2(typval_T *argvars, typval_T *rettv);
|
|||||||
#endif
|
#endif
|
||||||
#ifdef FEAT_BEVAL
|
#ifdef FEAT_BEVAL
|
||||||
static void f_balloon_show(typval_T *argvars, typval_T *rettv);
|
static void f_balloon_show(typval_T *argvars, typval_T *rettv);
|
||||||
|
# if defined(FEAT_BEVAL_TERM)
|
||||||
static void f_balloon_split(typval_T *argvars, typval_T *rettv);
|
static void f_balloon_split(typval_T *argvars, typval_T *rettv);
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
static void f_browse(typval_T *argvars, typval_T *rettv);
|
static void f_browse(typval_T *argvars, typval_T *rettv);
|
||||||
static void f_browsedir(typval_T *argvars, typval_T *rettv);
|
static void f_browsedir(typval_T *argvars, typval_T *rettv);
|
||||||
static void f_bufexists(typval_T *argvars, typval_T *rettv);
|
static void f_bufexists(typval_T *argvars, typval_T *rettv);
|
||||||
@@ -495,7 +497,9 @@ static struct fst
|
|||||||
#endif
|
#endif
|
||||||
#ifdef FEAT_BEVAL
|
#ifdef FEAT_BEVAL
|
||||||
{"balloon_show", 1, 1, f_balloon_show},
|
{"balloon_show", 1, 1, f_balloon_show},
|
||||||
|
# if defined(FEAT_BEVAL_TERM)
|
||||||
{"balloon_split", 1, 1, f_balloon_split},
|
{"balloon_split", 1, 1, f_balloon_split},
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
{"browse", 4, 4, f_browse},
|
{"browse", 4, 4, f_browse},
|
||||||
{"browsedir", 2, 2, f_browsedir},
|
{"browsedir", 2, 2, f_browsedir},
|
||||||
@@ -1424,6 +1428,7 @@ f_balloon_show(typval_T *argvars, typval_T *rettv UNUSED)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# if defined(FEAT_BEVAL_TERM)
|
||||||
static void
|
static void
|
||||||
f_balloon_split(typval_T *argvars, typval_T *rettv UNUSED)
|
f_balloon_split(typval_T *argvars, typval_T *rettv UNUSED)
|
||||||
{
|
{
|
||||||
@@ -1445,6 +1450,7 @@ f_balloon_split(typval_T *argvars, typval_T *rettv UNUSED)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* "browse(save, title, initdir, default)" function
|
* "browse(save, title, initdir, default)" function
|
||||||
|
@@ -771,6 +771,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 */
|
||||||
|
/**/
|
||||||
|
1319,
|
||||||
/**/
|
/**/
|
||||||
1318,
|
1318,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user