cpfsyslog/src/helpers.h

12 lines
290 B
C
Raw Normal View History

/*Convert a defined token to a string*/
2018-05-10 21:54:45 -07:00
#define _STR(x) #x
/*Usable wrapper for above
Note: #x does not work in context, 2nd layer is required ??
http://www.decompile.com/cpp/faq/file_and_line_error_string.htm*/
2018-05-10 21:54:45 -07:00
#define STR(x) _STR(x)
2018-07-14 19:23:50 -07:00
void panic(const char* s);
2018-07-19 21:09:51 -07:00
void die(const char* s);