MT#59069 add typed HT remove_all()

Change-Id: Idb023db5613229f50dd8f5218c209be154a56f78
pull/1802/head
Richard Fuchs 1 year ago
parent 953fabbf10
commit d5793cdf4d

@ -58,6 +58,10 @@
__r; \ __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) ({ \ #define t_hash_table_steal_extended(h, k, kp, vp) ({ \
__typeof__((h).__key) __k = k; \ __typeof__((h).__key) __k = k; \
__typeof__(&(h).__key) __kp = kp; \ __typeof__(&(h).__key) __kp = kp; \

Loading…
Cancel
Save