Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:52

0001 /*
0002  * Summary: macros for marking symbols as exportable/importable.
0003  *
0004  * Copy: See Copyright for the status of this software.
0005  */
0006 
0007 #ifndef __EXSLT_EXPORTS_H__
0008 #define __EXSLT_EXPORTS_H__
0009 
0010 #if defined(_WIN32) || defined(__CYGWIN__)
0011 /** DOC_DISABLE */
0012 
0013 #ifdef LIBEXSLT_STATIC
0014   #define EXSLTPUBLIC
0015 #elif defined(IN_LIBEXSLT)
0016   #define EXSLTPUBLIC __declspec(dllexport)
0017 #else
0018   #define EXSLTPUBLIC __declspec(dllimport)
0019 #endif
0020 
0021 #define EXSLTCALL __cdecl
0022 
0023 /** DOC_ENABLE */
0024 #else /* not Windows */
0025 
0026 /**
0027  * EXSLTPUBLIC:
0028  *
0029  * Macro which declares a public symbol
0030  */
0031 #define EXSLTPUBLIC
0032 
0033 /**
0034  * EXSLTCALL:
0035  *
0036  * Macro which declares the calling convention for exported functions
0037  */
0038 #define EXSLTCALL
0039 
0040 #endif /* platform switch */
0041 
0042 /*
0043  * EXSLTPUBFUN:
0044  *
0045  * Macro which declares an exportable function
0046  */
0047 #define EXSLTPUBFUN EXSLTPUBLIC
0048 
0049 /**
0050  * EXSLTPUBVAR:
0051  *
0052  * Macro which declares an exportable variable
0053  */
0054 #define EXSLTPUBVAR EXSLTPUBLIC extern
0055 
0056 /* Compatibility */
0057 #if !defined(LIBEXSLT_PUBLIC)
0058 #define LIBEXSLT_PUBLIC EXSLTPUBVAR
0059 #endif
0060 
0061 #endif /* __EXSLT_EXPORTS_H__ */
0062 
0063