mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
move Q_VOID definition to qcorecommon_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
bca66eb32c
commit
763d398445
4 changed files with 3 additions and 5 deletions
|
@ -64,8 +64,6 @@ inline void debugBinaryString(const char *data, qint64 maxlen)
|
|||
}
|
||||
#endif
|
||||
|
||||
#define Q_VOID
|
||||
|
||||
#define CHECK_MAXLEN(function, returnType) \
|
||||
do { \
|
||||
if (Q_UNLIKELY(maxSize < 0)) { \
|
||||
|
|
|
@ -216,7 +216,6 @@
|
|||
#endif
|
||||
|
||||
// A precondition macro
|
||||
#define Q_VOID
|
||||
#define CHECK_VALID_STREAM(x) do { \
|
||||
if (!d->string && !d->device) { \
|
||||
qWarning("QTextStream: No device"); \
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#define Q_VOID
|
||||
|
||||
#define QBYTEARRAY_MAX INT_MAX
|
||||
|
||||
// enough space to hold BOM, each char as surrogate pair and terminator
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
#include "qnativesocketengine_p.h"
|
||||
#include "qthread_p.h"
|
||||
#include "qobject_p.h"
|
||||
#include "qcorecommon_p.h"
|
||||
|
||||
#if !defined(QT_NO_NETWORKPROXY)
|
||||
# include "qnetworkproxy.h"
|
||||
|
@ -94,8 +95,6 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
//#define QNATIVESOCKETENGINE_DEBUG
|
||||
|
||||
#define Q_VOID
|
||||
|
||||
// Common checks
|
||||
#define Q_CHECK_VALID_SOCKETLAYER(function, returnValue) do { \
|
||||
if (!isValid()) { \
|
||||
|
|
Loading…
Add table
Reference in a new issue