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.
d155d7a851

Only a change in comments appears to be necessary.
This commit is contained in:
Daniel Hahler
2018-12-22 13:23:01 +01:00
committed by Justin M. Keyes
parent 05d8a46ec4
commit d2352b7b51

View File

@@ -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. /// Get the string value of a "stringish" VimL object.
/// ///
/// @warning For number and special values it uses a single, static buffer. It /// @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 /// tv_get_string_buf() if you need to use tv_get_string() output after
/// calling it again. /// 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. /// Get the string value of a "stringish" VimL object.
/// ///
/// @warning For number and special values it uses a single, static buffer. It /// @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 /// tv_get_string_buf() if you need to use tv_get_string() output after
/// calling it again. /// calling it again.
/// ///