GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontendCoreExport.h
1
2#ifndef GPGFRONTEND_CORE_EXPORT_H
3#define GPGFRONTEND_CORE_EXPORT_H
4
5#ifdef GPGFRONTEND_CORE_STATIC_DEFINE
6# define GPGFRONTEND_CORE_EXPORT
7# define GPGFRONTEND_CORE_NO_EXPORT
8#else
9# ifndef GPGFRONTEND_CORE_EXPORT
10# ifdef gpgfrontend_core_EXPORTS
11 /* We are building this library */
12# define GPGFRONTEND_CORE_EXPORT __attribute__((visibility("default")))
13# else
14 /* We are using this library */
15# define GPGFRONTEND_CORE_EXPORT __attribute__((visibility("default")))
16# endif
17# endif
18
19# ifndef GPGFRONTEND_CORE_NO_EXPORT
20# define GPGFRONTEND_CORE_NO_EXPORT __attribute__((visibility("hidden")))
21# endif
22#endif
23
24#ifndef GPGFRONTEND_CORE_DEPRECATED
25# define GPGFRONTEND_CORE_DEPRECATED __attribute__ ((__deprecated__))
26#endif
27
28#ifndef GPGFRONTEND_CORE_DEPRECATED_EXPORT
29# define GPGFRONTEND_CORE_DEPRECATED_EXPORT GPGFRONTEND_CORE_EXPORT GPGFRONTEND_CORE_DEPRECATED
30#endif
31
32#ifndef GPGFRONTEND_CORE_DEPRECATED_NO_EXPORT
33# define GPGFRONTEND_CORE_DEPRECATED_NO_EXPORT GPGFRONTEND_CORE_NO_EXPORT GPGFRONTEND_CORE_DEPRECATED
34#endif
35
36#if 0 /* DEFINE_NO_DEPRECATED */
37# ifndef GPGFRONTEND_CORE_NO_DEPRECATED
38# define GPGFRONTEND_CORE_NO_DEPRECATED
39# endif
40#endif
41
42#endif /* GPGFRONTEND_CORE_EXPORT_H */