This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
MT#55283 add t_list_free
Change-Id: Ie8438e14f73c5f57cb1197e764ec002df5cf117c
pull/1910/head
Richard Fuchs
10 months ago
parent
ad6fb06b13
commit
79a1dca3a9
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
{
\
Write
Preview
Loading…
Cancel
Save