From 6e7757ad51dfe3b2de857ff8a8688718ff6115ac Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Wed, 25 Mar 2015 23:11:05 -0300 Subject: eval: Refactor vimscript job control API - Remove JobActivity autocmd and v:job_data variable - Simplify `jobstart` to receive: - An argument vector - An optional dictionary which may contain any of the current `jobstart` options plus `on_stdout`, `on_stderr` and `on_exit` callbacks. - Refactor and add more job tests - Update documentation --- src/nvim/msgpack_rpc/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/msgpack_rpc') diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index e8dab05ba0..b1f0798528 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -347,7 +347,7 @@ static void job_err(RStream *rstream, void *data, bool eof) } } -static void job_exit(Job *job, void *data) +static void job_exit(Job *job, int status, void *data) { decref(data); } -- cgit