From ca2c2fd23adb5aadc0a40c2469f7855fbf1dd440 Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 21 Oct 2004 17:46:11 +0000 Subject: [PATCH] added __cplusplus extern "C" stuff. --- pdf2swf/SWFOutputDev.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pdf2swf/SWFOutputDev.h b/pdf2swf/SWFOutputDev.h index 23b5da2..5cae832 100644 --- a/pdf2swf/SWFOutputDev.h +++ b/pdf2swf/SWFOutputDev.h @@ -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__ -- 1.7.10.4