diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-12-16 18:27:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-12-16 18:27:02 +0100 |
commit | 7e1652c63c96585b9e2235c195a3c322b1f11595 (patch) | |
tree | ed90a314ef58909b1c9dfbd45422f1a3557de278 /src/proto/dict.pro | |
parent | 6621605eb97cf5fbc481282fd4d349a76e168f16 (diff) |
patch 8.0.1394: cannot intercept a yank commandv8.0.1394
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes #2333)
Diffstat (limited to 'src/proto/dict.pro')
-rw-r--r-- | src/proto/dict.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proto/dict.pro b/src/proto/dict.pro index 2a7626338e..9db43b944b 100644 --- a/src/proto/dict.pro +++ b/src/proto/dict.pro @@ -1,7 +1,9 @@ /* dict.c */ dict_T *dict_alloc(void); +dict_T *dict_alloc_lock(int lock); int rettv_dict_alloc(typval_T *rettv); void rettv_dict_set(typval_T *rettv, dict_T *d); +void dict_free_contents(dict_T *d); void dict_unref(dict_T *d); int dict_free_nonref(int copyID); void dict_free_items(int copyID); @@ -23,4 +25,5 @@ void dict_extend(dict_T *d1, dict_T *d2, char_u *action); dictitem_T *dict_lookup(hashitem_T *hi); int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive); void dict_list(typval_T *argvars, typval_T *rettv, int what); +void dict_set_items_ro(dict_T *di); /* vim: set ft=c : */ |