aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 09:38:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:07:40 +0100
commit975370c084c8d679ff2cc2fcee48326b1dbcbf2e (patch)
treea7df707eb1712c1921367862b35c6265c80bd5a5 /src/decoder_api.h
parentc3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff)
downloadmpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.gz
mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.xz
mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.zip
decoder_api.h, ...: add "extern C"
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 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