From 374e4a1e7765ec5b878ea88944049c04f59ebfe3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 19 Oct 2017 12:18:12 +0200 Subject: [PATCH] Add 3.94 version macros --- gdk/gdkversionmacros.h.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in index fad0d6b71f..46eed24d1e 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__ */