about 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-05-05 00:07:30 +0200
committerMichael Biebl <biebl@debian.org>2024-05-05 00:07:30 +0200
commit34bb501be08aa2b313d88e67d6e0a7e0a3f9cfa6 (patch)
tree4e6220877828be4c6f261de09ec0cb2d80e32389 /src/libnm-core-public/nm-version.h
parentbba2e4b4de668db525cbfdfc35292e5a0b51671a (diff)
New upstream version 1.47.90 upstream/1.47.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 24471129..419da2e1 100644
--- a/src/libnm-core-public/nm-version.h
+++ b/src/libnm-core-public/nm-version.h
@@ -383,6 +383,20 @@
 #define NM_AVAILABLE_IN_1_46
 #endif
 
+#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_48
+#define NM_DEPRECATED_IN_1_48        G_DEPRECATED
+#define NM_DEPRECATED_IN_1_48_FOR(f) G_DEPRECATED_FOR(f)
+#else
+#define NM_DEPRECATED_IN_1_48
+#define NM_DEPRECATED_IN_1_48_FOR(f)
+#endif
+
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_48
+#define NM_AVAILABLE_IN_1_48 G_UNAVAILABLE(1, 48)
+#else
+#define NM_AVAILABLE_IN_1_48
+#endif
+
 /*
  * Synchronous API for calling D-Bus in libnm is deprecated. See
  * https://networkmanager.dev/docs/libnm/latest/usage.html#sync-api