aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/qr/bitmap.h')
-rw-r--r--lpg/libqr/qr/bitmap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lpg/libqr/qr/bitmap.h b/lpg/libqr/qr/bitmap.h
index d4af471..72da07f 100644
--- a/lpg/libqr/qr/bitmap.h
+++ b/lpg/libqr/qr/bitmap.h
@@ -1,6 +1,10 @@
#ifndef QR_BITMAP_H
#define QR_BITMAP_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct qr_bitmap {
unsigned char * bits;
unsigned char * mask;
@@ -25,5 +29,9 @@ void qr_bitmap_render(const struct qr_bitmap * bmp,
unsigned long mark,
unsigned long space);
+#ifdef __cplusplus
+}
+#endif
+
#endif