Android-cuttlefish cvd tool
cbor_export.h
Go to the documentation of this file.
1#ifndef CBOR_EXPORT_H
2#define CBOR_EXPORT_H
3
4#ifdef CBOR_STATIC_DEFINE
5# define CBOR_EXPORT
6# define CBOR_NO_EXPORT
7#else
8# ifndef CBOR_EXPORT
9# ifdef cbor_EXPORTS
10 /* We are building this library */
11# define CBOR_EXPORT
12# else
13 /* We are using this library */
14# define CBOR_EXPORT
15# endif
16# endif
17
18# ifndef CBOR_NO_EXPORT
19# define CBOR_NO_EXPORT
20# endif
21#endif
22
23#ifndef CBOR_DEPRECATED
24# define CBOR_DEPRECATED __attribute__ ((__deprecated__))
25#endif
26
27#ifndef CBOR_DEPRECATED_EXPORT
28# define CBOR_DEPRECATED_EXPORT CBOR_EXPORT CBOR_DEPRECATED
29#endif
30
31#ifndef CBOR_DEPRECATED_NO_EXPORT
32# define CBOR_DEPRECATED_NO_EXPORT CBOR_NO_EXPORT CBOR_DEPRECATED
33#endif
34
35/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
36#if 0 /* DEFINE_NO_DEPRECATED */
37# ifndef CBOR_NO_DEPRECATED
38# define CBOR_NO_DEPRECATED
39# endif
40#endif
41
42#endif /* CBOR_EXPORT_H */
43