* Add control than the type and the oplist are compatible

This commit is contained in:
Patrick Pelissier committed 2020-05-17 10:27:30 +02:00
1 parent 9c58e73c37
commit d1ae26f0fd
13 files changed
+38

No files matched your search

+3
View File
@@ -318,6 +318,9 @@
int idx; \
} it_t[1]; \
\
M_CHECK_COMPATIBLE_OPLIST(name, 1, key_t, key_oplist) \
M_CHECK_COMPATIBLE_OPLIST(name, 2, value_t, value_oplist) \
\
/* TODO: Can be optimized to alloc for leaf or for node */ \
static inline node_t M_C(name, _new_node)(void) \
{ \