Add version macros for 1.12
#define GRAPHENE_VERSION_1_6 (_GRAPHENE_ENCODE_VERSION (1, 6))
#define GRAPHENE_VERSION_1_8 (_GRAPHENE_ENCODE_VERSION (1, 8))
#define GRAPHENE_VERSION_1_10 (_GRAPHENE_ENCODE_VERSION (1, 10))
+#define GRAPHENE_VERSION_1_12 (_GRAPHENE_ENCODE_VERSION (1, 12))
#ifndef GRAPHENE_VERSION_MIN_REQUIRED
# define GRAPHENE_VERSION_MIN_REQUIRED (GRAPHENE_VERSION_1_0)
#else
# define GRAPHENE_AVAILABLE_IN_1_10 _GRAPHENE_PUBLIC
#endif
+
+/* Graphene 1.12 */
+#if GRAPHENE_VERSION_MIN_REQUIRED >= GRAPHENE_VERSION_1_12
+# define GRAPHENE_DEPRECATED_IN_1_12 GRAPHENE_DEPRECATED
+# define GRAPHENE_DEPRECATED_IN_1_12_FOR(f) GRAPHENE_DEPRECATED_FOR(f)
+#else
+# define GRAPHENE_DEPRECATED_IN_1_12 _GRAPHENE_PUBLIC
+# define GRAPHENE_DEPRECATED_IN_1_12_FOR(f) _GRAPHENE_PUBLIC
+#endif
+
+#if GRAPHENE_VERSION_MAX_ALLOWED < GRAPHENE_VERSION_1_12
+# define GRAPHENE_AVAILABLE_IN_1_12 GRAPHENE_UNAVAILABLE(1,12)
+#else
+# define GRAPHENE_AVAILABLE_IN_1_12 _GRAPHENE_PUBLIC
+#endif
