0
0
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:
Bram Moolenaar
2005-06-24 23:07:47 +00:00
parent 0a5fe2140d
commit 1ec484f58e
16 changed files with 174 additions and 18 deletions

View File

@@ -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)