summaryrefslogtreecommitdiff
path: root/src/proto/userfunc.pro
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-12-03 11:09:29 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-03 11:09:29 +0000
commit8658c759f05b317707d56e3b65a5ef63930c7498 (patch)
tree124fcda187b5515dfaeba4c86aa7a5e0f0888686 /src/proto/userfunc.pro
parent021ef351c2127cf8aa5668a881435a0a12774644 (diff)
downloadvim-git-8658c759f05b317707d56e3b65a5ef63930c7498.tar.gz
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'v8.2.3725
Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'. Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
Diffstat (limited to 'src/proto/userfunc.pro')
-rw-r--r--src/proto/userfunc.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/userfunc.pro b/src/proto/userfunc.pro
index dcc5b34d0..b5ea9b666 100644
--- a/src/proto/userfunc.pro
+++ b/src/proto/userfunc.pro
@@ -28,6 +28,7 @@ int builtin_function(char_u *name, int len);
int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv);
int get_callback_depth(void);
int call_callback(callback_T *callback, int len, typval_T *rettv, int argcount, typval_T *argvars);
+varnumber_T call_callback_retnr(callback_T *callback, int argcount, typval_T *argvars);
void user_func_error(int error, char_u *name);
int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, funcexe_T *funcexe);
char_u *printable_func_name(ufunc_T *fp);