aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg_info/GFModuleExport.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-10 14:12:46 +0000
committersaturneric <[email protected]>2024-07-10 14:12:46 +0000
commit200350782286b4882bbc6ab3995168e67c4a7ef6 (patch)
tree9b9b9b65f100effdb98ff154afdd2d1abb79bc0f /src/gpg_info/GFModuleExport.h
downloadmodules-200350782286b4882bbc6ab3995168e67c4a7ef6.tar.gz
modules-200350782286b4882bbc6ab3995168e67c4a7ef6.zip
feat: initialize and move in two modules
Diffstat (limited to 'src/gpg_info/GFModuleExport.h')
-rw-r--r--src/gpg_info/GFModuleExport.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/gpg_info/GFModuleExport.h b/src/gpg_info/GFModuleExport.h
new file mode 100644
index 0000000..a1fc105
--- /dev/null
+++ b/src/gpg_info/GFModuleExport.h
@@ -0,0 +1,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 mod_gpg_info_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 */