Embedded Template Library 1.0
Loading...
Searching...
No Matches
macros.h File Reference

Go to the source code of this file.

Macros

#define ETL_CONCAT2(X, Y)   X##Y
 
#define ETL_CONCAT(X, Y)   ETL_CONCAT2(X, Y)
 
#define ETL_STRINGIFY_1(...)   #__VA_ARGS__
 
#define ETL_STRINGIFY(...)   ETL_STRINGIFY_1(__VA_ARGS__)
 
#define ETL_STRING(X)   ETL_CONCAT(, ETL_STRINGIFY(X))
 
#define ETL_WIDE_STRING(X)   ETL_CONCAT(L, ETL_STRINGIFY(X))
 
#define ETL_U8_STRING(X)   ETL_CONCAT(u8, ETL_STRINGIFY(X))
 
#define ETL_U16_STRING(X)   ETL_CONCAT(u, ETL_STRINGIFY(X))
 
#define ETL_U32_STRING(X)   ETL_CONCAT(U, ETL_STRINGIFY(X))