aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/qr/layout.h')
-rw-r--r--lpg/libqr/qr/layout.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lpg/libqr/qr/layout.h b/lpg/libqr/qr/layout.h
index 49bebf6..e691bdb 100644
--- a/lpg/libqr/qr/layout.h
+++ b/lpg/libqr/qr/layout.h
@@ -1,6 +1,10 @@
#ifndef QR_CODE_LAYOUT_H
#define QR_CODE_LAYOUT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct qr_iterator;
void qr_layout_init_mask(struct qr_code *);
@@ -10,5 +14,9 @@ unsigned int qr_layout_read(struct qr_iterator *);
void qr_layout_write(struct qr_iterator *, unsigned int);
void qr_layout_end(struct qr_iterator *);
+#ifdef __cplusplus
+}
+#endif
+
#endif