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_cb close_cb
Definition: time.h:14
MultiQueue * events
Definition: time.h:15
void * data
Definition: time.h:13
uv_timer_t uv
Definition: time.h:12
Definition: time.h:11
bool blockable
Definition: time.h:16
time_cb cb
Definition: time.h:14
void(* time_cb)(TimeWatcher *watcher, void *data)
Definition: time.h:9
Definition: multiqueue.c:73