blob: 73bbeb68b64879055debd2f33751523b27886e06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QTPREPROCESSORSUPPORT_H
#define QTPREPROCESSORSUPPORT_H
#if 0
#pragma qt_class(QtPreprocessorSupport)
#pragma qt_sync_stop_processing
#endif
/* These two macros makes it possible to turn the builtin line expander into a
* string literal. */
#define QT_STRINGIFY2(x) #x
#define QT_STRINGIFY(x) QT_STRINGIFY2(x)
/*
Avoid "unused parameter" warnings
*/
#define Q_UNUSED(x) (void)x;
#if !defined(Q_UNIMPLEMENTED)
# define Q_UNIMPLEMENTED() qWarning("Unimplemented code.")
#endif
#endif // QTPREPROCESSORSUPPORT_H
|