Move STRINGIFY to macros.h, use in language.h

master
Scott Lahteine 9 years ago
parent 2ee599d873
commit 071c742b8a

@ -24,8 +24,8 @@
#define MACROS_H #define MACROS_H
// Macros to make a string from a macro // Macros to make a string from a macro
#define STRINGIFY_(n) #n #define STRINGIFY_(M) #M
#define STRINGIFY(n) STRINGIFY_(n) #define STRINGIFY(M) STRINGIFY_(M)
// Macros for bit masks // Macros for bit masks
#define TEST(n,b) (((n)&_BV(b))!=0) #define TEST(n,b) (((n)&_BV(b))!=0)

Loading…
Cancel
Save