[gnome-builder] core: add macros for 3.42
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] core: add macros for 3.42
- Date: Wed, 5 May 2021 04:10:29 +0000 (UTC)
commit f25f5941fe10f13ef6574d54ba20c207c1b6d579
Author: Christian Hergert <chergert redhat com>
Date: Tue May 4 16:38:10 2021 -0700
core: add macros for 3.42
We also might drop all of these soon and go to a single "41".
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 bae2df033..a28b3c2d4 100644
--- a/src/libide/core/ide-version-macros.h
+++ b/src/libide/core/ide-version-macros.h
@@ -45,6 +45,7 @@
#define IDE_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
#define IDE_VERSION_3_38 (G_ENCODE_VERSION (3, 38))
#define IDE_VERSION_3_40 (G_ENCODE_VERSION (3, 40))
+#define IDE_VERSION_3_42 (G_ENCODE_VERSION (3, 42))
#if (IDE_MINOR_VERSION == 99)
# define IDE_VERSION_CUR_STABLE (G_ENCODE_VERSION (IDE_MAJOR_VERSION + 1, 0))
@@ -214,3 +215,17 @@
#else
# define IDE_AVAILABLE_IN_3_40 _IDE_EXTERN
#endif
+
+#if IDE_VERSION_MIN_REQUIRED >= IDE_VERSION_3_42
+# define IDE_DEPRECATED_IN_3_42 IDE_DEPRECATED
+# define IDE_DEPRECATED_IN_3_42_FOR(f) IDE_DEPRECATED_FOR(f)
+#else
+# define IDE_DEPRECATED_IN_3_42 _IDE_EXTERN
+# define IDE_DEPRECATED_IN_3_42_FOR(f) _IDE_EXTERN
+#endif
+
+#if IDE_VERSION_MAX_ALLOWED < IDE_VERSION_3_42
+# define IDE_AVAILABLE_IN_3_42 IDE_UNAVAILABLE(3, 42)
+#else
+# define IDE_AVAILABLE_IN_3_42 _IDE_EXTERN
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]