Path: blob/master/venv/Lib/site-packages/lxml/includes/libexslt/exsltexports.h
811 views
/*1* exsltexports.h : macros for marking symbols as exportable/importable.2*3* See Copyright for the status of this software.4*5* [email protected]6*/78#ifndef __EXSLT_EXPORTS_H__9#define __EXSLT_EXPORTS_H__1011/**12* EXSLTPUBFUN, EXSLTPUBVAR, EXSLTCALL13*14* Macros which declare an exportable function, an exportable variable and15* the calling convention used for functions.16*17* Please use an extra block for every platform/compiler combination when18* modifying this, rather than overlong #ifdef lines. This helps19* readability as well as the fact that different compilers on the same20* platform might need different definitions.21*/2223/**24* EXSLTPUBFUN:25*26* Macros which declare an exportable function27*/28#define EXSLTPUBFUN29/**30* EXSLTPUBVAR:31*32* Macros which declare an exportable variable33*/34#define EXSLTPUBVAR extern35/**36* EXSLTCALL:37*38* Macros which declare the called convention for exported functions39*/40#define EXSLTCALL4142/** DOC_DISABLE */4344/* Windows platform with MS compiler */45#if defined(_WIN32) && defined(_MSC_VER)46#undef EXSLTPUBFUN47#undef EXSLTPUBVAR48#undef EXSLTCALL49#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC)50#define EXSLTPUBFUN __declspec(dllexport)51#define EXSLTPUBVAR __declspec(dllexport)52#else53#define EXSLTPUBFUN54#if !defined(LIBEXSLT_STATIC)55#define EXSLTPUBVAR __declspec(dllimport) extern56#else57#define EXSLTPUBVAR extern58#endif59#endif60#define EXSLTCALL __cdecl61#if !defined _REENTRANT62#define _REENTRANT63#endif64#endif6566/* Windows platform with Borland compiler */67#if defined(_WIN32) && defined(__BORLANDC__)68#undef EXSLTPUBFUN69#undef EXSLTPUBVAR70#undef EXSLTCALL71#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC)72#define EXSLTPUBFUN __declspec(dllexport)73#define EXSLTPUBVAR __declspec(dllexport) extern74#else75#define EXSLTPUBFUN76#if !defined(LIBEXSLT_STATIC)77#define EXSLTPUBVAR __declspec(dllimport) extern78#else79#define EXSLTPUBVAR extern80#endif81#endif82#define EXSLTCALL __cdecl83#if !defined _REENTRANT84#define _REENTRANT85#endif86#endif8788/* Windows platform with GNU compiler (Mingw) */89#if defined(_WIN32) && defined(__MINGW32__)90#undef EXSLTPUBFUN91#undef EXSLTPUBVAR92#undef EXSLTCALL93/*94#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC)95*/96#if !defined(LIBEXSLT_STATIC)97#define EXSLTPUBFUN __declspec(dllexport)98#define EXSLTPUBVAR __declspec(dllexport) extern99#else100#define EXSLTPUBFUN101#if !defined(LIBEXSLT_STATIC)102#define EXSLTPUBVAR __declspec(dllimport) extern103#else104#define EXSLTPUBVAR extern105#endif106#endif107#define EXSLTCALL __cdecl108#if !defined _REENTRANT109#define _REENTRANT110#endif111#endif112113/* Cygwin platform, GNU compiler */114#if defined(_WIN32) && defined(__CYGWIN__)115#undef EXSLTPUBFUN116#undef EXSLTPUBVAR117#undef EXSLTCALL118#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC)119#define EXSLTPUBFUN __declspec(dllexport)120#define EXSLTPUBVAR __declspec(dllexport)121#else122#define EXSLTPUBFUN123#if !defined(LIBEXSLT_STATIC)124#define EXSLTPUBVAR __declspec(dllimport) extern125#else126#define EXSLTPUBVAR127#endif128#endif129#define EXSLTCALL __cdecl130#endif131132/* Compatibility */133#if !defined(LIBEXSLT_PUBLIC)134#define LIBEXSLT_PUBLIC EXSLTPUBVAR135#endif136137#endif /* __EXSLT_EXPORTS_H__ */138139140141142