comparison src/proto/userfunc.pro @ 26388:8aba638e91eb v8.2.3725

patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc' Commit: https://github.com/vim/vim/commit/8658c759f05b317707d56e3b65a5ef63930c7498 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Fri Dec 3 11:09:29 2021 +0000 patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc' Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'. Solution: Implement lambda support. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/9257)
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 Dec 2021 12:15:04 +0100
parents bf1a7ce3f14a
children 568f93dcdc62
comparison
equal deleted inserted replaced
26387:b6eb7e295973 26388:8aba638e91eb
26 void free_all_functions(void); 26 void free_all_functions(void);
27 int builtin_function(char_u *name, int len); 27 int builtin_function(char_u *name, int len);
28 int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv); 28 int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv);
29 int get_callback_depth(void); 29 int get_callback_depth(void);
30 int call_callback(callback_T *callback, int len, typval_T *rettv, int argcount, typval_T *argvars); 30 int call_callback(callback_T *callback, int len, typval_T *rettv, int argcount, typval_T *argvars);
31 varnumber_T call_callback_retnr(callback_T *callback, int argcount, typval_T *argvars);
31 void user_func_error(int error, char_u *name); 32 void user_func_error(int error, char_u *name);
32 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, funcexe_T *funcexe); 33 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, funcexe_T *funcexe);
33 char_u *printable_func_name(ufunc_T *fp); 34 char_u *printable_func_name(ufunc_T *fp);
34 char_u *trans_function_name(char_u **pp, int *is_global, int skip, int flags, funcdict_T *fdp, partial_T **partial, type_T **type); 35 char_u *trans_function_name(char_u **pp, int *is_global, int skip, int flags, funcdict_T *fdp, partial_T **partial, type_T **type);
35 char_u *untrans_function_name(char_u *name); 36 char_u *untrans_function_name(char_u *name);