mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-02 22:38:01 +00:00
release: add version 1.4 macros
This commit is contained in:
parent
9152dec99f
commit
f4b4e35c79
|
@ -90,4 +90,18 @@
|
|||
# define NM_AVAILABLE_IN_1_2
|
||||
#endif
|
||||
|
||||
#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_4
|
||||
# define NM_DEPRECATED_IN_1_4 G_DEPRECATED
|
||||
# define NM_DEPRECATED_IN_1_4_FOR(f) G_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define NM_DEPRECATED_IN_1_4
|
||||
# define NM_DEPRECATED_IN_1_4_FOR(f)
|
||||
#endif
|
||||
|
||||
#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_4
|
||||
# define NM_AVAILABLE_IN_1_4 G_UNAVAILABLE(1,4)
|
||||
#else
|
||||
# define NM_AVAILABLE_IN_1_4
|
||||
#endif
|
||||
|
||||
#endif /* NM_VERSION_H */
|
||||
|
|
|
@ -90,4 +90,18 @@
|
|||
# define NM_AVAILABLE_IN_1_2
|
||||
#endif
|
||||
|
||||
#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_4
|
||||
# define NM_DEPRECATED_IN_1_4 G_DEPRECATED
|
||||
# define NM_DEPRECATED_IN_1_4_FOR(f) G_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define NM_DEPRECATED_IN_1_4
|
||||
# define NM_DEPRECATED_IN_1_4_FOR(f)
|
||||
#endif
|
||||
|
||||
#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_4
|
||||
# define NM_AVAILABLE_IN_1_4 G_UNAVAILABLE(1,4)
|
||||
#else
|
||||
# define NM_AVAILABLE_IN_1_4
|
||||
#endif
|
||||
|
||||
#endif /* NM_VERSION_H */
|
||||
|
|
|
@ -68,6 +68,7 @@
|
|||
#define NM_VERSION_0_9_10 (NM_ENCODE_VERSION (0, 9, 10))
|
||||
#define NM_VERSION_1_0 (NM_ENCODE_VERSION (1, 0, 0))
|
||||
#define NM_VERSION_1_2 (NM_ENCODE_VERSION (1, 2, 0))
|
||||
#define NM_VERSION_1_4 (NM_ENCODE_VERSION (1, 4, 0))
|
||||
|
||||
#define NM_VERSION_CUR_STABLE NM_VERSION_1_0
|
||||
#define NM_VERSION_NEXT_STABLE NM_VERSION_1_2
|
||||
|
|
Loading…
Reference in a new issue