summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-12-08 03:37:24 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-12-08 04:22:11 +0100
commita6debffd7faa85e1a64885ffc662b50477be6fe3 (patch)
tree7ffb74c4cf7a132e47e2e0a637e9fb74057f2e38 /include
parent3b6cc47ab9044c13b8c4adf420a0743e074a1751 (diff)
downloadlibxml2-a6debffd7faa85e1a64885ffc662b50477be6fe3.tar.gz
xmlexports.h: Disable docs for internal macro XMLPUBLIC
Diffstat (limited to 'include')
-rw-r--r--include/libxml/xmlexports.h29
1 files changed, 10 insertions, 19 deletions
diff --git a/include/libxml/xmlexports.h b/include/libxml/xmlexports.h
index e2660153..3b063e7d 100644
--- a/include/libxml/xmlexports.h
+++ b/include/libxml/xmlexports.h
@@ -8,28 +8,19 @@
#ifndef __XML_EXPORTS_H__
#define __XML_EXPORTS_H__
-#if defined(_WIN32) || defined(__CYGWIN__)
/** DOC_DISABLE */
-
-#ifdef LIBXML_STATIC
- #define XMLPUBLIC
-#elif defined(IN_LIBXML)
- #define XMLPUBLIC __declspec(dllexport)
-#else
- #define XMLPUBLIC __declspec(dllimport)
-#endif
-
-/** DOC_ENABLE */
+#if defined(_WIN32) || defined(__CYGWIN__)
+ #ifdef LIBXML_STATIC
+ #define XMLPUBLIC
+ #elif defined(IN_LIBXML)
+ #define XMLPUBLIC __declspec(dllexport)
+ #else
+ #define XMLPUBLIC __declspec(dllimport)
+ #endif
#else /* not Windows */
-
-/**
- * XMLPUBLIC:
- *
- * Macro which declares a public symbol
- */
-#define XMLPUBLIC
-
+ #define XMLPUBLIC
#endif /* platform switch */
+/** DOC_ENABLE */
/*
* XMLPUBFUN: