aboutsummaryrefslogtreecommitdiff
path: root/src/os/event.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-04-07 14:21:42 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-07 15:03:05 -0300
commit4b063ea3adae8b47a16e229bcac53f5d86ad419d (patch)
treec4d5a55963d064bfb9e6b7bf4dd6b6d6fdd89e4b /src/os/event.h
parent39932212d8805c018a643734a7b66aedd304c45d (diff)
downloadrneovim-4b063ea3adae8b47a16e229bcac53f5d86ad419d.tar.gz
rneovim-4b063ea3adae8b47a16e229bcac53f5d86ad419d.tar.bz2
rneovim-4b063ea3adae8b47a16e229bcac53f5d86ad419d.zip
Implement job control
- Add a job control module for spawning and controlling co-processes - Add three vimscript functions for interfacing with the module - Use dedicated header files for typedefs/structs in event/job modules
Diffstat (limited to 'src/os/event.h')
-rw-r--r--src/os/event.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/os/event.h b/src/os/event.h
index ba84d8ffae..7aee717213 100644
--- a/src/os/event.h
+++ b/src/os/event.h
@@ -4,16 +4,8 @@
#include <stdint.h>
#include <stdbool.h>
-typedef enum {
- kEventSignal
-} EventType;
-
-typedef struct {
- EventType type;
- union {
- int signum;
- } data;
-} Event;
+#include "os/event_defs.h"
+#include "os/job_defs.h"
void event_init(void);
bool event_poll(int32_t ms);