diff options
author | Leo Uino <leo@norisys.jp> | 2011-07-19 12:08:33 +0900 |
---|---|---|
committer | Leo Uino <leo@norisys.jp> | 2011-07-19 12:08:33 +0900 |
commit | 779e729ad887c1cc967731a9634a11438d56b017 (patch) | |
tree | 51b22a15e7b182ba53fd4bccd52435102968886c /lpg/libqr/qr/data.h | |
parent | 1ea62d837531c4d5795381da5a2566606e03ac4b (diff) | |
download | pdf-simple-sign-779e729ad887c1cc967731a9634a11438d56b017.tar.gz pdf-simple-sign-779e729ad887c1cc967731a9634a11438d56b017.tar.xz pdf-simple-sign-779e729ad887c1cc967731a9634a11438d56b017.zip |
Add C++ header protectors
Diffstat (limited to 'lpg/libqr/qr/data.h')
-rw-r--r-- | lpg/libqr/qr/data.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lpg/libqr/qr/data.h b/lpg/libqr/qr/data.h index f2b4b45..06600ab 100644 --- a/lpg/libqr/qr/data.h +++ b/lpg/libqr/qr/data.h @@ -4,6 +4,10 @@ #include <stddef.h> #include "types.h" +#ifdef __cplusplus +extern "C" { +#endif + struct qr_data { int version; /* 1 ~ 40 */ enum qr_ec_level ec; @@ -29,5 +33,9 @@ enum qr_data_type qr_parse_data(const struct qr_data * input, char ** output, size_t * length); +#ifdef __cplusplus +} +#endif + #endif |