diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-23 01:46:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-23 01:46:15 +0200 |
commit | 7be3ab25891fec711d8a2d9d242711a9155852b6 (patch) | |
tree | 3dab3f000e881253f5ca0961ea13b8abc2a0d39d /src/proto/eval.pro | |
parent | 0fcf26ba4ffaaa6a2fb8d879dc24b5f7e1bb6a13 (diff) | |
download | vim-git-7be3ab25891fec711d8a2d9d242711a9155852b6.tar.gz |
patch 8.1.1583: set_ref_in_list() only sets ref in itemsv8.1.1583
Problem: Set_ref_in_list() only sets ref in items.
Solution: Rename to set_ref_in_list_items() to avoid confusion.
Diffstat (limited to 'src/proto/eval.pro')
-rw-r--r-- | src/proto/eval.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/proto/eval.pro b/src/proto/eval.pro index 5e800adc8..7831eb596 100644 --- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -50,7 +50,9 @@ int tv_equal(typval_T *tv1, typval_T *tv2, int ic, int recursive); int get_copyID(void); int garbage_collect(int testing); int set_ref_in_ht(hashtab_T *ht, int copyID, list_stack_T **list_stack); -int set_ref_in_list(list_T *l, int copyID, ht_stack_T **ht_stack); +int set_ref_in_dict(dict_T *d, int copyID); +int set_ref_in_list(list_T *ll, int copyID); +int set_ref_in_list_items(list_T *l, int copyID, ht_stack_T **ht_stack); int set_ref_in_item(typval_T *tv, int copyID, ht_stack_T **ht_stack, list_stack_T **list_stack); char_u *echo_string_core(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID, int echo_style, int restore_copyID, int composite_val); char_u *echo_string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID); |