Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcborcommon_p.h
Go to the documentation of this file.
1// Copyright (C) 2018 Intel Corporation.
2// Copyright (C) 2019 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4// Qt-Security score:critical reason:data-parser
5
6#ifndef QCBORCOMMON_P_H
7#define QCBORCOMMON_P_H
8
9#include "qcborcommon.h"
10#include "private/qglobal_p.h"
11
12//
13// W A R N I N G
14// -------------
15//
16// This file is not part of the Qt API. It exists purely as an
17// implementation detail. This header file may change from version to
18// version without notice, or even be removed.
19//
20// We mean it.
21//
22
23QT_BEGIN_NAMESPACE
24
25#ifdef QT_NO_DEBUG
26# define NDEBUG 1
27#endif
28#undef assert
29#define assert Q_ASSERT
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_GCC("-Wunused-function")
33QT_WARNING_DISABLE_CLANG("-Wunused-function")
34QT_WARNING_DISABLE_CLANG("-Wundefined-internal")
35
36#define CBOR_NO_HALF_FLOAT_TYPE 1
37#define CBOR_NO_VALIDATION_API 1
38#define CBOR_NO_PRETTY_API 1
39#define CBOR_API static inline
40#define CBOR_PRIVATE_API static inline
41#define CBOR_INLINE_API static inline
42
43#include <cbor.h>
44
46
48
49QT_END_NAMESPACE
50
51#endif // QCBORCOMMON_P_H
Combined button and popup list for selecting options.
QDataStream & operator>>(QDataStream &ds, QCborSimpleType &st)
QCborSimpleType
Definition qcborcommon.h:29
Q_DECLARE_TYPEINFO(QObjectPrivate::ConnectionList, Q_RELOCATABLE_TYPE)