Updated EV_STRINGIZE

Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
2021-12-19 22:17:08 +02:00
parent 38d9541367
commit cca02595c4

View File

@@ -57,8 +57,8 @@
/*! /*!
* \brief Macro to wrap tokens in double quotations. (") * \brief Macro to wrap tokens in double quotations. (")
*/ */
#define EV_STRINGIZE(a) EV_STRINGIZE_IMPL(a) #define EV_STRINGIZE(...) EV_STRINGIZE_IMPL(__VA_ARGS__)
#define EV_STRINGIZE_IMPL(a) #a #define EV_STRINGIZE_IMPL(...) #__VA_ARGS__
// Used for the removal of parenthesis around tokens // Used for the removal of parenthesis around tokens
#define EV_EXPAND(...) __VA_ARGS__ #define EV_EXPAND(...) __VA_ARGS__