Collaboration diagram for Z-Wave Typedefs:Macros | |
| #define | ZW_WEAK __attribute__((weak)) |
| #define | EOF (-1) |
| #define | NULL ((void*)0) |
| #define | NO_RETURN |
| #define | VOID_CALLBACKFUNC(completedFunc) void (*completedFunc) |
| #define | IS_NULL(x) (NULL == x) |
| #define | NON_NULL(x) (NULL != x) |
| #define | UIP_HTONL(x) ( ((x >> 24) & 0x000000FF) | ((x >> 8) & 0x0000FF00) | ((x << 8 ) & 0x00FF0000) | ((x << 24) & 0xFF000000) ) |
| #define EOF (-1) |
| #define IS_NULL | ( | x | ) | (NULL == x) |
Safe null pointer check
| #define NO_RETURN |
This definition is used for task-functions and allows the compiler to know this detail and therefore do optimizations on the function.
| #define NON_NULL | ( | x | ) | (NULL != x) |
| #define NULL ((void*)0) |
| #define UIP_HTONL | ( | x | ) | ( ((x >> 24) & 0x000000FF) | ((x >> 8) & 0x0000FF00) | ((x << 8 ) & 0x00FF0000) | ((x << 24) & 0xFF000000) ) |
| #define VOID_CALLBACKFUNC | ( | completedFunc | ) | void (*completedFunc) |
Define for making easy and consistent callback definitions
| #define ZW_WEAK __attribute__((weak)) |