1 | // Copyright (C) 2021 The Qt Company Ltd. |
---|---|
2 | // Copyright (C) 2024 Intel Corporation. |
3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
4 | |
5 | #define QT_TESTLIB_BUILD_REMOVED_API |
6 | |
7 | #include "qtest.h" |
8 | |
9 | #if QT_TESTLIB_REMOVED_SINCE(6, 8) |
10 | |
11 | QT_BEGIN_NAMESPACE |
12 | |
13 | namespace QTest { |
14 | |
15 | Q_TESTLIB_EXPORT char *toString(const void *p) |
16 | { |
17 | const volatile void *ptr = p; |
18 | return toString(ptr); |
19 | } |
20 | |
21 | } // namespace QTest |
22 | |
23 | QT_END_NAMESPACE |
24 | |
25 | // #include "qotherheader.h" |
26 | // implement removed functions from qotherheader.h |
27 | // order sections alphabetically to reduce chances of merge conflicts |
28 | |
29 | #endif // QT_TESTLIB_REMOVED_SINCE(6, 8) |
30 |