Go to the documentation of this file.
71 #define LIST_CONCAT2(s1, s2) s1##s2
72 #define LIST_CONCAT(s1, s2) LIST_CONCAT2(s1, s2)
89 static void *LIST_CONCAT(name,_list) = NULL; \
90 static list_t name = (list_t)&LIST_CONCAT(name,_list)
110 #define LIST_STRUCT(name) \
111 void *LIST_CONCAT(name,_list); \
124 #define LIST_STRUCT_INIT(struct_ptr, name) \
126 (struct_ptr)->name = &((struct_ptr)->LIST_CONCAT(name,_list)); \
127 (struct_ptr)->LIST_CONCAT(name,_list) = NULL; \
128 list_init((struct_ptr)->name); \