mirror of
https://github.com/neovim/neovim.git
synced 2026-08-03 22:28:43 +00:00
- Simplify RStream/WStream API and make it more consistent with libuv. - Move into the event loop layer(event subdirectory) - Remove uv_helpers module. - Simplify job/process internal modules/API. - Unify RStream and WStream into a single structure. This is necessary because libuv streams can be readable and writable at the same time(and because the uv_helpers.c hack to associate multiple streams with libuv handle was removed) - Make struct definition public, allowing more flexible/simple memory management by users of the module. - Adapt channel/job modules to cope with the changes.
17 lines
297 B
C
17 lines
297 B
C
#ifndef NVIM_EVENT_RSTREAM_H
|
|
#define NVIM_EVENT_RSTREAM_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
#include <uv.h>
|
|
|
|
#include "nvim/event/loop.h"
|
|
#include "nvim/event/stream.h"
|
|
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "event/rstream.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_EVENT_RSTREAM_H
|