From 975370c084c8d679ff2cc2fcee48326b1dbcbf2e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 09:38:02 +0100 Subject: decoder_api.h, ...: add "extern C" --- src/decoder_api.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index 76cf0392..3f84ca8b 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -38,6 +38,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /** * Notify the player thread that it has finished initialization and * that it has read the song's meta data. @@ -168,4 +172,8 @@ void decoder_mixramp(struct decoder *decoder, char *mixramp_start, char *mixramp_end); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3