aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-05-13 17:01:22 +0300
committerZyX <kp-pav@yandex.ru>2017-05-13 17:01:22 +0300
commitd66ef56739f9b666e54173d7642c0b351f0c2c12 (patch)
tree959d44778c3937b816594bd5b983aeca9b4525b8
parentb6d73fb7407f8d37bc6a700d09a5eed6c3129539 (diff)
downloadrneovim-d66ef56739f9b666e54173d7642c0b351f0c2c12.tar.gz
rneovim-d66ef56739f9b666e54173d7642c0b351f0c2c12.tar.bz2
rneovim-d66ef56739f9b666e54173d7642c0b351f0c2c12.zip
eval/typval: Fix numbuf parameter documentation
-rw-r--r--src/nvim/eval/typval.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c
index e721ebe345..dd3fe22694 100644
--- a/src/nvim/eval/typval.c
+++ b/src/nvim/eval/typval.c
@@ -1210,7 +1210,8 @@ char *tv_dict_get_string(const dict_T *const d, const char *const key,
///
/// @param[in] d Dictionary to get item from.
/// @param[in] key Dictionary key.
-/// @param[in] numbuf Numbuf for.
+/// @param[in] numbuf Buffer for non-string items converted to strings, at
+/// least of #NUMBUFLEN length.
///
/// @return NULL if key does not exist, empty string in case of type error,
/// string item value otherwise.
@@ -1230,7 +1231,8 @@ const char *tv_dict_get_string_buf(const dict_T *const d, const char *const key,
/// @param[in] d Dictionary to get item from.
/// @param[in] key Dictionary key.
/// @param[in] key_len Key length.
-/// @param[in] numbuf Numbuf for.
+/// @param[in] numbuf Buffer for non-string items converted to strings, at
+/// least of #NUMBUFLEN length.
/// @param[in] def Default return when key does not exist.
///
/// @return `def` when key does not exist,