*list = item; \
} \
\
+ static inline type **prefix##_list_last(type **list) { \
+ while (*list) { \
+ list = &(*list)->next; \
+ } \
+ return list; \
+ } \
+ \
+ static inline type **prefix##_list_append(type **list, type *item) { \
+ list = prefix##_list_last(list); \
+ *list = item; \
+ return list; \
+ } \
+ \
static inline type **prefix##_list_init(type **list) { \
*list = NULL; \
return list; \