time.h
Go to the documentation of this file.
1 #ifndef NVIM_EVENT_TIME_H
2 #define NVIM_EVENT_TIME_H
3 
4 #include <uv.h>
5 
6 #include "nvim/event/loop.h"
7 
8 typedef struct time_watcher TimeWatcher;
9 typedef void (*time_cb)(TimeWatcher *watcher, void *data);
10 
11 struct time_watcher {
12  uv_timer_t uv;
13  void *data;
16  bool blockable;
17 };
18 
19 #ifdef INCLUDE_GENERATED_DECLARATIONS
20 # include "event/time.h.generated.h"
21 #endif
22 #endif // NVIM_EVENT_TIME_H
time_watcher::events
MultiQueue * events
Definition: time.h:15
time_watcher
Definition: time.h:11
time_watcher::close_cb
time_cb close_cb
Definition: time.h:14
time_watcher::uv
uv_timer_t uv
Definition: time.h:12
void
void(WINAPI *pClosePseudoConsole)(HPCON)
time_watcher::blockable
bool blockable
Definition: time.h:16
time_watcher::cb
time_cb cb
Definition: time.h:14
time_watcher::data
void * data
Definition: time.h:13
multiqueue
Definition: multiqueue.c:71
loop.h
time_cb
void(* time_cb)(TimeWatcher *watcher, void *data)
Definition: time.h:9