output_internal, ...: add extern "C"

This commit is contained in:
Max Kellermann
2013-01-15 18:58:02 +01:00
parent 4808c7ef39
commit 5822daa63d
7 changed files with 56 additions and 0 deletions
+8
View File
@@ -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