diff options
Diffstat (limited to 'common/lines.h')
-rw-r--r-- | common/lines.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/lines.h b/common/lines.h index 1d092f05..73eef9bc 100644 --- a/common/lines.h +++ b/common/lines.h @@ -54,6 +54,10 @@ SOFTWARE. #include <string.h> #include "draw.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct lineGC lineGC; typedef struct { @@ -127,4 +131,8 @@ extern int spice_canvas_clip_spans(pixman_region32_t *clip_region, int *new_widths, int sorted); +#ifdef __cplusplus +} +#endif + #endif /* LINES_H */ |