RTI Connext Micro  Version 2.4.1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
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-2014 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 #define RTI_FALSE ((RTI_BOOL) 0)
42 #define RTI_TRUE ((RTI_BOOL) 1)
43 
44 #ifdef HAVE_SIZE_T
45 /*i
46  */
47 typedef size_t RTI_SIZE_T;
48 #define RTI_SIZE_INVALID 0xffffffff
49 #else
50 typedef RTI_UINT32 RTI_SIZE_T;
51 #define RTI_SIZE_INVALID 0xffffffff
52 #endif
53 
54 #endif /* osapi_types_h */

RTI Connext Micro Version 2.4.1.0 Copyright © Thu Nov 20 2014 Real-Time Innovations, Inc