* 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

+2
View File
@@ -161,6 +161,8 @@ typedef struct ilist_head_s {
struct ilist_head_s *next; \
} it_t[1]; \
\
M_CHECK_COMPATIBLE_OPLIST(name, 1, type, oplist) \
\
static inline void M_C(name, _init)(list_t list) \
{ \
assert (list != NULL); \