aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/map.c')
-rw-r--r--src/nvim/map.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/map.c b/src/nvim/map.c
index 31fe8a01ea..39ca7aaaee 100644
--- a/src/nvim/map.c
+++ b/src/nvim/map.c
@@ -87,6 +87,11 @@
} \
\
return rv; \
+ } \
+ \
+ void map_##T##_##U##_clear(Map(T, U) *map) \
+ { \
+ kh_clear(T##_##U##_map, map->table); \
}
static inline khint_t String_hash(String s)