dbgutil.h: extern "C" for C++

This commit is contained in:
YAMAMOTO Takashi 2021-04-08 11:10:49 +09:00
parent 058d7ab1da
commit 633ed29ad9

View file

@ -19,6 +19,10 @@
#include "quirc.h" #include "quirc.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Dump decoded information on stdout. */ /* Dump decoded information on stdout. */
void dump_data(const struct quirc_data *data); void dump_data(const struct quirc_data *data);
@ -45,4 +49,8 @@ int check_if_png(const char *filename);
*/ */
int load_png(struct quirc *q, const char *filename); int load_png(struct quirc *q, const char *filename);
#ifdef __cplusplus
}
#endif
#endif #endif