mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
refactor(syntax): don't use pointer indirected maps for no reason
This commit is contained in:
@@ -67,6 +67,11 @@
|
||||
xfree(map); \
|
||||
} \
|
||||
\
|
||||
void map_##T##_##U##_destroy(Map(T, U) *map) \
|
||||
{ \
|
||||
kh_dealloc(T##_##U##_map, &map->table); \
|
||||
} \
|
||||
\
|
||||
U map_##T##_##U##_get(Map(T, U) *map, T key) \
|
||||
{ \
|
||||
khiter_t k; \
|
||||
|
Reference in New Issue
Block a user