comparison src/proto/typval.pro @ 23788:d12ef361d9de v8.2.2435

patch 8.2.2435: setline() gives an error for some types Commit: https://github.com/vim/vim/commit/3445320839a38b3b0c253513b125da8298ec27d6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 31 13:08:38 2021 +0100 patch 8.2.2435: setline() gives an error for some types Problem: setline() gives an error for some types. Solution: Allow any type, convert each item to a string.
author Bram Moolenaar <Bram@vim.org>
date Sun, 31 Jan 2021 13:15:04 +0100
parents 0512923e54e1
children 083f07f99e20
comparison
equal deleted inserted replaced
23787:7b30bc27e54b 23788:d12ef361d9de
19 char_u *tv_get_string_buf_chk_strict(typval_T *varp, char_u *buf, int strict); 19 char_u *tv_get_string_buf_chk_strict(typval_T *varp, char_u *buf, int strict);
20 char_u *tv_stringify(typval_T *varp, char_u *buf); 20 char_u *tv_stringify(typval_T *varp, char_u *buf);
21 int tv_check_lock(typval_T *tv, char_u *name, int use_gettext); 21 int tv_check_lock(typval_T *tv, char_u *name, int use_gettext);
22 void copy_tv(typval_T *from, typval_T *to); 22 void copy_tv(typval_T *from, typval_T *to);
23 int typval_compare(typval_T *typ1, typval_T *typ2, exprtype_T type, int ic); 23 int typval_compare(typval_T *typ1, typval_T *typ2, exprtype_T type, int ic);
24 char_u *typval_tostring(typval_T *arg); 24 char_u *typval_tostring(typval_T *arg, int quotes);
25 int tv_islocked(typval_T *tv); 25 int tv_islocked(typval_T *tv);
26 int tv_equal(typval_T *tv1, typval_T *tv2, int ic, int recursive); 26 int tv_equal(typval_T *tv1, typval_T *tv2, int ic, int recursive);
27 int eval_option(char_u **arg, typval_T *rettv, int evaluate); 27 int eval_option(char_u **arg, typval_T *rettv, int evaluate);
28 int eval_number(char_u **arg, typval_T *rettv, int evaluate, int want_string); 28 int eval_number(char_u **arg, typval_T *rettv, int evaluate, int want_string);
29 int eval_string(char_u **arg, typval_T *rettv, int evaluate); 29 int eval_string(char_u **arg, typval_T *rettv, int evaluate);