commit | 75a1a9415b9c207de5a29b25c0d1949c6c9c5c61 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 20 03:45:36 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 20 03:45:36 2019 +0200 |
tree | 470a0887aed4e52e342edbca555e0bec1b85af99 | |
parent | a3fce62c911c204ae144b55018f6dc9295088850 [diff] [blame] |
patch 8.1.1575: callbacks may be garbage collected Problem: Callbacks may be garbage collected. Solution: Set reference in callbacks. (Ozaki Kiichi, closes #4564)
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro index 81be7e4..45fcf2b 100644 --- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro
@@ -74,4 +74,5 @@ void set_buflisted(int on); int buf_contents_changed(buf_T *buf); void wipe_buffer(buf_T *buf, int aucmd); +int set_ref_in_buffers(int copyID); /* vim: set ft=c : */