diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-21 16:04:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-21 16:04:21 +0100 |
commit | d155d7a8519987361169459b8d464ae1caef5e9c (patch) | |
tree | 26d437fd67b33ca1b57aca568d4da40151bc9a81 /src/message.c | |
parent | 162b71479bd4dcdb3a2ef9198a1444f6f99e6843 (diff) | |
download | vim-git-d155d7a8519987361169459b8d464ae1caef5e9c.tar.gz |
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/message.c')
-rw-r--r-- | src/message.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.c b/src/message.c index 5a990ff60..f191c78a2 100644 --- a/src/message.c +++ b/src/message.c @@ -4137,7 +4137,7 @@ tv_nr(typval_T *tvs, int *idxp) else { ++*idxp; - n = get_tv_number_chk(&tvs[idx], &err); + n = tv_get_number_chk(&tvs[idx], &err); if (err) n = 0; } @@ -4146,7 +4146,7 @@ tv_nr(typval_T *tvs, int *idxp) /* * Get string argument from "idxp" entry in "tvs". First entry is 1. - * If "tofree" is NULL get_tv_string_chk() is used. Some types (e.g. List) + * If "tofree" is NULL tv_get_string_chk() is used. Some types (e.g. List) * are not converted to a string. * If "tofree" is not NULL echo_string() is used. All types are converted to * a string with the same format as ":echo". The caller must free "*tofree". @@ -4167,7 +4167,7 @@ tv_str(typval_T *tvs, int *idxp, char_u **tofree) if (tofree != NULL) s = (char *)echo_string(&tvs[idx], tofree, numbuf, get_copyID()); else - s = (char *)get_tv_string_chk(&tvs[idx]); + s = (char *)tv_get_string_chk(&tvs[idx]); } return s; } |