summaryrefslogtreecommitdiff
path: root/src/cairo-features.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-features.h.in')
-rw-r--r--src/cairo-features.h.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cairo-features.h.in b/src/cairo-features.h.in
index 8065be3..d4c6fa7 100644
--- a/src/cairo-features.h.in
+++ b/src/cairo-features.h.in
@@ -37,6 +37,20 @@
#ifndef CAIRO_FEATURES_H
#define CAIRO_FEATURES_H
+#ifdef __cplusplus
+# define CAIRO_BEGIN_DECLS extern "C" {
+# define CAIRO_END_DECLS }
+#else
+# define CAIRO_BEGIN_DECLS
+# define CAIRO_END_DECLS
+#endif
+
+#define CAIRO_VERSION_MAJOR @CAIRO_VERSION_MAJOR@
+#define CAIRO_VERSION_MINOR @CAIRO_VERSION_MINOR@
+#define CAIRO_VERSION_MICRO @CAIRO_VERSION_MICRO@
+
+#define CAIRO_VERSION_STRING "@CAIRO_VERSION_MAJOR@.@CAIRO_VERSION_MINOR@.@CAIRO_VERSION_MICRO@"
+
@PS_SURFACE_FEATURE@
@PDF_SURFACE_FEATURE@