swps3
|
Routines for error reporting. More...
Go to the source code of this file.
Macros | |
#define | debug(...) |
Functions | |
void | error (const char *str,...) |
printf -like function for critical error reporting. | |
void | warning (const char *str,...) |
printf -like function for noncritical error reporting. | |
Routines for error reporting.
Definition in file debug.h.
#define debug | ( | ... | ) |
Definition at line 39 of file debug.h.
Referenced by swps3_alignmentByteSSE(), swps3_alignmentByteSSE_lin(), and swps3_createProfileByteSSE().
void error | ( | const char * | str, |
... | |||
) |
printf
-like function for critical error reporting.
Reports a message to stderr
and terminates the program.
str | A format string. |
Definition at line 40 of file debug.c.
Referenced by swps3_alignmentByteSPE(), swps3_alignmentFloatSPE(), swps3_alignmentShortSPE(), swps3_loadProfileByte(), swps3_loadProfileFloat(), swps3_loadProfileShort(), swps3_openLib(), swps3_readDMatrix(), swps3_readNextSequence(), swps3_readSBMatrix(), and swps3_translateSequence().
void warning | ( | const char * | str, |
... | |||
) |
printf
-like function for noncritical error reporting.
Reports a message to stderr
without terminating the program.
str | A format string. |
Definition at line 56 of file debug.c.
Referenced by swps3_alignmentByteSPE(), swps3_alignmentFloatSPE(), swps3_alignmentShortSPE(), and swps3_readNextSequence().