I have a macro like
LOG_I(_module, _message, ...)
I need to create a wrapper to this macro
#define WRAPPER_LOG(_module, _message, ...) LOG_I(_module, _message, ...)
How can I achieve this ?
I have a macro like
LOG_I(_module, _message, ...)
I need to create a wrapper to this macro
#define WRAPPER_LOG(_module, _message, ...) LOG_I(_module, _message, ...)
How can I achieve this ?
It would work if you did
#define WRAPPER_LOG(_module, _message, ...) LOG_I(_module, _message, __VA_ARGS__)
but whether it is what you really need, is another matter.