[gnome-builder] libide/core: add 44 version macros
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/core: add 44 version macros
- Date: Wed, 28 Sep 2022 00:26:22 +0000 (UTC)
commit 9870c57c1a6af20f7ea6417696ff0188e6dde15b
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 27 17:23:34 2022 -0700
libide/core: add 44 version macros
src/libide/core/ide-version-macros.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
---
diff --git a/src/libide/core/ide-version-macros.h b/src/libide/core/ide-version-macros.h
index f1832fc98..deb741807 100644
--- a/src/libide/core/ide-version-macros.h
+++ b/src/libide/core/ide-version-macros.h
@@ -41,6 +41,7 @@
#endif
#define IDE_VERSION_43 (G_ENCODE_VERSION (43, 0))
+#define IDE_VERSION_44 (G_ENCODE_VERSION (44, 0))
#if IDE_MAJOR_VERSION == IDE_VERSION_43
# define IDE_VERSION_PREV_STABLE (IDE_VERSION_43)
@@ -104,3 +105,16 @@
#else
# define IDE_AVAILABLE_IN_43 _IDE_EXTERN
#endif
+
+#if IDE_VERSION_MIN_REQUIRED >= IDE_VERSION_44
+# define IDE_DEPRECATED_IN_44 IDE_DEPRECATED
+# define IDE_DEPRECATED_IN_44_FOR(f) IDE_DEPRECATED_FOR(f)
+#else
+# define IDE_DEPRECATED_IN_44 _IDE_EXTERN
+# define IDE_DEPRECATED_IN_44_FOR(f) _IDE_EXTERN
+#endif
+#if IDE_VERSION_MAX_ALLOWED < IDE_VERSION_44
+# define IDE_AVAILABLE_IN_44 IDE_UNAVAILABLE(44, 0)
+#else
+# define IDE_AVAILABLE_IN_44 _IDE_EXTERN
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]