mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 01:40:33 +01:00
libnm: add nm_auto_unref_range cleanup macro
This is useful.
This commit is contained in:
parent
037fdcaf20
commit
bf5e75a299
1 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ NM_AUTO_DEFINE_FCN0(NMTeamLinkWatcher *,
|
|||
#define nm_auto_unref_wgpeer nm_auto(_nm_auto_unref_wgpeer)
|
||||
NM_AUTO_DEFINE_FCN0(NMWireGuardPeer *, _nm_auto_unref_wgpeer, nm_wireguard_peer_unref);
|
||||
|
||||
#define nm_auto_unref_range nm_auto(_nm_auto_unref_range)
|
||||
NM_AUTO_DEFINE_FCN0(const NMRange *, _nm_auto_unref_range, nm_range_unref);
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
const char **nm_utils_bond_option_arp_ip_targets_split(const char *arp_ip_target);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue