[gnome-builder] build: add 43 version macros



commit ce201f73124aa00ea5af0db953ee6f1e52c8e06f
Author: Christian Hergert <chergert redhat com>
Date:   Mon Mar 28 13:21:07 2022 -0700

    build: add 43 version macros

 src/libide/core/ide-version-macros.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/src/libide/core/ide-version-macros.h b/src/libide/core/ide-version-macros.h
index b8487e876..431d66be2 100644
--- a/src/libide/core/ide-version-macros.h
+++ b/src/libide/core/ide-version-macros.h
@@ -47,6 +47,7 @@
 #define IDE_VERSION_3_40 (G_ENCODE_VERSION (3, 40))
 #define IDE_VERSION_41 (G_ENCODE_VERSION (41, 0))
 #define IDE_VERSION_42 (G_ENCODE_VERSION (42, 0))
+#define IDE_VERSION_43 (G_ENCODE_VERSION (43, 0))
 
 #if (IDE_MINOR_VERSION == 99)
 # define IDE_VERSION_CUR_STABLE (G_ENCODE_VERSION (IDE_MAJOR_VERSION + 1, 0))
@@ -244,3 +245,17 @@
 #else
 # define IDE_AVAILABLE_IN_42                 _IDE_EXTERN
 #endif
+
+#if IDE_VERSION_MIN_REQUIRED >= IDE_VERSION_43
+# define IDE_DEPRECATED_IN_43                IDE_DEPRECATED
+# define IDE_DEPRECATED_IN_43_FOR(f)         IDE_DEPRECATED_FOR(f)
+#else
+# define IDE_DEPRECATED_IN_43                _IDE_EXTERN
+# define IDE_DEPRECATED_IN_43_FOR(f)         _IDE_EXTERN
+#endif
+
+#if IDE_VERSION_MAX_ALLOWED < IDE_VERSION_43
+# define IDE_AVAILABLE_IN_43                 IDE_UNAVAILABLE(43, 0)
+#else
+# define IDE_AVAILABLE_IN_43                 _IDE_EXTERN
+#endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]