|
|
| version 1.13.2.4, 2011/12/14 12:22:05 | version 1.13.2.5, 2011/12/14 15:00:24 |
|---|---|
| Line 790 inline int io_rwrite(int fd, void * __restrict buf, si | Line 790 inline int io_rwrite(int fd, void * __restrict buf, si |
| /* Debug helper macros */ | /* Debug helper macros */ |
| extern int io_Debug; | extern int io_Debug; |
| #define io_enableDEBUG int io_Debug | |
| #define io_initDebug(x) (io_Debug = (x)) | #define io_initDebug(x) (io_Debug = (x)) |
| #define io_incDebug (io_Debug++) | #define io_incDebug (io_Debug++) |
| #define io_decDebug (io_Debug--) | #define io_decDebug (io_Debug--) |
| /* Debug macros */ | /* Debug macros */ |
| #define ioVERBOSE(x) if ((x) <= io_Debug) | |
| #define ioTRACE(x) if ((x) <= io_Debug) \ | #define ioTRACE(x) if ((x) <= io_Debug) \ |
| syslog(LOG_DEBUG, "I'm in %s(%d)", __func__, __LINE__) | syslog(LOG_DEBUG, "I'm in %s(%d)", __func__, __LINE__) |
| #define ioDEBUG(x, fmt, ...) do { \ | #define ioDEBUG(x, fmt, ...) do { \ |