Go to the documentation of this file.
3 #ifndef INC_NDPluginAPI_H
4 #define INC_NDPluginAPI_H
6 #include <epicsVersion.h>
9 # define VERSION_INT(V,R,M,P) ( ((V)<<24) | ((R)<<16) | ((M)<<8) | (P))
13 #ifndef EPICS_VERSION_INT
14 # define EPICS_VERSION_INT VERSION_INT(EPICS_VERSION, EPICS_REVISION, EPICS_MODIFICATION, EPICS_PATCH_LEVEL)
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
22 #if defined(_WIN32) || defined(__CYGWIN__)
24 # if !defined(epicsStdCall)
25 # define epicsStdCall __stdcall
28 # if defined(BUILDING_NDPlugin_API) && defined(EPICS_BUILD_DLL)
30 # define NDPLUGIN_API __declspec(dllexport)
31 # elif !defined(BUILDING_NDPlugin_API) && defined(EPICS_CALL_DLL)
33 # define NDPLUGIN_API __declspec(dllimport)
37 # define NDPLUGIN_API __attribute__ ((visibility("default")))
40 #if !defined(NDPLUGIN_API)
44 #if !defined(epicsStdCall)