mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 01:38:16 +00:00
eval/typval: Make tv_list_item_alloc static
Better write this bit in lua then make reviewers or clint filter out tv_list_item_alloc().
This commit is contained in:
@@ -52,7 +52,7 @@ const char *const tv_empty_string = "";
|
||||
/// and specifically set lv_lock.
|
||||
///
|
||||
/// @return [allocated] new list item.
|
||||
listitem_T *tv_list_item_alloc(void)
|
||||
static listitem_T *tv_list_item_alloc(void)
|
||||
FUNC_ATTR_NONNULL_RET FUNC_ATTR_MALLOC
|
||||
{
|
||||
return xmalloc(sizeof(listitem_T));
|
||||
|
Reference in New Issue
Block a user