From 7be3ab25891fec711d8a2d9d242711a9155852b6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 23 Jun 2019 01:46:15 +0200 Subject: patch 8.1.1583: set_ref_in_list() only sets ref in items Problem: Set_ref_in_list() only sets ref in items. Solution: Rename to set_ref_in_list_items() to avoid confusion. --- src/proto/eval.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/proto/eval.pro') 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); -- cgit v1.2.1