Skip to content
Snippets Groups Projects
Commit c0a1de3c authored by Damien George's avatar Damien George
Browse files

py/misc.h: Rename _MP_STRINGIFY to not use leading underscore in ident.

Macro identifiers with a leading underscore are reserved.
parent 4268d0e1
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,8 @@ typedef unsigned int uint;
#endif
// Classical double-indirection stringification of preprocessor macro's value
#define _MP_STRINGIFY(x) #x
#define MP_STRINGIFY(x) _MP_STRINGIFY(x)
#define MP_STRINGIFY_HELPER(x) #x
#define MP_STRINGIFY(x) MP_STRINGIFY_HELPER(x)
// Static assertion macro
#define MP_STATIC_ASSERT(cond) ((void)sizeof(char[1 - 2 * !(cond)]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment