diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 17:18:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 17:18:48 +0100 |
commit | 01dd540d7ea062d08c5c6000422dbba197511efc (patch) | |
tree | 17f30dd6a3de1cbde161b50a5a7da54fd3a6ace2 /src/decoder_plugin.h | |
parent | 814208063300d9791d1695e1dbbd784ec5818280 (diff) | |
download | mpd-01dd540d7ea062d08c5c6000422dbba197511efc.tar.gz mpd-01dd540d7ea062d08c5c6000422dbba197511efc.tar.xz mpd-01dd540d7ea062d08c5c6000422dbba197511efc.zip |
decoder_list: convert to C++
Diffstat (limited to 'src/decoder_plugin.h')
-rw-r--r-- | src/decoder_plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/decoder_plugin.h b/src/decoder_plugin.h index 933ba6751..b7ab738b5 100644 --- a/src/decoder_plugin.h +++ b/src/decoder_plugin.h @@ -190,6 +190,10 @@ decoder_plugin_container_scan( const struct decoder_plugin *plugin, return plugin->container_scan(pathname, tnum); } +#ifdef __cplusplus +extern "C" { +#endif + /** * Does the plugin announce the specified file name suffix? */ @@ -204,4 +208,8 @@ bool decoder_plugin_supports_mime_type(const struct decoder_plugin *plugin, const char *mime_type); +#ifdef __cplusplus +} +#endif + #endif |