aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-27 09:12:53 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-28 08:52:54 -0300
commit09bcd97023e68943a82995f8f13cf0c984a9bb5f (patch)
tree7867fba0b2af4ce4d9ea1a726c4319756afa8aeb /src/nvim/api/buffer.c
parent1c308e28f1b52682034b97e89f2b3e76fb3c913f (diff)
downloadrneovim-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