Mercurial > vim
diff src/proto/list.pro @ 21120:4d844a65183d v8.2.1111
patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
Commit: https://github.com/vim/vim/commit/9a78e6df17033223ebdf499f2b02b2538601c52d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 1 18:29:55 2020 +0200
patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
Problem: Inconsistent naming of get_list_tv() and eval_dict().
Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
eval_string(), eval_lit_string() and a few others.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Jul 2020 18:45:04 +0200 |
parents | 7acceb76669f |
children | af5db9b6d210 |
line wrap: on
line diff
--- a/src/proto/list.pro +++ b/src/proto/list.pro @@ -39,7 +39,7 @@ void vimlist_remove(list_T *l, listitem_ char_u *list2string(typval_T *tv, int copyID, int restore_copyID); int list_join(garray_T *gap, list_T *l, char_u *sep, int echo_style, int restore_copyID, int copyID); void f_join(typval_T *argvars, typval_T *rettv); -int get_list_tv(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int do_error); +int eval_list(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int do_error); int write_list(FILE *fd, list_T *list, int binary); void init_static_list(staticList10_T *sl); void f_list2str(typval_T *argvars, typval_T *rettv);