aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/common.h
diff options
context:
space:
mode:
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