about summary refs log tree commit diff stats
path: root/src/HTSaveToFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTSaveToFile.h')
-rw-r--r--src/HTSaveToFile.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/HTSaveToFile.h b/src/HTSaveToFile.h
index 8ede8d51..35ce3904 100644
--- a/src/HTSaveToFile.h
+++ b/src/HTSaveToFile.h
@@ -8,16 +8,22 @@
 #include <HTStream.h>
 #include <HTFormat.h>
 
-extern HTStream *HTSaveToFile(HTPresentation *pres,
-			      HTParentAnchor *anchor,
-			      HTStream *sink);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern HTStream *HTSaveToFile(HTPresentation *pres,
+				  HTParentAnchor *anchor,
+				  HTStream *sink);
 
-extern HTStream *HTDumpToStdout(HTPresentation *pres,
-				HTParentAnchor *anchor,
-				HTStream *sink);
+    extern HTStream *HTDumpToStdout(HTPresentation *pres,
+				    HTParentAnchor *anchor,
+				    HTStream *sink);
 
-extern HTStream *HTCompressed(HTPresentation *pres,
-			      HTParentAnchor *anchor,
-			      HTStream *sink);
+    extern HTStream *HTCompressed(HTPresentation *pres,
+				  HTParentAnchor *anchor,
+				  HTStream *sink);
 
-#endif /* HTSAVETOFILE_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* HTSAVETOFILE_H */