Go to the documentation of this file.
72 #define LIST_CONCAT2(s1, s2) s1##s2
73 #define LIST_CONCAT(s1, s2) LIST_CONCAT2(s1, s2)
90 static void *LIST_CONCAT(name,_list) = NULL; \
91 static list_t name = (list_t)&LIST_CONCAT(name,_list)
111 #define LIST_STRUCT(name) \
112 void *LIST_CONCAT(name,_list); \
125 #define LIST_STRUCT_INIT(struct_ptr, name) \
127 (struct_ptr)->name = &((struct_ptr)->LIST_CONCAT(name,_list)); \
128 (struct_ptr)->LIST_CONCAT(name,_list) = NULL; \
129 list_init((struct_ptr)->name); \