comparison src/proto/eval.pro @ 23281:5b4db8035d1d v8.2.2186

patch 8.2.2186: Vim9: error when using 'opfunc' Commit: https://github.com/vim/vim/commit/5b3d1bb0f5180266c4de4d815b3ea856a2fb3519 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 22 12:20:08 2020 +0100 patch 8.2.2186: Vim9: error when using 'opfunc' Problem: Vim9: error when using 'opfunc'. Solution: Do not expect a return value from 'opfunc'. (closes https://github.com/vim/vim/issues/7510)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Dec 2020 12:30:04 +0100
parents 4c21a3a47707
children 54ec7c8b7459
comparison
equal deleted inserted replaced
23280:a6d48e6961aa 23281:5b4db8035d1d
16 char_u *eval_to_string_safe(char_u *arg, int use_sandbox); 16 char_u *eval_to_string_safe(char_u *arg, int use_sandbox);
17 varnumber_T eval_to_number(char_u *expr); 17 varnumber_T eval_to_number(char_u *expr);
18 typval_T *eval_expr(char_u *arg, exarg_T *eap); 18 typval_T *eval_expr(char_u *arg, exarg_T *eap);
19 int call_vim_function(char_u *func, int argc, typval_T *argv, typval_T *rettv); 19 int call_vim_function(char_u *func, int argc, typval_T *argv, typval_T *rettv);
20 varnumber_T call_func_retnr(char_u *func, int argc, typval_T *argv); 20 varnumber_T call_func_retnr(char_u *func, int argc, typval_T *argv);
21 int call_func_noret(char_u *func, int argc, typval_T *argv);
21 void *call_func_retstr(char_u *func, int argc, typval_T *argv); 22 void *call_func_retstr(char_u *func, int argc, typval_T *argv);
22 void *call_func_retlist(char_u *func, int argc, typval_T *argv); 23 void *call_func_retlist(char_u *func, int argc, typval_T *argv);
23 int eval_foldexpr(char_u *arg, int *cp); 24 int eval_foldexpr(char_u *arg, int *cp);
24 char_u *get_lval(char_u *name, typval_T *rettv, lval_T *lp, int unlet, int skip, int flags, int fne_flags); 25 char_u *get_lval(char_u *name, typval_T *rettv, lval_T *lp, int unlet, int skip, int flags, int fne_flags);
25 void clear_lval(lval_T *lp); 26 void clear_lval(lval_T *lp);