summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-08 15:30:27 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-03-14 17:08:28 +0100
commitb0280abd7fe895b461e807cfb2829c19fccaf583 (patch)
treee5365373dd907eb25827cf70251077a1d7fc7093 /include/mupdf/fitz.h
parent9dd2b313393596fd2ac5e87603f60f27c70064d5 (diff)
downloadmupdf-b0280abd7fe895b461e807cfb2829c19fccaf583.tar.xz
Add C++ extern "C" guards in public header files.
Diffstat (limited to 'include/mupdf/fitz.h')
-rw-r--r--include/mupdf/fitz.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mupdf/fitz.h b/include/mupdf/fitz.h
index ca075ebc..60102b67 100644
--- a/include/mupdf/fitz.h
+++ b/include/mupdf/fitz.h
@@ -1,6 +1,10 @@
#ifndef MUDPF_FITZ_H
#define MUDPF_FITZ_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "mupdf/fitz/version.h"
#include "mupdf/fitz/system.h"
#include "mupdf/fitz/context.h"
@@ -62,4 +66,8 @@
#include "mupdf/fitz/bidi.h"
+#ifdef __cplusplus
+}
+#endif
+
#endif