Debian Codegraph @

crt/aws-c-common/source/external/libcbor/cbor/configuration.h

raw symbols SCIP
1 /**
2 * DO NOT DIRECTLY MODIFY THIS FILE:
3 *
4 * The code in this file is generated from scripts/import_libcbor.py
5 * and any modifications should be in there.
6 */
7
8 #ifndef LIBCBOR_CONFIGURATION_H
9 #define LIBCBOR_CONFIGURATION_H
10
11 #define CBOR_MAJOR_VERSION 0
12 #define CBOR_MINOR_VERSION 13
13 #define CBOR_PATCH_VERSION 0
14
15 #define CBOR_BUFFER_GROWTH 2
16 #define CBOR_MAX_STACK_SIZE 2048
17 #define CBOR_PRETTY_PRINTER 1
18
19 #if defined(_MSC_VER)
20 # define CBOR_RESTRICT_SPECIFIER
21 #else
22 # define CBOR_RESTRICT_SPECIFIER restrict
23 #endif
24
25 #define CBOR_INLINE_SPECIFIER
26
27 /* Ignore the compiler warnings for libcbor. */
28 #ifdef _MSC_VER
29 # pragma warning(disable : 4028)
30 # pragma warning(disable : 4189)
31 # pragma warning(disable : 4715)
32 # pragma warning(disable : 4232)
33 # pragma warning(disable : 4068)
34 # pragma warning(disable : 4244)
35 # pragma warning(disable : 4701)
36 # pragma warning(disable : 4703)
37 #endif
38
39 #ifdef __clang__
40 # pragma clang diagnostic ignored "-Wreturn-type"
41 #elif defined(__GNUC__)
42 # pragma GCC diagnostic ignored "-Wreturn-type"
43 # pragma GCC diagnostic ignored "-Wunknown-pragmas"
44 # pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
45 #endif
46
47 #endif // LIBCBOR_CONFIGURATION_H