summaryrefslogtreecommitdiffstats
path: root/common/rop3.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rop3.h')
-rw-r--r--common/rop3.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/rop3.h b/common/rop3.h
index 02111308..549b02cd 100644
--- a/common/rop3.h
+++ b/common/rop3.h
@@ -24,11 +24,20 @@
#include "draw.h"
#include "pixman_utils.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void do_rop3_with_pattern(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos,
pixman_image_t *p, SpicePoint *pat_pos);
void do_rop3_with_color(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos,
uint32_t rgb);
void rop3_init();
+
+#ifdef __cplusplus
+}
+#endif
+
#endif