[gtk+] Add 3.94 version macros



commit 374e4a1e7765ec5b878ea88944049c04f59ebfe3
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Oct 19 12:18:12 2017 +0200

    Add 3.94 version macros

 gdk/gdkversionmacros.h.in |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in
index fad0d6b..46eed24 100644
--- a/gdk/gdkversionmacros.h.in
+++ b/gdk/gdkversionmacros.h.in
@@ -192,6 +192,16 @@
  */
 #define GDK_VERSION_3_92        (G_ENCODE_VERSION (3, 92))
 
+/**
+ * GDK_VERSION_3_94:
+ *
+ * A macro that evaluates to the 3.94 version of GDK, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 3.94
+ */
+#define GDK_VERSION_3_94        (G_ENCODE_VERSION (3, 94))
+
 
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
@@ -445,6 +455,12 @@
 # define GDK_AVAILABLE_IN_3_92                _GDK_EXTERN
 #endif
 
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_94
+# define GDK_AVAILABLE_IN_3_94                GDK_UNAVAILABLE(3, 94)
+#else
+# define GDK_AVAILABLE_IN_3_94                _GDK_EXTERN
+#endif
+
 
 #endif  /* __GDK_VERSION_MACROS_H__ */
 


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