ReactOS
0.4.16-dev-13-ge2fc578
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
11
#if defined(_WIN32) || defined(__CYGWIN__)
14
#ifdef LIBXML_STATIC
15
#define XMLPUBLIC
16
#elif defined(IN_LIBXML)
17
#define XMLPUBLIC __declspec(dllexport)
18
#else
19
#define XMLPUBLIC __declspec(dllimport)
20
#endif
21
22
#if defined(LIBXML_FASTCALL)
23
#define XMLCALL __fastcall
24
#else
25
#define XMLCALL __cdecl
26
#endif
27
#define XMLCDECL __cdecl
28
30
#else
/* not Windows */
31
37
#define XMLPUBLIC
38
44
#define XMLCALL
45
52
#define XMLCDECL
53
54
#endif
/* platform switch */
55
56
/*
57
* XMLPUBFUN:
58
*
59
* Macro which declares an exportable function
60
*/
61
#define XMLPUBFUN XMLPUBLIC
62
68
#define XMLPUBVAR XMLPUBLIC extern
69
70
/* Compatibility */
71
#if !defined(LIBXML_DLL_IMPORT)
72
#define LIBXML_DLL_IMPORT XMLPUBVAR
73
#endif
74
75
#endif
/* __XML_EXPORTS_H__ */
76
77
sdk
include
reactos
libs
libxml
xmlexports.h
Generated on Fri Sep 13 2024 06:12:08 for ReactOS by
1.9.6