aboutsummaryrefslogtreecommitdiff
path: root/src/encoder_list.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-15 18:58:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-15 20:20:51 +0100
commit5822daa63de641419dcecd19e81f1c4190bd1cce (patch)
tree3ffff03daf39eba93262d20a9c29696167c93a3b /src/encoder_list.h
parent4808c7ef394ff130400a1a0be42f26efa8e953eb (diff)
output_internal, ...: add extern "C"
Diffstat (limited to 'src/encoder_list.h')
-rw-r--r--src/encoder_list.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/encoder_list.h b/src/encoder_list.h
index fb1c9bf9..31663c75 100644
--- a/src/encoder_list.h
+++ b/src/encoder_list.h
@@ -30,6 +30,10 @@ extern const struct encoder_plugin *const encoder_plugins[];
(plugin = *encoder_plugin_iterator) != NULL; \
++encoder_plugin_iterator)
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Looks up an encoder plugin by its name.
*
@@ -40,4 +44,8 @@ extern const struct encoder_plugin *const encoder_plugins[];
const struct encoder_plugin *
encoder_plugin_get(const char *name);
+#ifdef __cplusplus
+}
+#endif
+
#endif