Start 3.17 development
Bump the version to 3.17.0 and add version macros.
This commit is contained in:
@ -142,6 +142,16 @@
|
||||
*/
|
||||
#define GDK_VERSION_3_16 (G_ENCODE_VERSION (3, 16))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_18:
|
||||
*
|
||||
* A macro that evaluates to the 3.18 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.18
|
||||
*/
|
||||
#define GDK_VERSION_3_18 (G_ENCODE_VERSION (3, 18))
|
||||
|
||||
/* evaluates to the current stable version; for development cycles,
|
||||
* this means the next stable target
|
||||
*/
|
||||
@ -340,5 +350,19 @@
|
||||
# define GDK_AVAILABLE_IN_3_16 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_18
|
||||
# define GDK_DEPRECATED_IN_3_18 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_18_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_18 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_18_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_18
|
||||
# define GDK_AVAILABLE_IN_3_18 GDK_UNAVAILABLE(3, 18)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_18 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#endif /* __GDK_VERSION_MACROS_H__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user