aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-06 22:15:10 -0500
committerGitHub <noreply@github.com>2020-11-06 22:15:10 -0500
commitda134270d3e9f8a4824b0e0540bf017f7e59b06e (patch)
treea42ff47bceb77e172d02e66ca42e54eeb45e0547 /src/nvim/eval
parent40a742725ccd472038685ccb99090ee2a6b2c912 (diff)
parent038e98fd7de10f5442a11eb5d54c39d145559d79 (diff)
downloadrneovim-da134270d3e9f8a4824b0e0540bf017f7e59b06e.tar.gz
rneovim-da134270d3e9f8a4824b0e0540bf017f7e59b06e.tar.bz2
rneovim-da134270d3e9f8a4824b0e0540bf017f7e59b06e.zip
Merge pull request #13237 from janlazo/vim-8.2.1959
vim-patch:8.1.2422,8.2.{1959,1961,1962,1963}
Diffstat (limited to 'src/nvim/eval')
-rw-r--r--src/nvim/eval/typval.c3
-rw-r--r--src/nvim/eval/typval.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c
index 8dde78de3d..ada6f78f10 100644
--- a/src/nvim/eval/typval.c
+++ b/src/nvim/eval/typval.c
@@ -1358,7 +1358,8 @@ void tv_dict_item_remove(dict_T *const dict, dictitem_T *const item)
//{{{2 Alloc/free
-/// Allocate an empty dictionary
+/// Allocate an empty dictionary.
+/// Caller should take care of the reference count.
///
/// @return [allocated] new dictionary.
dict_T *tv_dict_alloc(void)
diff --git a/src/nvim/eval/typval.h b/src/nvim/eval/typval.h
index 503a32a81e..1e3e9bd366 100644
--- a/src/nvim/eval/typval.h
+++ b/src/nvim/eval/typval.h
@@ -301,7 +301,8 @@ struct funccall_S {
int dbg_tick; ///< Debug_tick when breakpoint was set.
int level; ///< Top nesting level of executed function.
proftime_T prof_child; ///< Time spent in a child.
- funccall_T *caller; ///< Calling function or NULL.
+ funccall_T *caller; ///< Calling function or NULL; or next funccal in
+ ///< list pointed to by previous_funccal.
int fc_refcount; ///< Number of user functions that reference this funccall.
int fc_copyID; ///< CopyID used for garbage collection.
garray_T fc_funcs; ///< List of ufunc_T* which keep a reference to "func".