wstream.h
Go to the documentation of this file.
1 #ifndef NVIM_EVENT_WSTREAM_H
2 #define NVIM_EVENT_WSTREAM_H
3 
4 #include <stdbool.h>
5 #include <stdint.h>
6 #include <uv.h>
7 
8 #include "nvim/event/loop.h"
9 #include "nvim/event/stream.h"
10 
11 typedef struct wbuffer WBuffer;
12 typedef void (*wbuffer_data_finalizer)(void *data);
13 
14 struct wbuffer {
15  size_t size, refcount;
16  char *data;
18 };
19 
20 #ifdef INCLUDE_GENERATED_DECLARATIONS
21 # include "event/wstream.h.generated.h"
22 #endif
23 #endif // NVIM_EVENT_WSTREAM_H
wbuffer::refcount
size_t refcount
Definition: wstream.h:15
void
void(WINAPI *pClosePseudoConsole)(HPCON)
wbuffer::data
char * data
Definition: wstream.h:16
stream.h
wbuffer
Definition: wstream.h:14
wbuffer::size
size_t size
Definition: wstream.h:15
loop.h
wbuffer_data_finalizer
void(* wbuffer_data_finalizer)(void *data)
Definition: wstream.h:12
wbuffer::cb
wbuffer_data_finalizer cb
Definition: wstream.h:17