From f922e4799b1ead5f764a0d8b4336880960a11353 Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Fri, 1 Mar 2013 13:43:29 -0800 Subject: Initial commit of windowsRT viewer code. Lots of issues to resolve still and plenty of requirements to do but it is a start. --- fitz/fitz-internal.h | 8 ++++++++ fitz/fitz.h | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'fitz') diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index 22947cf4..04ff5fd6 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -19,6 +19,10 @@ typedef unsigned __int64 uint64_t; #include #endif +#ifdef __cplusplus +extern "C" { +#endif + struct fz_warn_context_s { char message[256]; @@ -1625,4 +1629,8 @@ struct fz_document_s fz_rect *(*bound_annot)(fz_document *doc, fz_annot *annot, fz_rect *rect); }; +#ifdef __cplusplus +} +#endif + #endif diff --git a/fitz/fitz.h b/fitz/fitz.h index 5eb570d0..c6e8fa04 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -133,6 +133,10 @@ FILE *fopen_utf8(const char *name, const char *mode); #endif #endif +#ifdef __cplusplus +extern "C" { +#endif + /* Shut the compiler up about unused variables */ @@ -3341,4 +3345,8 @@ enum */ void fz_write_document(fz_document *doc, char *filename, fz_write_options *opts); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3