aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/code.h
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/qr/code.h')
-rw-r--r--lpg/libqr/qr/code.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lpg/libqr/qr/code.h b/lpg/libqr/qr/code.h
index e6eb47c..0f5d49c 100644
--- a/lpg/libqr/qr/code.h
+++ b/lpg/libqr/qr/code.h
@@ -4,6 +4,10 @@
#include <stddef.h>
#include "types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct qr_code {
int version;
struct qr_bitmap * modules;
@@ -13,5 +17,9 @@ struct qr_code * qr_code_create(const struct qr_data * data);
void qr_code_destroy(struct qr_code *);
+#ifdef __cplusplus
+}
+#endif
+
#endif