summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-03-01 13:43:29 -0800
committerRobin Watts <robin.watts@artifex.com>2013-05-16 19:25:22 +0100
commitf922e4799b1ead5f764a0d8b4336880960a11353 (patch)
tree7f642d703f029b0cd28e8b50a3832a2243013b2d /fitz
parentd7a79bb7a88abfca9b1e0bc79703951f5a1e4bc5 (diff)
downloadmupdf-f922e4799b1ead5f764a0d8b4336880960a11353.tar.xz
Initial commit of windowsRT viewer code.
Lots of issues to resolve still and plenty of requirements to do but it is a start.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/fitz-internal.h8
-rw-r--r--fitz/fitz.h8
2 files changed, 16 insertions, 0 deletions
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 <inttypes.h>
#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