MT#55283 add t_list_free

Change-Id: Ie8438e14f73c5f57cb1197e764ec002df5cf117c
pull/1910/head
Richard Fuchs 10 months ago
parent ad6fb06b13
commit 79a1dca3a9

@ -403,6 +403,10 @@ static inline void g_queue_clear_full(GQueue *q, GDestroyNotify free_func) {
__ret; \
})
#define t_list_free(L) ({ \
g_list_free(&(L)->l); \
})
#define TYPED_GPTRARRAY_FULL(type_name, contained_type, free_func) \
typedef union { \

Loading…
Cancel
Save