diff options
Diffstat (limited to 'girepository')
-rw-r--r-- | girepository/giversionmacros.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/girepository/giversionmacros.h b/girepository/giversionmacros.h index 67bb6c10..1a7e11dd 100644 --- a/girepository/giversionmacros.h +++ b/girepository/giversionmacros.h @@ -195,4 +195,18 @@ # define GI_AVAILABLE_IN_1_72 _GI_EXTERN #endif +#if defined(GLIB_VERSION_2_76) && GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_76 +# define GI_DEPRECATED_IN_1_76 GI_DEPRECATED +# define GI_DEPRECATED_IN_1_76_FOR(f) GI_DEPRECATED_FOR(f) +#else +# define GI_DEPRECATED_IN_1_76 _GI_EXTERN +# define GI_DEPRECATED_IN_1_76_FOR(f) _GI_EXTERN +#endif + +#if defined(GLIB_VERSION_2_76) && GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_76 +# define GI_AVAILABLE_IN_1_76 GI_UNAVAILABLE(2, 76) +#else +# define GI_AVAILABLE_IN_1_76 _GI_EXTERN +#endif + #endif /* __GIVERSIONMACROS_H__ */ |