commit | 910b8aac5dc4693c4508b7acd2cef0bbfac04242 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 16 21:03:07 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 16 21:03:07 2016 +0100 |
tree | cb88e93372558043a8a0050d6ff5fa6704e74f02 | |
parent | 7d63f624603ebeae336d4c504f82ab3da3481f46 [diff] [blame] |
patch 7.4.1341 Problem: It's difficult to add more arguments to ch_sendraw() and ch_sendexpr(). Solution: Make the third option a dictionary.
diff --git a/src/structs.h b/src/structs.h index eb72f90..802180b 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -1373,11 +1373,12 @@ }; /* - * Options for job commands. + * Options for job and channel commands. */ typedef struct { - ch_mode_T jo_mode; + ch_mode_T jo_mode; /* "mode" */ + char_u *jo_callback; /* "callback", not allocated! */ } jobopt_T;