blob: 2a669cc99ef2ef08cb8c060c32ffc3e565ed4776 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef GF_MODULE_EXPORT_H
#define GF_MODULE_EXPORT_H
#ifdef GF_MODULE_STATIC_DEFINE
# define GF_MODULE_EXPORT
# define GF_MODULE_NO_EXPORT
#else
# ifndef GF_MODULE_EXPORT
# ifdef GF_MODULE_EXPORTS
/* We are building this library */
# define GF_MODULE_EXPORT __attribute__((visibility("default")))
# else
/* We are using this library */
# define GF_MODULE_EXPORT __attribute__((visibility("default")))
# endif
# endif
# ifndef GF_MODULE_NO_EXPORT
# define GF_MODULE_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif
#ifndef GF_MODULE_DEPRECATED
# define GF_MODULE_DEPRECATED __attribute__ ((__deprecated__))
#endif
#ifndef GF_MODULE_DEPRECATED_EXPORT
# define GF_MODULE_DEPRECATED_EXPORT GF_MODULE_EXPORT GF_MODULE_DEPRECATED
#endif
#ifndef GF_MODULE_DEPRECATED_NO_EXPORT
# define GF_MODULE_DEPRECATED_NO_EXPORT GF_MODULE_NO_EXPORT GF_MODULE_DEPRECATED
#endif
#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef GF_MODULE_NO_DEPRECATED
# define GF_MODULE_NO_DEPRECATED
# endif
#endif
#endif /* GF_MODULE_EXPORT_H */
|