diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-27 09:12:53 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-28 08:52:54 -0300 |
commit | 09bcd97023e68943a82995f8f13cf0c984a9bb5f (patch) | |
tree | 7867fba0b2af4ce4d9ea1a726c4319756afa8aeb /src/nvim/api/buffer.c | |
parent | 1c308e28f1b52682034b97e89f2b3e76fb3c913f (diff) | |
download | rneovim-09bcd97023e68943a82995f8f13cf0c984a9bb5f.tar.gz rneovim-09bcd97023e68943a82995f8f13cf0c984a9bb5f.tar.bz2 rneovim-09bcd97023e68943a82995f8f13cf0c984a9bb5f.zip |
WStream: Refactor: Use reference count for memory management
Now `wstream_write` receives pointers for WBuffer objects(created with
wstream_new_buffer), which stores a reference count to determine when it's safe
the free the buffer. This was done to enable writing of the same buffer to
multiple WStream instances
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions