Path: blob/master/libs/xml2/include/libxml/xmlexports.h
4394 views
/*1* Summary: macros for marking symbols as exportable/importable.2* Description: macros for marking symbols as exportable/importable.3*4* Copy: See Copyright for the status of this software.5*/67#ifndef __XML_EXPORTS_H__8#define __XML_EXPORTS_H__910/** DOC_DISABLE */11#if defined(_WIN32) || defined(__CYGWIN__)12#ifdef LIBXML_STATIC13#define XMLPUBLIC14#elif defined(IN_LIBXML)15#define XMLPUBLIC __declspec(dllexport)16#else17#define XMLPUBLIC __declspec(dllimport)18#endif19#else /* not Windows */20#define XMLPUBLIC21#endif /* platform switch */22/** DOC_ENABLE */2324/*25* XMLPUBFUN:26*27* Macro which declares an exportable function28*/29#define XMLPUBFUN XMLPUBLIC3031/**32* XMLPUBVAR:33*34* Macro which declares an exportable variable35*/36#define XMLPUBVAR XMLPUBLIC extern3738/** DOC_DISABLE */39/* Compatibility */40#define XMLCALL41#define XMLCDECL42#if !defined(LIBXML_DLL_IMPORT)43#define LIBXML_DLL_IMPORT XMLPUBVAR44#endif45/** DOC_ENABLE */4647#endif /* __XML_EXPORTS_H__ */484950