Go to the documentation of this file.
19 #define SSHT_ERROR_GENERIC(comment) \
20 printf("ERROR: %s.\n", comment); \
21 printf("ERROR: %s <%s> %s %s %s %d.\n", \
22 "Occurred in function", \
24 "of file", __FILE__, \
25 "on line", __LINE__); \
28 #define SSHT_ERROR_MEM_ALLOC_CHECK(pointer) \
29 if(pointer == NULL) { \
30 SSHT_ERROR_GENERIC("Memory allocation failed") \