mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 06:16:08 +00:00
lua: cleanup naming conventions of executor functions
This commit is contained in:
@@ -1249,6 +1249,13 @@ type_error:
|
||||
return ret;
|
||||
}
|
||||
|
||||
LuaRef nlua_pop_LuaRef(lua_State *const lstate, Error *err)
|
||||
{
|
||||
LuaRef rv = nlua_ref(lstate, -1);
|
||||
lua_pop(lstate, 1);
|
||||
return rv;
|
||||
}
|
||||
|
||||
#define GENERATE_INDEX_FUNCTION(type) \
|
||||
type nlua_pop_##type(lua_State *lstate, Error *err) \
|
||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT \
|
||||
|
Reference in New Issue
Block a user