mirror of
https://github.com/neovim/neovim.git
synced 2025-10-13 05:16:09 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -388,12 +388,12 @@ nlua_pop_typval_table_processing_end:
|
||||
LuaCFunctionState *state = xmalloc(sizeof(LuaCFunctionState));
|
||||
state->lua_callable.func_ref = nlua_ref_global(lstate, -1);
|
||||
|
||||
char_u *name = register_cfunc(&nlua_CFunction_func_call,
|
||||
&nlua_CFunction_func_free,
|
||||
state);
|
||||
char *name = (char *)register_cfunc(&nlua_CFunction_func_call,
|
||||
&nlua_CFunction_func_free,
|
||||
state);
|
||||
|
||||
cur.tv->v_type = VAR_FUNC;
|
||||
cur.tv->vval.v_string = (char *)vim_strsave(name);
|
||||
cur.tv->vval.v_string = xstrdup(name);
|
||||
break;
|
||||
}
|
||||
case LUA_TUSERDATA: {
|
||||
|
Reference in New Issue
Block a user