diff options
author | saturneric <[email protected]> | 2024-04-16 08:42:25 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-04-16 08:42:25 +0000 |
commit | 903985a4387cb108b64fe50d400fa7ad0bb32979 (patch) | |
tree | 9e4d486651bdbe8d186e826c51ec40616ca9056d /src/module/mods/gpg_info/GFModuleExport.h | |
parent | fix: high cpu usage when using file tab (diff) | |
download | GpgFrontend-903985a4387cb108b64fe50d400fa7ad0bb32979.tar.gz GpgFrontend-903985a4387cb108b64fe50d400fa7ad0bb32979.zip |
fix: improve grt tab, mods name and its project structure
Diffstat (limited to 'src/module/mods/gpg_info/GFModuleExport.h')
-rw-r--r-- | src/module/mods/gpg_info/GFModuleExport.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/module/mods/gpg_info/GFModuleExport.h b/src/module/mods/gpg_info/GFModuleExport.h new file mode 100644 index 00000000..a1fc1053 --- /dev/null +++ b/src/module/mods/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 */ |