 |
BitPunch McEliece
v0.0.4
|
Go to the documentation of this file.
34 #define BPU_PRINT_U_64 PRIu64
36 #define BPU_PRINT_U_64 "I64u"
39 #if defined(DEBUG_L) || defined(WARNING_L) || defined(ERROR_L)
44 #define BPU_printError(fmt, ...) fprintf(stderr, "ERROR::%s::%s::%d: "fmt"\n", __FILE__, __func__, __LINE__, ##__VA_ARGS__); if (errno) {perror("ERROR MSG:"); errno = 0;}
46 #define BPU_printError(fmt, ...)
50 #if defined(DEBUG_L) || defined(WARNING_L)
51 #define BPU_printWarning(fmt, ...) fprintf(stderr, "WARNING::%s::%s::%d: "fmt"\n", __FILE__, __func__, __LINE__, ##__VA_ARGS__); if (errno) {perror("ERROR MSG:"); errno = 0;}
54 #define BPU_printWarning(fmt, ...)
59 #define BPU_printDebug(fmt, ...) fprintf(stderr, "DEBUG::%s::%s::%d: "fmt"\n", __FILE__, __func__, __LINE__, ##__VA_ARGS__)
62 #define BPU_printDebug(fmt, ...)