diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-17 10:01:44 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-18 11:36:04 -0300 |
commit | ac5fb407e43814477102cea1885adc225742571c (patch) | |
tree | dba1c8635a5397f11fcc84734b3dbf8a59d7b827 /src/nvim/eval.c | |
parent | 0c764fb1a48ad7ad51766ee480e0cd0d3a43566b (diff) | |
download | rneovim-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