libNuML 1.1.1
Library for reading / writing NuML documents
extern.h
Go to the documentation of this file.
1
45#ifndef LIBNUML_EXTERN_H
46#define LIBNUML_EXTERN_H
47
48#include <numl/common/libnuml-namespace.h>
49
50#if ( defined WIN32 && ! defined CYGWIN )
51
52#if ( ! defined LIBNUML_STATIC )
64#if LIBNUML_EXPORTS
65# define LIBNUML_EXTERN __declspec(dllexport)
66#else
67# define LIBNUML_EXTERN __declspec(dllimport)
68#endif
69
70#else
71# define LIBNUML_EXTERN
72#endif /* LIBNUML_STATIC */
73
78#pragma warning(disable: 4800)
79
83#pragma warning(disable: 4291)
84
92#pragma warning(disable: 4251)
93
94#else
95
104#define LIBNUML_EXTERN
105
106#endif /* WIN32 */
107
108
109#if !defined(BEGIN_C_DECLS) && !defined(END_C_DECLS)
110
111#if __cplusplus
112# define BEGIN_C_DECLS extern "C" {
113# define END_C_DECLS }
114#else
115# define BEGIN_C_DECLS
116# define END_C_DECLS
117#endif
118
119#endif
120
121
122#endif