aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/event.h
blob: 5ddca46875521fe7c47c6ae31c7e2fb2d7c111db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef NEOVIM_OS_EVENT_H
#define NEOVIM_OS_EVENT_H

#include <stdint.h>
#include <stdbool.h>

#include "os/event_defs.h"
#include "os/job_defs.h"

void event_init(void);
void event_teardown(void);
bool event_poll(int32_t ms);
bool event_is_pending(void);
void event_push(Event event);
void event_process(void);

#endif  // NEOVIM_OS_EVENT_H