ReactOS 0.4.16-dev-2208-g6350669
xmlexports.h
Go to the documentation of this file.
1/*
2 * Summary: macros for marking symbols as exportable/importable.
3 * Description: macros for marking symbols as exportable/importable.
4 *
5 * Copy: See Copyright for the status of this software.
6 */
7
8#ifndef __XML_EXPORTS_H__
9#define __XML_EXPORTS_H__
10
12#if defined(_WIN32) || defined(__CYGWIN__)
13 #ifdef LIBXML_STATIC
14 #define XMLPUBLIC
15 #elif defined(IN_LIBXML)
16 #define XMLPUBLIC __declspec(dllexport)
17 #else
18 #define XMLPUBLIC __declspec(dllimport)
19 #endif
20#else /* not Windows */
21 #define XMLPUBLIC
22#endif /* platform switch */
25/*
26 * XMLPUBFUN:
27 *
28 * Macro which declares an exportable function
29 */
30#define XMLPUBFUN XMLPUBLIC
31
37#define XMLPUBVAR XMLPUBLIC extern
38
40/* Compatibility */
41#define XMLCALL
42#define XMLCDECL
43#if !defined(LIBXML_DLL_IMPORT)
44#define LIBXML_DLL_IMPORT XMLPUBVAR
45#endif
48#endif /* __XML_EXPORTS_H__ */