summaryrefslogtreecommitdiffstats
path: root/common/region.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/region.h')
-rw-r--r--common/region.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/region.h b/common/region.h
index bad7494f..16ec6eb7 100644
--- a/common/region.h
+++ b/common/region.h
@@ -23,6 +23,10 @@
#include "draw.h"
#include <pixman_utils.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef pixman_region32_t QRegion;
#define REGION_TEST_LEFT_EXCLUSIVE (1 << 0)
@@ -59,5 +63,9 @@ void region_offset(QRegion *rgn, int32_t dx, int32_t dy);
void region_dump(const QRegion *rgn, const char *prefix);
+#ifdef __cplusplus
+}
+#endif
+
#endif