A bit of quiver work
[clav.git] / macros.h
blob9e619e1b4c2efcac00c608784f72d0cc1ac7bedc
1 #define UNUSED(x) (void) (sizeof(x))
3 #define STR2(x) #x
4 #define STR(x) STR2(x)
6 #define L(x) __FILE__ ":" STR(__LINE__) ": " x
8 #define UBSAFES(s) ((s) ? (s) : "[None]")
10 #define IF_NZ_SET(s, v) if(s) { *(s) = (v); }