This file contains the definition of the debug macros;.
More...
#include <QtGlobal>
#include "kvi_sysconfig.h"
#include <stdlib.h>
Go to the source code of this file.
This file contains the definition of the debug macros;.
- Author
- Szymon Stefanek
◆ KVI_ASSERT
#define KVI_ASSERT |
( |
|
condition | ) |
|
Value:
GNUC
COMPILE_DEBUG_MODE
◆ KVI_ASSERT_MSG
#define KVI_ASSERT_MSG |
( |
|
condition, |
|
|
|
message |
|
) |
| |
◆ kvi_debug
#define kvi_debug |
( |
|
fmt, |
|
|
|
... |
|
) |
| qDebug(fmt, __VA_ARGS__) |
◆ kvi_fatal
#define kvi_fatal |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value: do \
{ \
qFatal(fmt, __VA_ARGS__); \
abort(); \
} while(0)
◆ KVI_PRETTY_FUNCTION
#define KVI_PRETTY_FUNCTION __FUNCTION__ |
◆ KVI_TRACE
#define KVI_TRACE |
( |
|
_szFmt, |
|
|
|
... |
|
) |
| |
◆ KVI_TRACE_BLOCK
#define KVI_TRACE_BLOCK |
( |
|
_szBlockDescription | ) |
|
◆ KVI_TRACE_FUNCTION
#define KVI_TRACE_FUNCTION |
◆ kvi_warning
#define kvi_warning |
( |
|
fmt, |
|
|
|
... |
|
) |
| qWarning(fmt, __VA_ARGS__) |