mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0092
This commit is contained in:
@@ -3020,6 +3020,7 @@ theend:
|
||||
}
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
|
||||
/*
|
||||
* ":scriptnames"
|
||||
*/
|
||||
@@ -3068,6 +3069,18 @@ get_scriptname(id)
|
||||
return SCRIPT_ITEM(id).sn_name;
|
||||
}
|
||||
|
||||
# if defined(EXITFREE) || defined(PROTO)
|
||||
void
|
||||
free_scriptnames()
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = script_items.ga_len; i > 0; --i)
|
||||
vim_free(SCRIPT_ITEM(i).sn_name);
|
||||
ga_clear(&script_items);
|
||||
}
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(USE_CR) || defined(PROTO)
|
||||
|
Reference in New Issue
Block a user