Workaround to avoid CLANG unused function warnings

This commit is contained in:
Patrick Pelissier committed 2020-07-09 22:14:00 +02:00
1 parent 7607645636
commit 8a36b5ff15
20 files changed
+130 -50

No files matched your search

+3 -1
View File
@@ -30,11 +30,13 @@
/* Define a Red/Black binary tree of a given type.
USAGE: RBTREE_DEF(name, type [, oplist_of_the_type]) */
#define RBTREE_DEF(name, ...) \
M_BEGIN_PROTECTED_CODE \
RBTREEI_DEF_P1(M_IF_NARGS_EQ1(__VA_ARGS__) \
((name, __VA_ARGS__, M_GLOBAL_OPLIST_OR_DEF(__VA_ARGS__)(), \
M_C(name, _t), M_C(name, _node_t), M_C(name, _it_t)), \
(name, __VA_ARGS__ , \
M_C(name, _t), M_C(name, _node_t), M_C(name, _it_t))))
M_C(name, _t), M_C(name, _node_t), M_C(name, _it_t)))) \
M_END_PROTECTED_CODE
/* Define the oplist of a rbtree of type.