aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/common.h
diff options
context:
space:
mode:
authorLeo Uino <leo@norisys.jp>2011-07-19 12:08:33 +0900
committerLeo Uino <leo@norisys.jp>2011-07-19 12:08:33 +0900
commit779e729ad887c1cc967731a9634a11438d56b017 (patch)
tree51b22a15e7b182ba53fd4bccd52435102968886c /lpg/libqr/qr/common.h
parent1ea62d837531c4d5795381da5a2566606e03ac4b (diff)
downloadpdf-simple-sign-779e729ad887c1cc967731a9634a11438d56b017.tar.gz
pdf-simple-sign-779e729ad887c1cc967731a9634a11438d56b017.tar.xz
pdf-simple-sign-779e729ad887c1cc967731a9634a11438d56b017.zip
Add C++ header protectors
Diffstat (limited to 'lpg/libqr/qr/common.h')
-rw-r--r--lpg/libqr/qr/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lpg/libqr/qr/common.h b/lpg/libqr/qr/common.h
index 640696a..b7052ad 100644
--- a/lpg/libqr/qr/common.h
+++ b/lpg/libqr/qr/common.h
@@ -3,6 +3,10 @@
#include <qr/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void qr_mask_apply(struct qr_bitmap * bmp, int mask);
size_t qr_code_total_capacity(int version);
@@ -20,5 +24,9 @@ void qr_get_rs_block_sizes(int version,
int data_length[2],
int ec_length[2]);
+#ifdef __cplusplus
+}
+#endif
+
#endif