summary refs log tree commit diff
path: root/src/libnm-core-public/nm-version.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2024-09-01 22:38:35 +0200
committerMichael Biebl <biebl@debian.org>2024-09-01 22:38:35 +0200
commitf9bfd1158b8d08d6a5ed3bb7cc1ba7a6455e5201 (patch)
tree10267dcf5b842b7c638a79bd6851549cd849b81d /src/libnm-core-public/nm-version.h
parent681dfc70ef98f6ed0c05bcb0fbff00e3fc0799ea (diff)
New upstream version 1.49.90 upstream/1.49.90
Diffstat (limited to 'src/libnm-core-public/nm-version.h')
-rw-r--r--src/libnm-core-public/nm-version.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libnm-core-public/nm-version.h b/src/libnm-core-public/nm-version.h
index 419da2e1..e8e18c75 100644
--- a/src/libnm-core-public/nm-version.h
+++ b/src/libnm-core-public/nm-version.h
@@ -397,6 +397,20 @@
 #define NM_AVAILABLE_IN_1_48
 #endif
 
+#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_50
+#define NM_DEPRECATED_IN_1_50        G_DEPRECATED
+#define NM_DEPRECATED_IN_1_50_FOR(f) G_DEPRECATED_FOR(f)
+#else
+#define NM_DEPRECATED_IN_1_50
+#define NM_DEPRECATED_IN_1_50_FOR(f)
+#endif
+
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_50
+#define NM_AVAILABLE_IN_1_50 G_UNAVAILABLE(1, 50)
+#else
+#define NM_AVAILABLE_IN_1_50
+#endif
+
 /*
  * Synchronous API for calling D-Bus in libnm is deprecated. See
  * https://networkmanager.dev/docs/libnm/latest/usage.html#sync-api