mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor: replace char_u with char 19 (#21241)
* refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -653,7 +653,7 @@ int parse_compl_arg(const char *value, int vallen, int *complp, uint32_t *argt,
|
||||
}
|
||||
|
||||
static int uc_scan_attr(char *attr, size_t len, uint32_t *argt, long *def, int *flags, int *complp,
|
||||
char_u **compl_arg, cmd_addr_T *addr_type_arg)
|
||||
char **compl_arg, cmd_addr_T *addr_type_arg)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
char *p;
|
||||
@@ -764,7 +764,7 @@ invalid_count:
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (parse_compl_arg(val, (int)vallen, complp, argt, (char **)compl_arg)
|
||||
if (parse_compl_arg(val, (int)vallen, complp, argt, compl_arg)
|
||||
== FAIL) {
|
||||
return FAIL;
|
||||
}
|
||||
@@ -941,7 +941,7 @@ void ex_command(exarg_T *eap)
|
||||
while (*p == '-') {
|
||||
p++;
|
||||
end = skiptowhite(p);
|
||||
if (uc_scan_attr(p, (size_t)(end - p), &argt, &def, &flags, &compl, (char_u **)&compl_arg,
|
||||
if (uc_scan_attr(p, (size_t)(end - p), &argt, &def, &flags, &compl, &compl_arg,
|
||||
&addr_type_arg) == FAIL) {
|
||||
goto theend;
|
||||
}
|
||||
|
Reference in New Issue
Block a user