Commit 13b990c3 authored by Christian Hergert's avatar Christian Hergert

core: add 3.38 version macros

parent 92b66985
......@@ -43,6 +43,7 @@
#define IDE_VERSION_3_32 (G_ENCODE_VERSION (3, 32))
#define IDE_VERSION_3_34 (G_ENCODE_VERSION (3, 34))
#define IDE_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
#define IDE_VERSION_3_38 (G_ENCODE_VERSION (3, 38))
#if (IDE_MINOR_VERSION == 99)
# define IDE_VERSION_CUR_STABLE (G_ENCODE_VERSION (IDE_MAJOR_VERSION + 1, 0))
......@@ -184,3 +185,17 @@
#else
# define IDE_AVAILABLE_IN_3_36 _IDE_EXTERN
#endif
#if IDE_VERSION_MIN_REQUIRED >= IDE_VERSION_3_38
# define IDE_DEPRECATED_IN_3_38 IDE_DEPRECATED
# define IDE_DEPRECATED_IN_3_38_FOR(f) IDE_DEPRECATED_FOR(f)
#else
# define IDE_DEPRECATED_IN_3_38 _IDE_EXTERN
# define IDE_DEPRECATED_IN_3_38_FOR(f) _IDE_EXTERN
#endif
#if IDE_VERSION_MAX_ALLOWED < IDE_VERSION_3_38
# define IDE_AVAILABLE_IN_3_38 IDE_UNAVAILABLE(3, 38)
#else
# define IDE_AVAILABLE_IN_3_38 _IDE_EXTERN
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment