[gnome-builder] libide: add verion macros for 3.30
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: add verion macros for 3.30
- Date: Thu, 22 Mar 2018 02:22:32 +0000 (UTC)
commit ce31178502d8c4e0e786b42b67223d72a50815cd
Author: Christian Hergert <chergert redhat com>
Date: Wed Mar 21 19:13:25 2018 -0700
libide: add verion macros for 3.30
src/libide/ide-version-macros.h | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/src/libide/ide-version-macros.h b/src/libide/ide-version-macros.h
index b510ace6f..06a991319 100644
--- a/src/libide/ide-version-macros.h
+++ b/src/libide/ide-version-macros.h
@@ -42,6 +42,7 @@
#endif
#define IDE_VERSION_3_28 (G_ENCODE_VERSION (3, 28))
+#define IDE_VERSION_3_30 (G_ENCODE_VERSION (3, 30))
#if (IDE_MINOR_VERSION == 99)
# define IDE_VERSION_CUR_STABLE (G_ENCODE_VERSION (IDE_MAJOR_VERSION + 1, 0))
@@ -128,4 +129,18 @@
# define IDE_AVAILABLE_IN_3_28 _IDE_EXTERN
#endif
+#if IDE_VERSION_MIN_REQUIRED >= IDE_VERSION_3_30
+# define IDE_DEPRECATED_IN_3_30 IDE_DEPRECATED
+# define IDE_DEPRECATED_IN_3_30_FOR(f) IDE_DEPRECATED_FOR(f)
+#else
+# define IDE_DEPRECATED_IN_3_30 _IDE_EXTERN
+# define IDE_DEPRECATED_IN_3_30_FOR(f) _IDE_EXTERN
+#endif
+
+#if IDE_VERSION_MAX_ALLOWED < IDE_VERSION_3_30
+# define IDE_AVAILABLE_IN_3_30 IDE_UNAVAILABLE(3, 30)
+#else
+# define IDE_AVAILABLE_IN_3_30 _IDE_EXTERN
+#endif
+
#endif /* IDE_VERSION_MACROS_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]