diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-01 22:49:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-01 22:49:22 +0200 |
commit | bc7ce675b2d1c9fb58c067eff3edd59abc30aba4 (patch) | |
tree | df3fc4f3d1467680240f95d5cf51d65eae88cb86 /src/proto/userfunc.pro | |
parent | 8dd3a43d75550e9b5736066124c97697564f769e (diff) | |
download | vim-git-bc7ce675b2d1c9fb58c067eff3edd59abc30aba4.tar.gz |
patch 7.4.2143v7.4.2143
Problem: A funccal is garbage collected while it can still be used.
Solution: Set copyID in all referenced functions. Do not list lambda
functions with ":function".
Diffstat (limited to 'src/proto/userfunc.pro')
-rw-r--r-- | src/proto/userfunc.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/userfunc.pro b/src/proto/userfunc.pro index 25620f16d..3149ec50a 100644 --- a/src/proto/userfunc.pro +++ b/src/proto/userfunc.pro @@ -54,6 +54,7 @@ hashitem_T *find_hi_in_scoped_ht(char_u *name, hashtab_T **pht); dictitem_T *find_var_in_scoped_ht(char_u *name, int no_autoload); int set_ref_in_previous_funccal(int copyID); int set_ref_in_call_stack(int copyID); +int set_ref_in_functions(int copyID); int set_ref_in_func_args(int copyID); int set_ref_in_func(char_u *name, ufunc_T *fp_in, int copyID); /* vim: set ft=c : */ |