RTI Connext DDS Micro  Version 2.4.10
 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 #include "osapi/osapi_config.h"
25 
26 #if defined(RTI_WIN32) || defined(RTI_WINCE)
27 
28 #if defined(RTIME_DLL_EXPORT)
29 #ifndef RTI_dds_c_DLL_EXPORT
30 #define RTI_dds_c_DLL_EXPORT
31 #endif
32 #ifndef RTI_dds_c_DLL_VARIABLE
33 #define RTI_dds_c_DLL_VARIABLE
34 #endif
35 #endif
36 
37 #if defined(RTI_dds_c_DLL_EXPORT)
38 #define DDSCDllExport __declspec( dllexport )
39 #else
40 #define DDSCDllExport
41 #endif /* RTI_dds_c_DLL_EXPORT */
42 
43 #if defined(RTI_dds_c_DLL_VARIABLE)
44 #if defined(RTI_dds_c_DLL_EXPORT)
45 #define DDSCDllVariable __declspec( dllexport )
46 #else
47 #define DDSCDllVariable __declspec( dllimport )
48 #endif /* RTI_dds_c_DLL_EXPORT */
49 #else
50 #define DDSCDllVariable
51 #endif /* RTI_dds_c_DLL_VARIABLE */
52 #else
53 #define DDSCDllExport
54 #define DDSCDllVariable
55 #endif /* RTI_WIN32 || RTI_WINCE */
56 
57 #if defined(__cplusplus) && defined(RTI_USE_CPP_API)
58 #define RTI_CPP
59 #else
60 #define DDSCPPDllExport
61 #endif
62 
63 #endif /* dds_c_dll_h */

RTI Connext DDS Micro Version 2.4.10 Copyright © Fri Jun 30 2017 Real-Time Innovations, Inc