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