GATE
|
A double-linked-list entry holding the link information and the content. More...
#include <arrays.h>
Public Attributes | ||
struct gate_linkedentry_class * | previous | |
struct gate_linkedentry_class * | next | |
void * | data | |
union { | ||
gate_c_maxalign_t aligner | ||
char content [1] | ||
} | attachment | |
A double-linked-list entry holding the link information and the content.
A linked-entry instance is overallocated (sizeof(gate_linkedentry_t) + sizeof(item_type)) and the content data is placed after the entry object The entry object holds links to the previous and the next entry in a linked-list. A data pointer addresses the beginning of the content type (following the linked-entry object)
union { ... } gate_linkedentry_class::attachment |
alignment ensurance helper structure
void* gate_linkedentry_class::data |
pointer to item content data
struct gate_linkedentry_class* gate_linkedentry_class::next |
pointer to next entry in linked list
struct gate_linkedentry_class* gate_linkedentry_class::previous |
pointer to previous entry in linked list