Browse Source

MT#55283 add t_list_free

Change-Id: Ie8438e14f73c5f57cb1197e764ec002df5cf117c
pull/1910/head
Richard Fuchs 10 months ago
parent
commit
79a1dca3a9
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      lib/containers.h

+ 4
- 0
lib/containers.h View File

@ -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