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#59069 add typed HT remove_all()
Change-Id: Idb023db5613229f50dd8f5218c209be154a56f78
pull/1802/head
Richard Fuchs
2 years ago
parent
953fabbf10
commit
d5793cdf4d
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
@ -58,6 +58,10 @@
__r
;
\
}
)
#
define t_hash_table_remove_all(h) ({ \
g_hash_table_remove_all
(
(
h
)
.
ht
)
;
\
}
)
#
define t_hash_table_steal_extended(h, k, kp, vp) ({ \
__typeof__
(
(
h
)
.
__key
)
__k
=
k
;
\
__typeof__
(
&
(
h
)
.
__key
)
__kp
=
kp
;
\
Write
Preview
Loading…
Cancel
Save