Mercurial > vim
comparison src/structs.h @ 8094:18a3f0f05244 v7.4.1341
commit https://github.com/vim/vim/commit/910b8aac5dc4693c4508b7acd2cef0bbfac04242
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 16 21:03:07 2016 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 16 Feb 2016 21:15:05 +0100 |
parents | 3ea56a74077f |
children | 310dd635e8c9 |
comparison
equal
deleted
inserted
replaced
8093:4ffd0f8167f8 | 8094:18a3f0f05244 |
---|---|
1371 | 1371 |
1372 int ch_refcount; /* reference count */ | 1372 int ch_refcount; /* reference count */ |
1373 }; | 1373 }; |
1374 | 1374 |
1375 /* | 1375 /* |
1376 * Options for job commands. | 1376 * Options for job and channel commands. |
1377 */ | 1377 */ |
1378 typedef struct | 1378 typedef struct |
1379 { | 1379 { |
1380 ch_mode_T jo_mode; | 1380 ch_mode_T jo_mode; /* "mode" */ |
1381 char_u *jo_callback; /* "callback", not allocated! */ | |
1381 } jobopt_T; | 1382 } jobopt_T; |
1382 | 1383 |
1383 | 1384 |
1384 /* structure used for explicit stack while garbage collecting hash tables */ | 1385 /* structure used for explicit stack while garbage collecting hash tables */ |
1385 typedef struct ht_stack_S | 1386 typedef struct ht_stack_S |