diff options
author | Max Kellermann <max@duempel.org> | 2013-01-07 09:38:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-07 10:07:40 +0100 |
commit | 975370c084c8d679ff2cc2fcee48326b1dbcbf2e (patch) | |
tree | a7df707eb1712c1921367862b35c6265c80bd5a5 /src/input_stream.h | |
parent | c3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff) | |
download | mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.gz mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.xz mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.zip |
decoder_api.h, ...: add "extern C"
Diffstat (limited to '')
-rw-r--r-- | src/input_stream.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/input_stream.h b/src/input_stream.h index 10ad97161..3a29625af 100644 --- a/src/input_stream.h +++ b/src/input_stream.h @@ -88,6 +88,10 @@ struct input_stream { char *mime; }; +#ifdef __cplusplus +extern "C" { +#endif + /** * Opens a new input stream. You may not access it until the "ready" * flag is set. @@ -264,4 +268,8 @@ size_t input_stream_lock_read(struct input_stream *is, void *ptr, size_t size, GError **error_r); +#ifdef __cplusplus +} +#endif + #endif |