diff options
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r-- | src/decoder_api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h index 76cf03920..3f84ca8bc 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -38,6 +38,10 @@ #include <stdbool.h> +#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 |