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

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

#include "nvim/os/event_defs.h"
#include "nvim/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  // NVIM_OS_EVENT_H