[template-glib] add version macros for 3.36 development



commit 3d4dd66221c15fa9c5c93297a3b4b7e0785ad8a3
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 3 15:52:32 2022 -0700

    add version macros for 3.36 development

 src/tmpl-version-macros.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/src/tmpl-version-macros.h b/src/tmpl-version-macros.h
index d424844..7be8224 100644
--- a/src/tmpl-version-macros.h
+++ b/src/tmpl-version-macros.h
@@ -42,6 +42,7 @@
 #endif
 
 #define TMPL_VERSION_3_28 (G_ENCODE_VERSION (3, 28))
+#define TMPL_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
 
 #if (TMPL_MINOR_VERSION == 99)
 # define TMPL_VERSION_CUR_STABLE (G_ENCODE_VERSION (TMPL_MAJOR_VERSION + 1, 0))
@@ -128,4 +129,18 @@
 # define TMPL_AVAILABLE_IN_3_28                 _TMPL_EXTERN
 #endif
 
+#if TMPL_VERSION_MIN_REQUIRED >= TMPL_VERSION_3_36
+# define TMPL_DEPRECATED_IN_3_36                TMPL_DEPRECATED
+# define TMPL_DEPRECATED_IN_3_36_FOR(f)         TMPL_DEPRECATED_FOR(f)
+#else
+# define TMPL_DEPRECATED_IN_3_36                _TMPL_EXTERN
+# define TMPL_DEPRECATED_IN_3_36_FOR(f)         _TMPL_EXTERN
+#endif
+
+#if TMPL_VERSION_MAX_ALLOWED < TMPL_VERSION_3_36
+# define TMPL_AVAILABLE_IN_3_36                 TMPL_UNAVAILABLE(3, 36)
+#else
+# define TMPL_AVAILABLE_IN_3_36                 _TMPL_EXTERN
+#endif
+
 #endif /* TMPL_VERSION_MACROS_H */


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