Mercurial > vim
comparison src/proto/gui_xim.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 | 8f17f8f327f3 |
children | 8b15e4161605 |
comparison
equal
deleted
inserted
replaced
26517:7dfc4c45f698 | 26518:13ba00ef7687 |
---|---|
1 /* gui_xim.c */ | 1 /* gui_xim.c */ |
2 int set_imactivatefunc_option(void); | 2 int set_imactivatefunc_option(void); |
3 int set_imstatusfunc_option(void); | 3 int set_imstatusfunc_option(void); |
4 void free_xim_stuff(void); | 4 void free_xim_stuff(void); |
5 int set_ref_in_im_funcs(int copyID); | |
5 void im_set_active(int active); | 6 void im_set_active(int active); |
6 void xim_set_focus(int focus); | 7 void xim_set_focus(int focus); |
7 void im_set_position(int row, int col); | 8 void im_set_position(int row, int col); |
8 void xim_set_preedit(void); | 9 void xim_set_preedit(void); |
9 int im_get_feedback_attr(int col); | 10 int im_get_feedback_attr(int col); |