aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/event/process.h')
-rw-r--r--src/nvim/event/process.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/event/process.h b/src/nvim/event/process.h
index 5c84a7d1d0..45edc46b95 100644
--- a/src/nvim/event/process.h
+++ b/src/nvim/event/process.h
@@ -26,14 +26,16 @@ struct process {
process_exit_cb cb;
internal_process_cb internal_exit_cb, internal_close_cb;
bool closed, term_sent;
+ Queue *events;
};
-static inline Process process_init(ProcessType type, void *data)
+static inline Process process_init(Loop *loop, ProcessType type, void *data)
{
return (Process) {
.type = type,
.data = data,
- .loop = NULL,
+ .loop = loop,
+ .events = NULL,
.pid = 0,
.status = 0,
.refcount = 0,