summaryrefslogtreecommitdiff
path: root/src/proto/userfunc.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-06 15:06:54 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-06 15:06:54 +0000
commit2336c376d5796446d44622b0dfa8fd3fd1a5d22b (patch)
tree65c5bf2e5140e7fb9f64065c5da69447b580c7c4 /src/proto/userfunc.pro
parent8603be338ac810446f23c092f21bc6082f787519 (diff)
downloadvim-git-2336c376d5796446d44622b0dfa8fd3fd1a5d22b.tar.gz
patch 8.2.3753: Vim9: function unreferenced while called is never deletedv8.2.3753
Problem: Vim9: function unreferenced while called is never deleted. Solution: Delete a function when no longer referenced.
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 b5ea9b666..85144482e 100644
--- a/src/proto/userfunc.pro
+++ b/src/proto/userfunc.pro
@@ -12,6 +12,7 @@ ufunc_T *find_func_even_dead(char_u *name, int is_global, cctx_T *cctx);
ufunc_T *find_func(char_u *name, int is_global, cctx_T *cctx);
int func_is_global(ufunc_T *ufunc);
int func_name_refcount(char_u *name);
+void func_clear_free(ufunc_T *fp, int force);
int copy_func(char_u *lambda, char_u *global, ectx_T *ectx);
int funcdepth_increment(void);
void funcdepth_decrement(void);