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

+4 -2
View File
@@ -31,8 +31,10 @@
which oplist is 'contOp', as static inline functions.
USAGE:
ALGO_DEF(algogName, containerOplist|type if oplist has been registered) */
#define ALGO_DEF(name, cont_oplist) \
ALGOI_DEF_P1(name, M_GLOBAL_OPLIST(cont_oplist))
#define ALGO_DEF(name, cont_oplist) \
M_BEGIN_PROTECTED_CODE \
ALGOI_DEF_P1(name, M_GLOBAL_OPLIST(cont_oplist)) \
M_END_PROTECTED_CODE
/* Map a function (or a macro) to all elements of a container.