diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-01 21:32:16 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-02 21:11:19 +0900 |
commit | 62949e0a61c1340c38a696a7652fde623c36b0ae (patch) | |
tree | 9a6ef1b5a2cb7910f984368933eda680133fef95 /tdecore/kdemacros.h.in | |
parent | bef9baf7ee87538c596dd04c8d379b1814bb94e8 (diff) | |
download | tdelibs-62949e0a61c1340c38a696a7652fde623c36b0ae.tar.gz tdelibs-62949e0a61c1340c38a696a7652fde623c36b0ae.zip |
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bba3128085abe1a32cca43d9fb8ac02c2a29bf6b)
Diffstat (limited to 'tdecore/kdemacros.h.in')
-rw-r--r-- | tdecore/kdemacros.h.in | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tdecore/kdemacros.h.in b/tdecore/kdemacros.h.in index d72efe36c..aa17c976c 100644 --- a/tdecore/kdemacros.h.in +++ b/tdecore/kdemacros.h.in @@ -24,7 +24,7 @@ #undef __KDE_HAVE_GCC_VISIBILITY /** - * The KDE_NO_EXPORT macro marks the symbol of the given variable + * The TDE_NO_EXPORT macro marks the symbol of the given variable * to be hidden. A hidden symbol is stripped during the linking step, * so it can't be used from outside the resulting library, which is similar * to static. However, static limits the visibility to the current @@ -32,20 +32,20 @@ * units. * * \code - * int KDE_NO_EXPORT foo; - * int KDE_EXPORT bar; + * int TDE_NO_EXPORT foo; + * int TDE_EXPORT bar; * \end */ #ifdef __KDE_HAVE_GCC_VISIBILITY -#define KDE_NO_EXPORT __attribute__ ((visibility("hidden"))) -#define KDE_EXPORT __attribute__ ((visibility("default"))) +#define TDE_NO_EXPORT __attribute__ ((visibility("hidden"))) +#define TDE_EXPORT __attribute__ ((visibility("default"))) #elif defined(TQ_WS_WIN) -#define KDE_NO_EXPORT -#define KDE_EXPORT __declspec(dllexport) +#define TDE_NO_EXPORT +#define TDE_EXPORT __declspec(dllexport) #else -#define KDE_NO_EXPORT -#define KDE_EXPORT +#define TDE_NO_EXPORT +#define TDE_EXPORT #endif /** @@ -53,8 +53,8 @@ * cope with symbol visibility. */ #define KDE_Q_EXPORT_PLUGIN(PLUGIN) \ - TQ_EXTERN_C KDE_EXPORT const char* qt_ucm_query_verification_data(); \ - TQ_EXTERN_C KDE_EXPORT TQUnknownInterface* ucm_instantiate(); \ + TQ_EXTERN_C TDE_EXPORT const char* qt_ucm_query_verification_data(); \ + TQ_EXTERN_C TDE_EXPORT TQUnknownInterface* ucm_instantiate(); \ TQ_EXPORT_PLUGIN(PLUGIN) /** |