quirc.h : Fix C++ function name mangling with extern C.

This commit is contained in:
Philippe Groarke 2017-02-16 14:24:35 -05:00
parent 59182ef1cd
commit 64a4e58543

View file

@ -19,6 +19,10 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct quirc;
/* Obtain the library version string. */
@ -162,4 +166,8 @@ void quirc_extract(const struct quirc *q, int index,
quirc_decode_error_t quirc_decode(const struct quirc_code *code,
struct quirc_data *data);
#ifdef __cplusplus
}
#endif
#endif