|
|
@ -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)
|
|
|
|