Move STRINGIFY to macros.h, use in language.h
This commit is contained in:
parent
2ee599d873
commit
071c742b8a
|
@ -24,8 +24,8 @@
|
|||
#define MACROS_H
|
||||
|
||||
// Macros to make a string from a macro
|
||||
#define STRINGIFY_(n) #n
|
||||
#define STRINGIFY(n) STRINGIFY_(n)
|
||||
#define STRINGIFY_(M) #M
|
||||
#define STRINGIFY(M) STRINGIFY_(M)
|
||||
|
||||
// Macros for bit masks
|
||||
#define TEST(n,b) (((n)&_BV(b))!=0)
|
||||
|
|
Loading…
Reference in a new issue