dbgutil.h: extern "C" for C++
This commit is contained in:
parent
058d7ab1da
commit
633ed29ad9
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue