mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.1208: build failure
Problem: Build failure.
Solution: Add missing change.
49fe0d6b28
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
4d860a5370
commit
d302c0e35e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user