File size: 1,077 Bytes
37a0d05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
 * Summary: macros for marking symbols as exportable/importable.
 *
 * Copy: See Copyright for the status of this software.
 */

#ifndef __EXSLT_EXPORTS_H__
#define __EXSLT_EXPORTS_H__

#if defined(_WIN32) || defined(__CYGWIN__)
/** DOC_DISABLE */

#ifdef LIBEXSLT_STATIC
  #define EXSLTPUBLIC
#elif defined(IN_LIBEXSLT)
  #define EXSLTPUBLIC __declspec(dllexport)
#else
  #define EXSLTPUBLIC __declspec(dllimport)
#endif

#define EXSLTCALL __cdecl

/** DOC_ENABLE */
#else /* not Windows */

/**
 * EXSLTPUBLIC:
 *
 * Macro which declares a public symbol
 */
#define EXSLTPUBLIC

/**
 * EXSLTCALL:
 *
 * Macro which declares the calling convention for exported functions
 */
#define EXSLTCALL

#endif /* platform switch */

/*
 * EXSLTPUBFUN:
 *
 * Macro which declares an exportable function
 */
#define EXSLTPUBFUN EXSLTPUBLIC

/**
 * EXSLTPUBVAR:
 *
 * Macro which declares an exportable variable
 */
#define EXSLTPUBVAR EXSLTPUBLIC extern

/* Compatibility */
#if !defined(LIBEXSLT_PUBLIC)
#define LIBEXSLT_PUBLIC EXSLTPUBVAR
#endif

#endif /* __EXSLT_EXPORTS_H__ */