aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r--src/decoder_api.h8
1 files changed, 8 insertions, 0 deletions
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 <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