diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-17 08:46:30 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-12-17 08:58:50 +0800 |
commit | d302c0e35ed2173fd912b1d942d93b98310dec8f (patch) | |
tree | 85389428264cb9555f1be78b44ab2dd90bd4bbcf | |
parent | 4d860a537076d7eddfb29372ecbdacf1eb5b7d3b (diff) | |
download | rneovim-d302c0e35ed2173fd912b1d942d93b98310dec8f.tar.gz rneovim-d302c0e35ed2173fd912b1d942d93b98310dec8f.tar.bz2 rneovim-d302c0e35ed2173fd912b1d942d93b98310dec8f.zip |
vim-patch:8.2.1208: build failure
Problem: Build failure.
Solution: Add missing change.
https://github.com/vim/vim/commit/49fe0d6b289ee640cf5c49b1704bbbd641a0237d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | src/nvim/hashtab.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/nvim/hashtab.h b/src/nvim/hashtab.h index 28a3b69d44..0a50fb2ef8 100644 --- a/src/nvim/hashtab.h +++ b/src/nvim/hashtab.h @@ -61,14 +61,15 @@ typedef struct hashitem_S { /// /// The hashtable grows to accommodate more entries when needed. typedef struct hashtable_S { - hash_T ht_mask; /// mask used for hash value - /// (nr of items in array is "ht_mask" + 1) - size_t ht_used; /// number of items used - size_t ht_filled; /// number of items used or removed - int ht_locked; /// counter for hash_lock() - hashitem_T *ht_array; /// points to the array, allocated when it's - /// not "ht_smallarray" - hashitem_T ht_smallarray[HT_INIT_SIZE]; /// initial array + hash_T ht_mask; ///< mask used for hash value + ///< (nr of items in array is "ht_mask" + 1) + size_t ht_used; ///< number of items used + size_t ht_filled; ///< number of items used or removed + int ht_changed; ///< incremented when adding or removing an item + int ht_locked; ///< counter for hash_lock() + hashitem_T *ht_array; ///< points to the array, allocated when it's + ///< not "ht_smallarray" + hashitem_T ht_smallarray[HT_INIT_SIZE]; ///< initial array } hashtab_T; /// Iterate over a hashtab |