psptypes.h File Reference
Header for the Platform Support Package - Platform dependent types. More...
Include dependency graph for psptypes.h:
This graph shows which files directly or indirectly include this file:
Macros |
|
#define | RDM_C_EXPORT RDM_EXPORT |
#define | PSP_EXPORT RDM_IMPORT |
#define | BASE_PUBLIC_CLASS RDM_IMPORT |
#define | RDM_INIT {} |
#define | TRANS_PUBLIC_CLASS RDM_IMPORT |
#define | RDM_UNREF(a) ((void) (a)) |
#define | EXTERNAL_FCN_PTR EXTERNAL_FCN * |
#define | RDM_LEN(x) (sizeof (x) / sizeof (*(x))) |
#define | RDM_MIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | RDM_MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | RDM_INT8_MIN ((int8_t) 0x80U) |
#define | RDM_INT8_MAX ((int8_t) 0x7FU) |
#define | RDM_UINT8_MAX ((uint8_t) 0xFFU) |
#define | RDM_INT16_MIN ((int16_t) 0x8000U) |
#define | RDM_INT16_MAX ((int16_t) 0x7FFFU) |
#define | RDM_UINT16_MAX ((uint16_t) 0xFFFFU) |
#define | RDM_INT32_MIN ((int32_t) 0x80000000U) |
#define | RDM_INT32_MAX ((int32_t) 0x7FFFFFFFU) |
#define | RDM_UINT32_MAX ((uint32_t) 0xFFFFFFFFU) |
#define | RDM_INT64_MIN (-9223372036854775807LL - 1) |
#define | RDM_INT64_MAX (9223372036854775807LL) |
#define | RDM_UINT64_MAX (18446744073709551615ULL) |
Enumerations |
|
enum | RDM_COMPARE { RDM_LT = -1, RDM_EQ = 0, RDM_GT = 1 } |
Detailed Description
Header for the Platform Support Package - Platform dependent types.
Macro Definition Documentation
BASE_PUBLIC_CLASS
#define BASE_PUBLIC_CLASS RDM_IMPORT |
EXTERNAL_FCN_PTR
#define EXTERNAL_FCN_PTR EXTERNAL_FCN * |
PSP_EXPORT
#define PSP_EXPORT RDM_IMPORT |
RDM_C_EXPORT
#define RDM_C_EXPORT RDM_EXPORT |
RDM_INIT
#define RDM_INIT {} |
RDM_INT16_MAX
#define RDM_INT16_MAX ((int16_t) 0x7FFFU) |
Maximum value for int64_t
RDM_INT16_MIN
#define RDM_INT16_MIN ((int16_t) 0x8000U) |
Minimum value for int16_t
RDM_INT32_MAX
#define RDM_INT32_MAX ((int32_t) 0x7FFFFFFFU) |
Maximum value for int64_t
RDM_INT32_MIN
#define RDM_INT32_MIN ((int32_t) 0x80000000U) |
Minimum value for int32_t
RDM_INT64_MAX
#define RDM_INT64_MAX (9223372036854775807LL) |
Maximum value for int64_t
RDM_INT64_MIN
#define RDM_INT64_MIN (-9223372036854775807LL - 1) |
Minimum value for int64_t
RDM_INT8_MAX
#define RDM_INT8_MAX ((int8_t) 0x7FU) |
Maximum value for int64_t
RDM_INT8_MIN
#define RDM_INT8_MIN ((int8_t) 0x80U) |
Minimum value for int_t
RDM_LEN
#define RDM_LEN | ( | x | ) | (sizeof (x) / sizeof (*(x))) |
Macro to get the number of elements in an array of any type
- Examples
- core15Example_main.c, core16Example_main.c, core17Example_main.c, core18Example_main.c, core19Example_main.c, core31Example_main.c, core32Example_main.c, core33Example_main.c, core35Example_main.c, core36Example_main.c, core37Example_main.c, cpp01Example_main.cpp, cpp35Example_main.cpp, cpp50Example_main.cpp, cpp70Example_main.cpp, learn/bookStore_client.c, learn/bookStore_embed.c, and learn/bookStore_vxWorks7.c.
RDM_MAX
#define RDM_MAX | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
Macro fo taking the max of two arguments of any type
RDM_MIN
#define RDM_MIN | ( | a, | |
b | |||
) | ((a) < (b) ? (a) : (b)) |
Macro fo taking the min of two arguments of any type
RDM_UINT16_MAX
#define RDM_UINT16_MAX ((uint16_t) 0xFFFFU) |
Maximum value for uint64_t
RDM_UINT32_MAX
#define RDM_UINT32_MAX ((uint32_t) 0xFFFFFFFFU) |
Maximum value for uint64_t
RDM_UINT64_MAX
#define RDM_UINT64_MAX (18446744073709551615ULL) |
Maximum value for uint64_t
- Examples
- cpp55Example_main.cpp.
RDM_UINT8_MAX
#define RDM_UINT8_MAX ((uint8_t) 0xFFU) |
Maximum value for uint64_t
RDM_UNREF
#define RDM_UNREF | ( | a | ) | ((void) (a)) |
- Examples
- core01Example_main.c, core15Example_main.c, core16Example_main.c, core17Example_main.c, core18Example_main.c, core19Example_main.c, core31Example_main.c, core32Example_main.c, core33Example_main.c, core35Example_main.c, core36Example_main.c, core37Example_main.c, core40Example_main.c, learn/bookStore_embed.c, learn/bookStore_vxWorks7.c, and odbc01Example_main.c.
TRANS_PUBLIC_CLASS
#define TRANS_PUBLIC_CLASS RDM_IMPORT |
Enumeration Type Documentation
RDM_COMPARE
enum RDM_COMPARE |