edbee - Qt Editor Library
edbee
debug.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include "
edbee/util/logging.h
"
9
10
#if defined(QT_DEBUG) && !defined(__MINGW32__)
11
#include "
edbee/util/mem/debug_new.h
"
13
#define Q_ASSERT_GUI_THREAD Q_ASSERT( qApp->thread() == QThread::currentThread( ) )
14
#define Q_ASSERT_NOT_GUI_THREAD Q_ASSERT( qApp->thread() != QThread::currentThread( ) )
15
#else
16
#define Q_ASSERT_GUI_THREAD
17
#define Q_ASSERT_NOT_GUI_THREAD
18
#define pause_memleak_detection(value)
19
#endif
20
21
debug_new.h
logging.h
Generated on Tue Jun 13 2017 08:45:59 for edbee - Qt Editor Library by
1.8.13