aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/qr/types.h')
-rw-r--r--lpg/libqr/qr/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lpg/libqr/qr/types.h b/lpg/libqr/qr/types.h
index 3615e3e..ae760ab 100644
--- a/lpg/libqr/qr/types.h
+++ b/lpg/libqr/qr/types.h
@@ -1,6 +1,10 @@
#ifndef QR_TYPES_H
#define QR_TYPES_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct qr_data;
struct qr_code;
@@ -22,5 +26,9 @@ enum qr_ec_level {
QR_EC_LEVEL_H = 0x2
};
+#ifdef __cplusplus
+}
+#endif
+
#endif