Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
23
24#ifdef QT_NO_DEBUG
25# define NDEBUG 1
26#endif
27#undef assert
28#define assert Q_ASSERT
29
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
48
49#endif // QCBORCOMMON_P_H
Combined button and popup list for selecting options.
#define QT_WARNING_POP
#define QT_WARNING_DISABLE_GCC(text)
#define QT_WARNING_PUSH
#define QT_WARNING_DISABLE_CLANG(text)
@ Q_PRIMITIVE_TYPE
Definition qtypeinfo.h:157
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
Definition qtypeinfo.h:180