comparison src/proto/insexpand.pro @ 26518:13ba00ef7687 v8.2.3788

patch 8.2.3788: lambda for option that is a function may be freed Commit: https://github.com/vim/vim/commit/6ae8fae8696623b527c7fb22567f6a3705b2f0dd Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Dec 12 16:26:44 2021 +0000 patch 8.2.3788: lambda for option that is a function may be freed Problem: Lambda for option that is a function may be garbage collected. Solution: Set a reference in the funcref. (Yegappan Lakshmanan, closes #9330)
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Dec 2021 17:30:04 +0100
parents 8aba638e91eb
children 8dbdd68627bd
comparison
equal deleted inserted replaced
26517:7dfc4c45f698 26518:13ba00ef7687
42 int set_completefunc_option(void); 42 int set_completefunc_option(void);
43 void set_buflocal_cfu_callback(buf_T *buf); 43 void set_buflocal_cfu_callback(buf_T *buf);
44 int set_omnifunc_option(void); 44 int set_omnifunc_option(void);
45 void set_buflocal_ofu_callback(buf_T *buf); 45 void set_buflocal_ofu_callback(buf_T *buf);
46 int set_thesaurusfunc_option(void); 46 int set_thesaurusfunc_option(void);
47 int set_ref_in_insexpand_funcs(int copyID);
47 callback_T *get_insert_callback(int type); 48 callback_T *get_insert_callback(int type);
48 void f_complete(typval_T *argvars, typval_T *rettv); 49 void f_complete(typval_T *argvars, typval_T *rettv);
49 void f_complete_add(typval_T *argvars, typval_T *rettv); 50 void f_complete_add(typval_T *argvars, typval_T *rettv);
50 void f_complete_check(typval_T *argvars, typval_T *rettv); 51 void f_complete_check(typval_T *argvars, typval_T *rettv);
51 void f_complete_info(typval_T *argvars, typval_T *rettv); 52 void f_complete_info(typval_T *argvars, typval_T *rettv);