RTI Connext DDS Micro  Version 2.4.6
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dds_c_dll.h
Go to the documentation of this file.
1 /*
2  * FILE: dds_c_dll.h - External linkage definitions
3  *
4  * (c) Copyright, Real-Time Innovations, 2008-2015.
5  *
6  * All rights reserved.
7  *
8  * No duplications, whole or partial, manual or electronic, may be made
9  * without express written permission. Any such copies, or
10  * revisions thereof, must display this notice unaltered.
11  * This code contains trade secrets of Real-Time Innovations, Inc.
12  *
13  * Modification History
14  * --------------------
15  * 30apr2008,tk Created
16  */
17 /*ce
18  * \file
19  * \brief DDS_C external linkage definitions
20  */
21 #ifndef dds_c_dll_h
22 #define dds_c_dll_h
23 
24 #if defined(RTI_WIN32) || defined(RTI_WINCE)
25 
26 #if defined(RTIME_DLL_EXPORT)
27 #ifndef RTI_dds_c_DLL_EXPORT
28 #define RTI_dds_c_DLL_EXPORT
29 #endif
30 #ifndef RTI_dds_c_DLL_VARIABLE
31 #define RTI_dds_c_DLL_VARIABLE
32 #endif
33 #endif
34 
35 #if defined(RTI_dds_c_DLL_EXPORT)
36 #define DDSCDllExport __declspec( dllexport )
37 #else
38 #define DDSCDllExport
39 #endif /* RTI_dds_c_DLL_EXPORT */
40 
41 #if defined(RTI_dds_c_DLL_VARIABLE)
42 #if defined(RTI_dds_c_DLL_EXPORT)
43 #define DDSCDllVariable __declspec( dllexport )
44 #else
45 #define DDSCDllVariable __declspec( dllimport )
46 #endif /* RTI_dds_c_DLL_EXPORT */
47 #else
48 #define DDSCDllVariable
49 #endif /* RTI_dds_c_DLL_VARIABLE */
50 #else
51 #define DDSCDllExport
52 #define DDSCDllVariable
53 #endif /* RTI_WIN32 || RTI_WINCE */
54 
55 #if defined(__cplusplus) && defined(RTI_USE_CPP_API)
56 #define RTI_CPP
57 #else
58 #define DDSCPPDllExport
59 #endif
60 
61 #endif /* dds_c_dll_h */

RTI Connext DDS Micro Version 2.4.6 Copyright © Mon Jan 25 2016 Real-Time Innovations, Inc