comparison src/proto/userfunc.pro @ 21401:aa7675a4a0cd v8.2.1251

patch 8.2.1251: Vim9: warning for pointer usage, test failure undetected Commit: https://github.com/vim/vim/commit/682d0a15462f3d4f9404e98a56b340ae131cbb09 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 19 20:48:59 2020 +0200 patch 8.2.1251: Vim9: warning for pointer usage, test failure undetected Problem: Vim9: warning for pointer usage, test failure undetected. Solution: Fix pointer indirection. Give error when executing function failed for any reason. Fix instruction names.
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Jul 2020 21:00:03 +0200
parents b0baa80cb53f
children 1c4d4aa22b37
comparison
equal deleted inserted replaced
21400:9b9005a18282 21401:aa7675a4a0cd
20 int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv); 20 int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv);
21 int get_callback_depth(void); 21 int get_callback_depth(void);
22 int call_callback(callback_T *callback, int len, typval_T *rettv, int argcount, typval_T *argvars); 22 int call_callback(callback_T *callback, int len, typval_T *rettv, int argcount, typval_T *argvars);
23 void user_func_error(int error, char_u *name); 23 void user_func_error(int error, char_u *name);
24 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, funcexe_T *funcexe); 24 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, funcexe_T *funcexe);
25 char_u *printable_func_name(ufunc_T *fp);
25 char_u *trans_function_name(char_u **pp, int *is_global, int skip, int flags, funcdict_T *fdp, partial_T **partial); 26 char_u *trans_function_name(char_u **pp, int *is_global, int skip, int flags, funcdict_T *fdp, partial_T **partial);
26 char_u *untrans_function_name(char_u *name); 27 char_u *untrans_function_name(char_u *name);
27 ufunc_T *def_function(exarg_T *eap, char_u *name_arg); 28 ufunc_T *def_function(exarg_T *eap, char_u *name_arg);
28 void ex_function(exarg_T *eap); 29 void ex_function(exarg_T *eap);
29 void ex_defcompile(exarg_T *eap); 30 void ex_defcompile(exarg_T *eap);