summaryrefslogtreecommitdiffstats
path: root/src/list.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-12-21 16:04:21 +0100
committerBram Moolenaar <Bram@vim.org>2018-12-21 16:04:21 +0100
commitd155d7a8519987361169459b8d464ae1caef5e9c (patch)
tree26d437fd67b33ca1b57aca568d4da40151bc9a81 /src/list.c
parent162b71479bd4dcdb3a2ef9198a1444f6f99e6843 (diff)
patch 8.1.0615: get_tv function names are not consistentv8.1.0615
Problem: Get_tv function names are not consistent. Solution: Rename to tv_get.
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/list.c b/src/list.c
index 679276c85c..2a820232d1 100644
--- a/src/list.c
+++ b/src/list.c
@@ -403,7 +403,7 @@ list_find_nr(
*errorp = TRUE;
return -1L;
}
- return (long)get_tv_number_chk(&li->li_tv, errorp);
+ return (long)tv_get_number_chk(&li->li_tv, errorp);
}
/*
@@ -420,7 +420,7 @@ list_find_str(list_T *l, long idx)
EMSGN(_(e_listidx), idx);
return NULL;
}
- return get_tv_string(&li->li_tv);
+ return tv_get_string(&li->li_tv);
}
/*
@@ -949,7 +949,7 @@ write_list(FILE *fd, list_T *list, int binary)
for (li = list->lv_first; li != NULL; li = li->li_next)
{
- for (s = get_tv_string(&li->li_tv); *s != NUL; ++s)
+ for (s = tv_get_string(&li->li_tv); *s != NUL; ++s)
{
if (*s == '\n')
c = putc(NUL, fd);