aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <github@thequod.de>2018-12-22 13:23:01 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-12-22 13:23:01 +0100
commitd2352b7b51c9ec039426493ad02840cc9c8e2c2e (patch)
treecb4fec21c49d1468659f32b1c14e616628b5d2ed
parent05d8a46ec45607a3020c1adb15c6b3af729fa1ca (diff)
downloadrneovim-d2352b7b51c9ec039426493ad02840cc9c8e2c2e.tar.gz
rneovim-d2352b7b51c9ec039426493ad02840cc9c8e2c2e.tar.bz2
rneovim-d2352b7b51c9ec039426493ad02840cc9c8e2c2e.zip
vim-patch:8.1.0615: get_tv function names are not consistent (#9386)
Problem: Get_tv function names are not consistent. Solution: Rename to tv_get. https://github.com/vim/vim/commit/d155d7a8519987361169459b8d464ae1caef5e9c Only a change in comments appears to be necessary.
-rw-r--r--src/nvim/eval/typval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c
index 6a93b20345..912aecafec 100644
--- a/src/nvim/eval/typval.c
+++ b/src/nvim/eval/typval.c
@@ -2850,7 +2850,7 @@ const char *tv_get_string_buf_chk(const typval_T *const tv, char *const buf)
/// Get the string value of a "stringish" VimL object.
///
/// @warning For number and special values it uses a single, static buffer. It
-/// may be used only once, next call to get_tv_string may reuse it. Use
+/// may be used only once, next call to tv_get_string may reuse it. Use
/// tv_get_string_buf() if you need to use tv_get_string() output after
/// calling it again.
///
@@ -2869,7 +2869,7 @@ const char *tv_get_string_chk(const typval_T *const tv)
/// Get the string value of a "stringish" VimL object.
///
/// @warning For number and special values it uses a single, static buffer. It
-/// may be used only once, next call to get_tv_string may reuse it. Use
+/// may be used only once, next call to tv_get_string may reuse it. Use
/// tv_get_string_buf() if you need to use tv_get_string() output after
/// calling it again.
///