comparison src/proto/buffer.pro @ 17151:ebe9aab81898 v8.1.1575

patch 8.1.1575: callbacks may be garbage collected commit https://github.com/vim/vim/commit/75a1a9415b9c207de5a29b25c0d1949c6c9c5c61 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 20 03:45:36 2019 +0200 patch 8.1.1575: callbacks may be garbage collected Problem: Callbacks may be garbage collected. Solution: Set reference in callbacks. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/4564)
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jun 2019 04:00:07 +0200
parents 10e0d7d96cb0
children 09fa437d33d8
comparison
equal deleted inserted replaced
17150:96373bb9c0eb 17151:ebe9aab81898
72 void restore_win_for_buf(win_T *save_curwin, tabpage_T *save_curtab, bufref_T *save_curbuf); 72 void restore_win_for_buf(win_T *save_curwin, tabpage_T *save_curtab, bufref_T *save_curbuf);
73 int find_win_for_buf(buf_T *buf, win_T **wp, tabpage_T **tp); 73 int find_win_for_buf(buf_T *buf, win_T **wp, tabpage_T **tp);
74 void set_buflisted(int on); 74 void set_buflisted(int on);
75 int buf_contents_changed(buf_T *buf); 75 int buf_contents_changed(buf_T *buf);
76 void wipe_buffer(buf_T *buf, int aucmd); 76 void wipe_buffer(buf_T *buf, int aucmd);
77 int set_ref_in_buffers(int copyID);
77 /* vim: set ft=c : */ 78 /* vim: set ft=c : */