Mercurial > vim
diff src/proto/dict.pro @ 13037:6e81a68d63a1 v8.0.1394
patch 8.0.1394: cannot intercept a yank command
commit https://github.com/vim/vim/commit/7e1652c63c96585b9e2235c195a3c322b1f11595
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 16 18:27:02 2017 +0100
patch 8.0.1394: cannot intercept a yank command
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes #2333)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Dec 2017 18:30:05 +0100 |
parents | 162bcd0debd7 |
children | 3c80092eb211 |
line wrap: on
line diff
--- 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, 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 : */