#include <float.h>
#include <limits.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
◆ CDC_TO_CHAR
#define CDC_TO_CHAR |
( |
|
p | ) |
((char)(intptr_t)(p)) |
◆ CDC_FROM_CHAR
#define CDC_FROM_CHAR |
( |
|
s | ) |
((void *)(intptr_t)(char)(s)) |
◆ CDC_TO_SCHAR
#define CDC_TO_SCHAR |
( |
|
p | ) |
((signed char)(intptr_t)(p)) |
◆ CDC_FROM_SCHAR
#define CDC_FROM_SCHAR |
( |
|
s | ) |
((void *)(intptr_t)(signed char)(s)) |
◆ CDC_TO_UCHAR
#define CDC_TO_UCHAR |
( |
|
p | ) |
((unsigned char)(uintptr_t)(p)) |
◆ CDC_FROM_UCHAR
#define CDC_FROM_UCHAR |
( |
|
s | ) |
((void *)(uintptr_t)(unsigned char)(s)) |
◆ CDC_TO_SHORT
#define CDC_TO_SHORT |
( |
|
p | ) |
((short)(intptr_t)(p)) |
◆ CDC_FROM_SHORT
#define CDC_FROM_SHORT |
( |
|
s | ) |
((void *)(intptr_t)(short)(s)) |
◆ CDC_TO_USHORT
#define CDC_TO_USHORT |
( |
|
p | ) |
((unsigned short)(uintptr_t)(p)) |
◆ CDC_FROM_USHORT
#define CDC_FROM_USHORT |
( |
|
s | ) |
((void *)(uintptr_t)(unsigned short)(s)) |
◆ CDC_TO_INT
#define CDC_TO_INT |
( |
|
p | ) |
((int)(intptr_t)(p)) |
◆ CDC_FROM_INT
#define CDC_FROM_INT |
( |
|
s | ) |
((void *)(intptr_t)(int)(s)) |
◆ CDC_TO_UINT
#define CDC_TO_UINT |
( |
|
p | ) |
((unsigned int)(uintptr_t)(p)) |
◆ CDC_FROM_UINT
#define CDC_FROM_UINT |
( |
|
s | ) |
((void *)(uintptr_t)(unsigned int)(s)) |
◆ CDC_TO_SIZE
#define CDC_TO_SIZE |
( |
|
p | ) |
((size_t)(uintptr_t)(p)) |
◆ CDC_FROM_SIZE
#define CDC_FROM_SIZE |
( |
|
s | ) |
((void *)(uintptr_t)(size_t)(s)) |
◆ CDC_TO_LONG
#define CDC_TO_LONG |
( |
|
p | ) |
((long)(intptr_t)(p)) |
◆ CDC_FROM_LONG
#define CDC_FROM_LONG |
( |
|
s | ) |
((void *)(intptr_t)(long)(s)) |
◆ CDC_LONG_CAST
◆ CDC_TO_ULONG
#define CDC_TO_ULONG |
( |
|
p | ) |
((unsigned long)(uintptr_t)(p)) |
◆ CDC_FROM_ULONG
#define CDC_FROM_ULONG |
( |
|
s | ) |
((void *)(uintptr_t)(unsigned long)(s)) |
◆ CDC_ULONG_CAST