fix for compile-time problems
[swftools.git] / lib / devices / artsutils.h
index 0375b82..640527f 100644 (file)
@@ -4,6 +4,10 @@
 #include "../../config.h"
 #include "../art/libart.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 ArtVpath* gfxline_to_ArtVpath(gfxline_t*line);
 ArtSVP* gfxfillToSVP(gfxline_t*line, int perturb);
 void show_path(ArtSVP*path);
@@ -11,4 +15,8 @@ ArtSVP* boxToSVP(double x1, double y1,double x2, double y2);
 ArtSVP* gfxstrokeToSVP(gfxline_t*line, gfxcoord_t width, gfx_capType cap_style, gfx_joinType joint_style, double miterLimit);
 gfxline_t* SVPtogfxline(ArtSVP*svp);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif