mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
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:

committed by
Justin M. Keyes

parent
05d8a46ec4
commit
d2352b7b51
@@ -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.
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user