aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-06-17 10:01:44 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-06-18 11:36:04 -0300
commitac5fb407e43814477102cea1885adc225742571c (patch)
treedba1c8635a5397f11fcc84734b3dbf8a59d7b827 /src/nvim/eval.c
parent0c764fb1a48ad7ad51766ee480e0cd0d3a43566b (diff)
downloadrneovim-ac5fb407e43814477102cea1885adc225742571c.tar.gz
rneovim-ac5fb407e43814477102cea1885adc225742571c.tar.bz2
rneovim-ac5fb407e43814477102cea1885adc225742571c.zip
wstream: Refactor wstream_new_buffer/wstream_write
- Removed 'copy' parameter from `wstream_new_buffer`. Callers simply pass a copy of the buffer if required. - Added a callback parameter, which is used to notify callers when the data is successfully written. The callback is also used to free the buffer(if required) and is compatible with `free` from the standard library.
Diffstat (limited to 'src/nvim/eval.c')
0 files changed, 0 insertions, 0 deletions