#include <QtCore/QCoreApplication>
#include <QtGui/QWidget>
#include <synthclone/sampleinputstream.h>
#include <synthclone/sampleoutputstream.h>
Go to the source code of this file.
|
#define | CONFIRM(condition, message) |
| Confirms that a given condition is true, regardless of whether or not NDEBUG is set. More...
|
|
◆ CONFIRM
#define CONFIRM |
( |
|
condition, |
|
|
|
message |
|
) |
| |
Value:if (! (condition)) { \
synthclone::_die(__FILE__, Q_FUNC_INFO, __LINE__, message); \
}
Confirms that a given condition is true, regardless of whether or not NDEBUG is set.
If the condition does not evaluate to true, then an error message is printed that includes the file, line, and function where the error occurred, along with an error message. The program is then terminated using abort().
- Parameters
-
condition | The condition to evaluate. |
message | An error message that describes the potential problem. |