blob: fe846695e56f48ecad174160cc61b86ef86a7a64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef NEOVIM_OS_EVENT_H
#define NEOVIM_OS_EVENT_H
#include <stdint.h>
#include <stdbool.h>
typedef enum {
kEventSignal
} EventType;
typedef struct {
EventType type;
void *data;
} Event;
void event_init(void);
bool event_poll(int32_t ms);
void event_push(Event *event);
#endif // NEOVIM_OS_EVENT_H
|