gdk: Add 3.92 version macros

This commit is contained in:
Timm Bäder 2017-04-09 11:54:02 +02:00
parent 2ab3da6741
commit 5852da22bf

View File

@ -182,6 +182,17 @@
*/
#define GDK_VERSION_3_90 (G_ENCODE_VERSION (3, 90))
/**
* GDK_VERSION_3_92:
*
* A macro that evaluates to the 3.92 version of GDK, in a format
* that can be used by the C pre-processor.
*
* Since: 3.92
*/
#define GDK_VERSION_3_92 (G_ENCODE_VERSION (3, 92))
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
@ -428,5 +439,12 @@
# define GDK_AVAILABLE_IN_3_90 _GDK_EXTERN
#endif
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_92
# define GDK_AVAILABLE_IN_3_92 GDK_UNAVAILABLE(3, 92)
#else
# define GDK_AVAILABLE_IN_3_92 _GDK_EXTERN
#endif
#endif /* __GDK_VERSION_MACROS_H__ */