mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00

- 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.
10 lines
215 B
C
10 lines
215 B
C
#ifndef NVIM_OS_WSTREAM_DEFS_H
|
|
#define NVIM_OS_WSTREAM_DEFS_H
|
|
|
|
typedef struct wbuffer WBuffer;
|
|
typedef struct wstream WStream;
|
|
typedef void (*wbuffer_data_finalizer)(void *data);
|
|
|
|
#endif // NVIM_OS_WSTREAM_DEFS_H
|
|
|