[libdazzle] build: add version macros for 3.34



commit 1ea4e0f23a33c3ecf38e3531b07068aae228ba72
Author: Christian Hergert <chergert redhat com>
Date:   Mon Apr 22 12:33:07 2019 -0700

    build: add version macros for 3.34

 src/dzl-version-macros.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/src/dzl-version-macros.h b/src/dzl-version-macros.h
index 81127ba..2eea9a8 100644
--- a/src/dzl-version-macros.h
+++ b/src/dzl-version-macros.h
@@ -44,6 +44,7 @@
 #define DZL_VERSION_3_28 (G_ENCODE_VERSION (3, 28))
 #define DZL_VERSION_3_30 (G_ENCODE_VERSION (3, 30))
 #define DZL_VERSION_3_32 (G_ENCODE_VERSION (3, 32))
+#define DZL_VERSION_3_34 (G_ENCODE_VERSION (3, 34))
 
 #if (DZL_MINOR_VERSION == 99)
 # define DZL_VERSION_CUR_STABLE (G_ENCODE_VERSION (DZL_MAJOR_VERSION + 1, 0))
@@ -158,4 +159,18 @@
 # define DZL_AVAILABLE_IN_3_32                 _DZL_EXTERN
 #endif
 
+#if DZL_VERSION_MIN_REQUIRED >= DZL_VERSION_3_34
+# define DZL_DEPRECATED_IN_3_34                DZL_DEPRECATED
+# define DZL_DEPRECATED_IN_3_34_FOR(f)         DZL_DEPRECATED_FOR(f)
+#else
+# define DZL_DEPRECATED_IN_3_34                _DZL_EXTERN
+# define DZL_DEPRECATED_IN_3_34_FOR(f)         _DZL_EXTERN
+#endif
+
+#if DZL_VERSION_MAX_ALLOWED < DZL_VERSION_3_34
+# define DZL_AVAILABLE_IN_3_34                 DZL_UNAVAILABLE(3, 34)
+#else
+# define DZL_AVAILABLE_IN_3_34                 _DZL_EXTERN
+#endif
+
 #endif /* DZL_VERSION_MACROS_H */


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