added __cplusplus extern "C" stuff.
authorkramm <kramm>
Thu, 21 Oct 2004 17:46:11 +0000 (17:46 +0000)
committerkramm <kramm>
Thu, 21 Oct 2004 17:46:11 +0000 (17:46 +0000)
pdf2swf/SWFOutputDev.h

index 23b5da2..5cae832 100644 (file)
@@ -21,6 +21,9 @@
 
 #ifndef __pdf_h__
 #define __pdf_h__
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 void pdfswf_setparameter(char*name, char*value);
 void pdfswf_addfont(char*filename);
@@ -69,4 +72,8 @@ typedef struct _pdf_page_info
 
 pdf_page_info_t* pdf_getpageinfo(pdf_page_info_t*info);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif //__pdf_h__