Go to the source code of this file.
◆ ION_COLLECTION_CLOSE
| #define ION_COLLECTION_CLOSE |
( |
| pcursor | ) |
|
◆ ION_COLLECTION_IS_EMPTY
| #define ION_COLLECTION_IS_EMPTY |
( |
| collection | ) |
|
Value: ((collection)->_head == NULL)
◆ ION_COLLECTION_NEXT
| #define ION_COLLECTION_NEXT |
( |
| pcursor, |
|
|
| pbuf ) |
Value: if ((pcursor) != NULL) { \
*((void **)&(pbuf)) = IPCN_pNODE_TO_pDATA(pcursor); \
(pcursor) = (pcursor)->_next; \
} else { \
*((void **)&(pbuf)) = NULL; \
}
◆ ION_COLLECTION_OPEN
| #define ION_COLLECTION_OPEN |
( |
| collection, |
|
|
| pcursor ) |
Value: (pcursor) = (collection)->_head
◆ ION_COLLECTION_SIZE
| #define ION_COLLECTION_SIZE |
( |
| pcol | ) |
|
◆ IPCN_pDATA_TO_pNODE
| #define IPCN_pDATA_TO_pNODE |
( |
| x | ) |
|
Value:((ION_COLLECTION_NODE *) (((uint8_t *)(x)) - IPCN_OVERHEAD_SIZE))
◆ IPCN_pNODE_TO_pDATA
| #define IPCN_pNODE_TO_pDATA |
( |
| x | ) |
|