#include <execinfo.h>
#include <stdio.h>
Go to the source code of this file.
Defines |
| #define | ERROR_MSG(fmt, args...) do { fprintf(stderr,"%s:%d:",__FILE__,__LINE__); fprintf(stderr,fmt,## args); } while(0) |
| #define | DEBUG_MSG(fmt, args...) do { ; } while(0) |
| | Prints debug messages to standard error.
|
Define Documentation
| #define DEBUG_MSG |
( |
|
fmt, |
|
|
|
args... |
|
) |
| do { ; } while(0) |
Prints debug messages to standard error.
When compiled without the DEBUG flag messages compile out.
Definition at line 47 of file debug.h.
| #define ERROR_MSG |
( |
|
fmt, |
|
|
|
args... |
|
) |
| do { fprintf(stderr,"%s:%d:",__FILE__,__LINE__); fprintf(stderr,fmt,## args); } while(0) |