1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | static void cursorhold_event(void **argv); |
7 | static void create_cursorhold_event(_Bool events_enabled); |
8 | static uint8_t check_multiclick(int code, int grid, int row, int col); |
9 | static unsigned int handle_mouse_event(char **ptr, uint8_t *buf, unsigned int bufsize); |
10 | static InbufPollResult inbuf_poll(int ms, MultiQueue *events); |
11 | static void input_read_cb(Stream *stream, RBuffer *buf, size_t c, void *data, _Bool at_eof); |
12 | static void process_interrupts(void); |
13 | static int push_event_key(uint8_t *buf, int maxlen); |
14 | static _Bool input_ready(MultiQueue *events); |
15 | static void read_error_exit(void); |
16 | static _Bool pending_events(MultiQueue *events); |
17 | #include "nvim/func_attr.h" |
18 | |