RTI Connext DDS Micro  Version 2.4.8
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
osapi_types.h
Go to the documentation of this file.
1 /*
2  * FILE: osapi_types.h - Definition of primitive data-types
3  *
4  * Copyright 2012-2015 Real-Time Innovations, Inc.
5  *
6  * No duplications, whole or partial, manual or electronic, may be made
7  * without express written permission. Any such copies, or
8  * revisions thereof, must display this notice unaltered.
9  * This code contains trade secrets of Real-Time Innovations, Inc.
10  *
11  * Modification History
12  * --------------------
13  * 05Jun2012,kaj Add RTI_INT64, RTI_UINT64, RTI_DOUBLE128
14  * 29feb2012,tk Written
15  */
16 
17 /*ce
18  * \file
19  * \brief Primitive data type definitions
20  */
21 
22 /*e \defgroup OSAPITypeClass OSAPI Types
23  * \ingroup OSAPIModule
24  */
25 
26 /*e \ingroup OSAPITypeClass
27 
28  \brief Defines platform independent types
29 */
30 #ifndef osapi_types_h
31 #define osapi_types_h
32 
33 #include "osapi/osapi_config.h"
34 
35 #include "osapi/osapi_types_impl.h"
36 
37 /*i
38  */
39 typedef RTI_INT32 RTI_BOOL;
40 
41 /* Include this for convenient compatibility with RTI Connext Core
42  */
43 typedef RTI_BOOL RTIBool;
44 
45 #define RTI_FALSE ((RTI_BOOL) 0)
46 #define RTI_TRUE ((RTI_BOOL) 1)
47 
48 #ifdef HAVE_SIZE_T
49 /*i
50  */
51 typedef size_t RTI_SIZE_T;
52 #define RTI_SIZE_INVALID 0xffffffff
53 #else
54 typedef RTI_UINT32 RTI_SIZE_T;
55 #define RTI_SIZE_INVALID 0xffffffff
56 #endif
57 
58 #endif /* osapi_types_h */

RTI Connext DDS Micro Version 2.4.8 Copyright © Tue Apr 12 2016 Real-Time Innovations, Inc