mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 23:50:35 +01:00
libnm: add NM_VERSION_1_30_8
This commit is contained in:
parent
9121b961eb
commit
ce02f56356
2 changed files with 7 additions and 0 deletions
|
|
@ -67,6 +67,7 @@
|
|||
#define NM_VERSION_1_26 (NM_ENCODE_VERSION (1, 26, 0))
|
||||
#define NM_VERSION_1_28 (NM_ENCODE_VERSION (1, 28, 0))
|
||||
#define NM_VERSION_1_30 (NM_ENCODE_VERSION (1, 30, 0))
|
||||
#define NM_VERSION_1_30_8 (NM_ENCODE_VERSION (1, 30, 8))
|
||||
|
||||
/* For releases, NM_API_VERSION is equal to NM_VERSION.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -271,6 +271,12 @@
|
|||
#define NM_AVAILABLE_IN_1_30
|
||||
#endif
|
||||
|
||||
#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_30_8
|
||||
#define NM_AVAILABLE_IN_1_30_8 G_UNAVAILABLE(1, 30.8)
|
||||
#else
|
||||
#define NM_AVAILABLE_IN_1_30_8
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Synchronous API for calling D-Bus in libnm is deprecated. See
|
||||
* https://developer.gnome.org/libnm/stable/usage.html#sync-api
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue