summaryrefslogtreecommitdiff
path: root/src/proto/userfunc.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-29 22:37:06 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-29 22:37:06 +0200
commit10ce39a0d52272a3dfff2feb8c631529f29e6740 (patch)
tree4e87632c06cd48950bf777c27be36cb309a8fcb4 /src/proto/userfunc.pro
parent1e96d9bf98f9ab84d5af7f98d6a961d91b17364f (diff)
downloadvim-git-10ce39a0d52272a3dfff2feb8c631529f29e6740.tar.gz
patch 7.4.2120v7.4.2120
Problem: User defined functions can't be a closure. Solution: Add the "closure" argument. Allow using :unlet on a bound variable. (Yasuhiro Matsumoto, Ken Takata)
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 e503bcdcc..42c5883d0 100644
--- a/src/proto/userfunc.pro
+++ b/src/proto/userfunc.pro
@@ -46,6 +46,7 @@ void *clear_current_funccal(void);
void restore_current_funccal(void *f);
void list_func_vars(int *first);
dict_T *get_current_funccal_dict(hashtab_T *ht);
+hashitem_T *find_hi_in_scoped_ht(char_u *name, char_u **varname, hashtab_T **pht);
dictitem_T *find_var_in_scoped_ht(char_u *name, char_u **varname, int no_autoload);
int set_ref_in_previous_funccal(int copyID);
int set_ref_in_call_stack(int copyID);