refactor(syntax): don't use pointer indirected maps for no reason

This commit is contained in:
Björn Linse
2021-08-22 10:10:15 +02:00
parent 9e651a9d09
commit 4500253f60
5 changed files with 41 additions and 43 deletions

View File

@@ -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; \