From 5822daa63de641419dcecd19e81f1c4190bd1cce Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Jan 2013 18:58:02 +0100 Subject: output_internal, ...: add extern "C" --- src/encoder_list.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/encoder_list.h') 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 -- cgit v1.2.3