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
5#ifndef QCBORCOMMON_P_H
6#define QCBORCOMMON_P_H
7
8#include "qcborcommon.h"
9#include "private/qglobal_p.h"
10
11//
12// W A R N I N G
13// -------------
14//
15// This file is not part of the Qt API. It exists purely as an
16// implementation detail. This header file may change from version to
17// version without notice, or even be removed.
18//
19// We mean it.
20//
21
22QT_BEGIN_NAMESPACE
23
24#ifdef QT_NO_DEBUG
25# define NDEBUG 1
26#endif
27#undef assert
28#define assert Q_ASSERT
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_GCC("-Wunused-function")
32QT_WARNING_DISABLE_CLANG("-Wunused-function")
33QT_WARNING_DISABLE_CLANG("-Wundefined-internal")
34
35#define CBOR_NO_VALIDATION_API 1
36#define CBOR_NO_PRETTY_API 1
37#define CBOR_API static inline
38#define CBOR_PRIVATE_API static inline
39#define CBOR_INLINE_API static inline
40
41#include <cbor.h>
42
44
46
47QT_END_NAMESPACE
48
49#endif // QCBORCOMMON_P_H
Combined button and popup list for selecting options.
QDataStream & operator>>(QDataStream &ds, QCborSimpleType &st)
QCborSimpleType
Definition qcborcommon.h:24
Q_DECLARE_TYPEINFO(QObjectPrivate::ConnectionList, Q_RELOCATABLE_TYPE)