[gnome-builder] core: add 3.38 version macros
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] core: add 3.38 version macros
- Date: Tue, 30 Jun 2020 06:24:04 +0000 (UTC)
commit 13b990c3cd052985d9fda742f8baf4cfe5690bdf
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 29 23:23:51 2020 -0700
core: add 3.38 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 59a480498..a407424ee 100644
--- a/src/libide/core/ide-version-macros.h
+++ b/src/libide/core/ide-version-macros.h
@@ -43,6 +43,7 @@
#define IDE_VERSION_3_32 (G_ENCODE_VERSION (3, 32))
#define IDE_VERSION_3_34 (G_ENCODE_VERSION (3, 34))
#define IDE_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
+#define IDE_VERSION_3_38 (G_ENCODE_VERSION (3, 38))
#if (IDE_MINOR_VERSION == 99)
# define IDE_VERSION_CUR_STABLE (G_ENCODE_VERSION (IDE_MAJOR_VERSION + 1, 0))
@@ -184,3 +185,17 @@
#else
# define IDE_AVAILABLE_IN_3_36 _IDE_EXTERN
#endif
+
+#if IDE_VERSION_MIN_REQUIRED >= IDE_VERSION_3_38
+# define IDE_DEPRECATED_IN_3_38 IDE_DEPRECATED
+# define IDE_DEPRECATED_IN_3_38_FOR(f) IDE_DEPRECATED_FOR(f)
+#else
+# define IDE_DEPRECATED_IN_3_38 _IDE_EXTERN
+# define IDE_DEPRECATED_IN_3_38_FOR(f) _IDE_EXTERN
+#endif
+
+#if IDE_VERSION_MAX_ALLOWED < IDE_VERSION_3_38
+# define IDE_AVAILABLE_IN_3_38 IDE_UNAVAILABLE(3, 38)
+#else
+# define IDE_AVAILABLE_IN_3_38 _IDE_EXTERN
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]