[libdazzle] build: add 3.30 version macros



commit fe4150c256500ef14ac5273dc144b81bccf0eb18
Author: Christian Hergert <chergert redhat com>
Date:   Sun May 6 16:08:10 2018 -0700

    build: add 3.30 version macros

 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 1ffee7b..02ecd42 100644
--- a/src/dzl-version-macros.h
+++ b/src/dzl-version-macros.h
@@ -42,6 +42,7 @@
 #endif
 
 #define DZL_VERSION_3_28 (G_ENCODE_VERSION (3, 28))
+#define DZL_VERSION_3_30 (G_ENCODE_VERSION (3, 30))
 
 #if (DZL_MINOR_VERSION == 99)
 # define DZL_VERSION_CUR_STABLE (G_ENCODE_VERSION (DZL_MAJOR_VERSION + 1, 0))
@@ -128,4 +129,18 @@
 # define DZL_AVAILABLE_IN_3_28                 _DZL_EXTERN
 #endif
 
+#if DZL_VERSION_MIN_REQUIRED >= DZL_VERSION_3_30
+# define DZL_DEPRECATED_IN_3_30                DZL_DEPRECATED
+# define DZL_DEPRECATED_IN_3_30_FOR(f)         DZL_DEPRECATED_FOR(f)
+#else
+# define DZL_DEPRECATED_IN_3_30                _DZL_EXTERN
+# define DZL_DEPRECATED_IN_3_30_FOR(f)         _DZL_EXTERN
+#endif
+
+#if DZL_VERSION_MAX_ALLOWED < DZL_VERSION_3_30
+# define DZL_AVAILABLE_IN_3_30                 DZL_UNAVAILABLE(3, 30)
+#else
+# define DZL_AVAILABLE_IN_3_30                 _DZL_EXTERN
+#endif
+
 #endif /* DZL_VERSION_MACROS_H */


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