2007-04-17 21:43:03 +04:00
|
|
|
#ifndef example_h
|
|
|
|
#define example_h
|
|
|
|
|
2007-04-18 02:18:42 +04:00
|
|
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
2016-05-16 17:34:04 +03:00
|
|
|
#if defined(example_exe_EXPORTS)
|
|
|
|
#define EXAMPLE_EXPORT __declspec(dllexport)
|
2007-04-17 21:43:03 +04:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#define EXAMPLE_EXPORT __declspec(dllimport)
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#define EXAMPLE_EXPORT
|
2007-04-17 21:43:03 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2016-05-16 17:34:04 +03:00
|
|
|
extern "C" {
|
2007-04-17 21:43:03 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
EXAMPLE_EXPORT int example_exe_function(void);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|