areaDetector 3-14
EPICS areaDetector framework
NDPluginAPI.h
Go to the documentation of this file.
1/* This is a generated file, do not edit! */
2
3#ifndef INC_NDPluginAPI_H
4#define INC_NDPluginAPI_H
5
6#include <epicsVersion.h>
7
8#ifndef VERSION_INT
10# define VERSION_INT(V,R,M,P) ( ((V)<<24) | ((R)<<16) | ((M)<<8) | (P))
11#endif
12
13#ifndef EPICS_VERSION_INT
14# define EPICS_VERSION_INT VERSION_INT(EPICS_VERSION, EPICS_REVISION, EPICS_MODIFICATION, EPICS_PATCH_LEVEL)
15#endif
16
17#if defined(_WIN32) && EPICS_VERSION_INT<VERSION_INT(3,15,0,0) && !defined(EPICS_DLL_NO)
18# define EPICS_BUILD_DLL
19# define EPICS_CALL_DLL
20#endif
21
22#if defined(_WIN32) || defined(__CYGWIN__)
23
24# if !defined(epicsStdCall)
25# define epicsStdCall __stdcall
26# endif
27
28# if defined(BUILDING_NDPlugin_API) && defined(EPICS_BUILD_DLL)
29/* Building library as dll */
30# define NDPLUGIN_API __declspec(dllexport)
31# elif !defined(BUILDING_NDPlugin_API) && defined(EPICS_CALL_DLL)
32/* Calling library in dll form */
33# define NDPLUGIN_API __declspec(dllimport)
34# endif
35
36#elif __GNUC__ >= 4
37# define NDPLUGIN_API __attribute__ ((visibility("default")))
38#endif
39
40#if !defined(NDPLUGIN_API)
41# define NDPLUGIN_API
42#endif
43
44#if !defined(epicsStdCall)
45# define epicsStdCall
46#endif
47
48#endif /* INC_NDPluginAPI_H */
49